[User Profile; RDS; 2012] Mount; put 1 file; Umount;


hello @all

working client , bit limited on action (no access gpo/active directory etc).
admin of rds 2012r2 system server can find server folder on d:\users_profiles\*.vhdx

have put 1 file (or more later) in each vhdx/user profile each users.
manually it's easy. double click on vhdx it's open me tree folder have copy/paste.

but have 300 vhdx...
idea make powershell script. 
get-childitem  *.vhdx -recurse | % {mount-vhd $ copy-item ...txt -destination ....)

something that

try find solution on web , try command mount-vhd it's seems link hyper service not available on server because virtual machin.

have tools or idea me ?
lot 
regards  

friday, november 06, 2015 12:56 pm

hi,

you may move upd location hosted on physical server able to use mount-vhd.

if that’s not possible, may use diskpart attach vdisk command mount each .vhdx file, copy file .vhdx file.

you need export .vhdx files excel able choose each 1 of them in .bat file/script.

diskpart commands

https://technet.microsoft.com/en-us/library/cc770877.aspx

if further assistance required regarding scripting, please refer forum below:

the official scripting guys forum

https://social.technet.microsoft.com/forums/scriptcenter/en-us/home?forum=itcg

best regards,

amy


please remember mark replies answers if , un-mark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.



Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group