Transwiz Transfer_All script stops at 25 |
Post Reply |
Author | |
cio-john
Newbie Joined: 18 May 2019 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 18 May 2019 at 10:19pm |
I have about 100 users I am trying to transfer and I get a few strange things happening.
They are part of a domain. I tried removing the domain name and leaving strDomain="" but it just error-ed. Any advice would be appreciated. Thank you. |
|
cio-john
Newbie Joined: 18 May 2019 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
By the way my migration is tonight/tomorrow morning.
|
|
cio-john
Newbie Joined: 18 May 2019 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
I ran the script in debug mode which was kinda helpful.
25 isn't a machine number, the script crashes. Error is listed. Also included is a screenshot of the random order. If I know what profile was next what it was about to try to copy I could exclude that profile but it isn't going in alpha order. See Screenshots here: https://imgur.com/a/mf5v6Be |
|
Support
Moderator Group Joined: 09 Nov 2006 Location: United Kingdom Status: Offline Points: 1860 |
Post Options
Thanks(0)
|
There is nothing random here. The script is enumerating the profiles as they are listed in the registry.
The profiles are listed by SID. The script is stopping because one of the SID subkeys does not resolve to a valid SID. To fix it, you just have to add the line "On Error Resume Next" to the script: 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 |