ForensiT Homepage
Forum Home Forum Home > ForensiT Support > Move Computer
  New Posts New Posts RSS Feed - move multiple profiles
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

move multiple profiles

 Post Reply Post Reply
Author
Message
Arthurpowis View Drop Down
Newbie
Newbie


Joined: 28 Aug 2019
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arthurpowis Quote  Post ReplyReply Direct Link To This Post Topic: move multiple profiles
    Posted: 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
Back to Top
Support View Drop Down
Moderator Group
Moderator Group


Joined: 09 Nov 2006
Location: United Kingdom
Status: Offline
Points: 1844
Post Options Post Options   Thanks (0) Thanks(0)   Quote Support Quote  Post ReplyReply Direct Link To This Post 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 & "'")
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.078 seconds.