Remote Desktop Service (RDS): Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
K
 
Zeile 6: Zeile 6:
 
'''With GUI'''<br>
 
'''With GUI'''<br>
 
[[Datei:01-smb-sessions.png]]<br>
 
[[Datei:01-smb-sessions.png]]<br>
 +
  
 
'''With PowerShell'''<br>
 
'''With PowerShell'''<br>
 
<source lang="PowerShell">Get-SmbOpenFile | ? {$_.Path -match "<SID>"} | Close-SmbOpenFile </source>
 
<source lang="PowerShell">Get-SmbOpenFile | ? {$_.Path -match "<SID>"} | Close-SmbOpenFile </source>
  
'''After the above steps you are able to rename the User Profile Disk (VHDX)'''
+
 
 +
'''-> After the above steps you are able to rename the User Profile Disk (VHDX)'''
  
  

Aktuelle Version vom 28. November 2018, 09:25 Uhr

Rename User Profile Disk (VHDX)

Logoff User from server

logoff <username/id> 

Close SMB-Sessions

With GUI
01-smb-sessions.png


With PowerShell

Get-SmbOpenFile | ? {$_.Path -match "<SID>"} | Close-SmbOpenFile


-> After the above steps you are able to rename the User Profile Disk (VHDX)