Print Page | Close Window

NoReboot option

Printed From: ForensiT
Category: ForensiT Support
Forum Name: Domain Migration
Forum Description: User Profile Wizard questions, suggestions, comments and bug reports
URL: https://forum.ForensiT.com/forum_posts.asp?TID=222
Printed Date: 28 Mar 2024 at 11:05am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: NoReboot option
Posted By: zmad
Subject: NoReboot option
Date Posted: 23 Dec 2009 at 1:38pm
Hi,
I am trying to not reboot the PC after the migration ... but it seems that this option is not working!!! I miss something??
<NoReboot>True</NoReboot>
I am using ForensiT User Profile Wizard v3.0.1133a.
Thank you.



Replies:
Posted By: Support
Date Posted: 23 Dec 2009 at 2:07pm
Hi,

Are you running from a script?


Posted By: zmad
Date Posted: 23 Dec 2009 at 6:51pm
Hi,
I am running the migrate.exe (not the script)!


Posted By: Support
Date Posted: 24 Dec 2009 at 2:27am
Hi,

Migrate.exe is a wrapper around the migrate.vbs script generated by the Deployment Kit. The script includes code to prompt the user to reboot, so you need to edit the migrate.vbs script and then recreate the migrate.exe file.

Edit the original migrate.vbs script (in the "Deployment Files" folder) with notepad. In the script you will see a line that says:

'Completion message - code in this section can be deleted

delete the code between the two lines of stars (*********)

Save the script and then recreate the migrate.exe file. To do this start the Deployment Kit and drag and drop the migrate.vbs script onto the Deployment Kit window. The executable file will be created in the same folder as the script and have the same name.


Posted By: zmad
Date Posted: 04 Jan 2010 at 9:52am

Hi,

I removed the following portion of my migrate.vbs and then re-create migrate.exe. It seems that the migration is not working and the log file is not created!!!

 

******************

'Completion message - code in this section can be deleted
Dim strMessage, Icon
strMessage=""

If intSuccess<>0 Then
 Icon=vbExclamation

 strMessage=strMessage & "The migration failed. See Log file."
 MsgBox strMessage, Icon, "User Profile Migration Script"
End If


If blnReboot=true Then
 PromptForReboot
End If
*******************

 

AND IF I remove only the following 3 lines, I am unable to create the migrate.exe (error 2)

 
********

If blnReboot=true Then
 PromptForReboot
End If
*******

 

The idea behind not to reboot the PC is to be able to have enough time to copy the log file onto the network and check the status of thy migration of the users (I copy the content of the log file to %UserName%.log before the copy!!!

Thank you for your help.

 

 



Posted By: zmad
Date Posted: 04 Jan 2010 at 9:53am

Hi,

I removed the following portion of my migrate.vbs and then re-create migrate.exe. It seems that the migration is not working and the log file is not created!!!

 

******************

'Completion message - code in this section can be deleted
Dim strMessage, Icon
strMessage=""

If intSuccess<>0 Then
 Icon=vbExclamation

 strMessage=strMessage & "The migration failed. See Log file."
 MsgBox strMessage, Icon, "User Profile Migration Script"
End If


If blnReboot=true Then
 PromptForReboot
End If
*******************

 

AND IF I remove only the following 3 lines, I am unable to create the migrate.exe (error 2)

********

If blnReboot=true Then
 PromptForReboot
End If
*******

 

The idea behind not to reboot the PC is to be able to have enough time to copy the log file onto the network and check the status of thy migration of the users (I copy the content of the log file to %UserName%.log before the copy!!!

Thank you for your help.

 



Posted By: zmad
Date Posted: 04 Jan 2010 at 10:08am
Hi,
It semms that the Migrate.exe is not working (can't launch it)


Posted By: Support
Date Posted: 04 Jan 2010 at 11:49am
Hi,

The content of the script is irrelevant as regards to whether a .exe file is created or not.

Error 2 is "file not found." Save the modified script locally, then open up the Deployment Kit and drag and drop the script onto it.

You say that the idea behind not rebooting the PC is to be able to have enough time to copy the log file onto the network. I assume you are doing this externally yourself. You can have the migration script do this for you.


Posted By: zmad
Date Posted: 04 Jan 2010 at 11:58am
Hi,
Thanks for the answer! how can I do it in the script file? can you help me please! knowing that I use migrate.exe for the migration!
Cheers
 


Posted By: Support
Date Posted: 04 Jan 2010 at 2:28pm
Remember that migrate.exe is just a wrapper around the migrate.vbs file. It is there to make deployment of the migrate.vbs file easier - that's all.

You will need to create a new migration .vbs script using the Deployment Kit. Make sure that you check "Run from Network Share" at Step 8. Specify the network log file path at step 9. Please see the User Guide for more details.


Posted By: zmad
Date Posted: 06 Jan 2010 at 1:43pm

Hi there,

Is there a way to not reboot the machine after the migration is complete? by using the command in profwiz.config!

<NoReboot>True</NoReboot>

Thank you


Posted By: Support
Date Posted: 06 Jan 2010 at 2:00pm
As explained above, it is not Profwiz that is rebooting the machine - it is the script. You need to edit the script to stop it rebooting the machine.


Posted By: zmad
Date Posted: 07 Jan 2010 at 6:10am
Confused I tried to modify the script but it ended that the migration failed!!!!
I was able to create the migrate.exe but could not launch it ...
thank you


Posted By: Support
Date Posted: 07 Jan 2010 at 6:17am
Send your migrate.vbs file (renamed migrate.txt) to support@ForensiT.com


Posted By: zmad
Date Posted: 07 Jan 2010 at 10:13am
Clap It is working now!
Finally I repeated the whole process with User Profile Wizard Deployment kit and chose to not reboot the PC. The Migrate.vbs generated is similar to the one I edited manually...
Thanks a lot


Posted By: Guests
Date Posted: 05 Dec 2012 at 4:33am
regarding your new favor. This yr s must-have vogue components are watches, welcome to our on the net store to find out more. The TAG Heuer Adult males s BA0594 Url Computerized Chronograph has bought probably the most innovative know-how if this will involve url watches http://www.watchessalt.net - replicawatches replicawatches . http://www.watchessalt.net/cartier-watches.html"> . . Some of the wisest modern minds in Tag s Engineering and Engineering achieved up on that one particular. It s regarded as almost certainly one of the most state-of-the-art inside the luxurious current market http://www.watchessalt.net/rolex-watches.html - rolex classic women fake rolex classic women fake . . http://www.watchessalt.net - rolex 16610 submariner Includes several unique new operation Tag fans are sure to really like. The BA0594 uses a sixteen top quality computerized motion and it truly is water-resistant to only about 660 ft rendering it very well fitted to all scuba divers and snorkelers. http://www.watchessalt.net - rolex presidential The load can be obtained in at 89 grams and it really is 42mm throughout and http://www.watchessalt.net - new rolex .



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net