4sysops - The online community for SysAdmins and DevOps
Sign in to post a link or comment!
Jernej Svete commented on User Profile Disks on Windows 10 1 year, 10 months ago
Greetings, when running the command I get the error:
(gwmi -ns rootcimv2terminalservices -class win32_tssessiondirectory).enableuservhd("SERVERSHAREProfilesWin10-1607","<UvhdRoamingPolicy><RoamingMode>0</RoamingMode></UvhdRoamingPolicy>")
gwmi : At line:1 char:2 + (gwmi -ns rootcimv2terminalservices -class win32_tssessiondirectory ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-WmiObject], FileNotFoundException + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
(share name is substituted with share I am using in my environment, NTFS and share rights are defined as requestet in article earlier, powershell is ran with administrator privileges)
Thank you and best regards
Jernej Svete became a registered member 4 years ago
Please ask IT administration questions in the forums. Any other messages are welcome.
or Create an account
Receive news updates via email from this site