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…“)
 
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'''
+
'''With PowerShell'''<br>
Get-SmbOpenFile | ? {$_.Path -match "<SID>"} | Close-SmbOpenFile
+
<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)'''

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)