Remote Desktop Service (RDS): Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „== Rename User Profile Disk (VHDX) == === Logoff User from server === logoff <username/id> === Close SMB-Sessions === '''With GUI''' Datei:01-smb-sessions…“)
 
K
 
(Eine dazwischenliegende Version des gleichen Benutzers werden nicht angezeigt)
Zeile 4: Zeile 4:
  
 
=== Close SMB-Sessions ===
 
=== Close SMB-Sessions ===
'''With GUI'''
+
'''With GUI'''<br>
 
[[Datei:01-smb-sessions.png]]<br>
 
[[Datei:01-smb-sessions.png]]<br>
  
'''With PowerShell'''
 
Get-SmbOpenFile | ? {$_.Path -match "<SID>"} | Close-SmbOpenFile
 
  
'''After the above steps you are able to rename the User Profile Disk (VHDX)'''
+
'''With PowerShell'''<br>
 +
<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)'''
  
  

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)