ForensiT Homepage
Forum Home Forum Home > ForensiT Support > Move Computer
  Active Topics Active Topics
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

move multiple profiles

 Post Reply Post Reply
  Topic Search Topic Search  Topic Options Topic Options
Arthurpowis View Drop Down

Joined: 28 Aug 2019
Online Status: Offline
Posts: 1
  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
Online Status: Offline
Posts: 1394
  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

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.031 seconds.