![]() |
move multiple profiles |
Post Reply
|
| Author | |
Arthurpowis
Newbie
Joined: 28 Aug 2019 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: move multiple profilesPosted: 28 Aug 2019 at 12:54pm |
|
I am trying to move multiple profiles on an RDS server using the script from the profesional version it is only transfering 3 accounts is there something I am missing
|
|
![]() |
|
Support
Moderator Group
Joined: 09 Nov 2006 Location: United Kingdom Status: Offline Points: 1941 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 Aug 2019 at 7:54am |
|
The sample Transfer_All script works by enumerating the ProfileList keys in the registry. If one of the registry keys is not for a user SID, the script will fail.
To fix this, just add the line “On Error Resume Next” in the script here: For each strSubkey In arrSubKeys On Error Resume Next Set objWmiSID = objWmiService.Get("Win32_SID.SID='" & strSubkey & "'") |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |