A Flag for a successfull migration before reboot |
Post Reply |
Author | |
zmad
Newbie Joined: 04 Nov 2009 Location: Canada Status: Offline Points: 28 |
Post Options
Thanks(0)
Posted: 04 Feb 2010 at 10:44am |
Hi,
I wonder if there is a Flag or any registry key that I can read (for a successful migration or a failed ones) before rebooting the PC. I found the RegKey: (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon:DefaultDomainName) But this value is not updated until a reboot is done. Note: In my case, I don't reboot the PC with Profwiz.exe reboot, because I have some settings to do and then I use my own reboot. Thank you in advance. |
|
Support
Moderator Group Joined: 09 Nov 2006 Location: United Kingdom Status: Offline Points: 1844 |
Post Options
Thanks(0)
|
Hi,
If you are using a Deployment Kit generated script, a flag file is written to C:\Documents and Settings\All Users\Application Data (on XP) if the migration is successful. By default this is called "ForensiTMigrated" |
|
zmad
Newbie Joined: 04 Nov 2009 Location: Canada Status: Offline Points: 28 |
Post Options
Thanks(0)
|
Good morning,
|
|
Support
Moderator Group Joined: 09 Nov 2006 Location: United Kingdom Status: Offline Points: 1844 |
Post Options
Thanks(0)
|
No, you don't need to parse the log file. The migration script writes an actual file called ForensiTMigrated to to C:\Documents and Settings\All Users\Application Data to indicate that a machine has been migrated. The script checks for this file when it runs so that the machine is not migrated more than once.
In fact there are two possible locations for ForensiTMigrated depending on whether you are migrating all users, or just the currently logged on user. If you are just migrating the currently logged on user the ForensiTMigrated file will be in that user's Application Data folder.
Edited by Support - 05 Feb 2010 at 6:39am |
|
zmad
Newbie Joined: 04 Nov 2009 Location: Canada Status: Offline Points: 28 |
Post Options
Thanks(0)
|
Thanks!
I migrate all the users except the Admin, but I found the file "ForensitMigrated" under C:\Documents and Settings\"Logged user"\Application Data my "Logged user" is the one who initiates the migration who can be an Admin or a simple user. the params in Profwiz.config are: <All>True</All>
<OldDomain></OldDomain> <UserLookupFile></UserLookupFile> <Exclude>ASPNET,Administrator,PIMAGE</Exclude> |
|
Support
Moderator Group Joined: 09 Nov 2006 Location: United Kingdom Status: Offline Points: 1844 |
Post Options
Thanks(0)
|
Where the flag file is created depends on this line in the migration script:
Set objAppDataFolder = objShellApp.Namespace(ALL_USERS_APPLICATION_DATA)
The script uses ALL_USERS_APPLICATION_DATA for all users, and APPLICATION_DATA for the current user.
|
|
zmad
Newbie Joined: 04 Nov 2009 Location: Canada Status: Offline Points: 28 |
Post Options
Thanks(0)
|
... My script has
Set objAppDataFolder = objShellApp.Namespace(APPLICATION_DATA)
Thank you.
|
|
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 |