Jump to content

Recommended Posts

Posted

Below I have added my answer file which I call when sysprepping a windows 7 machine. The sysprep runs and all is almost fine.

The SynchronousCommands do not run.

I call a batch file that sets the proxy server and then adds the windows key and then activates windows.

This does not run automatically on first boot so i end up having to manually run the script.

 

can anyone see any problems as to why this might be happening?

 


   
       
           1
       
   
   
       
           
               
                   1
                   net user administrator /active:yes
               
           
       
       
           true
       
       
           true
           false
           GMT Standard Time
           *
       
   
   
       
           en-GB
           en-GB
           en-GB
           en-GB
       
       
           
               
                   YwBoADQAMgBNAGkAdABlAGwANgByAHIAUABhAHMAcwB3AG8AcgBkAA==
                   false
               
               true
               5
               administrator
           
           
               
                   C:\1st-boot-scripts\run-on-first-boot.bat
                   1
                   false
                   Enter windows key and activate
               
               
                   2
                   rd /s /q c:\1st-boot-scripts
                   false
               
           
           
               true
               Home
               3
           
           
               
                   
                       
                           YwBoADQAMgBNAGkAdABlAGwANgByAHIAUABhAHMAcwB3AG8AcgBkAA==
                           false
                       
                       Local User
                       reggie
                       administrators
                       reggie
                   
               
               
                   YwBoADQAMgBNAGkAdABlAGwANgByAHIAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA
                   false
               
           
           Prenton High School for Girls
           Prenton
       
   
   

 

Thanks

Posted
You could try moving the file to the C:\Windows\System32\Sysprep directory or you can specify the key and proxy settings in master images (as I do) and you can run Sysprep without the script.
Posted
You could try moving the file to the C:\Windows\System32\Sysprep directory or you can specify the key and proxy settings in master images (as I do) and you can run Sysprep without the script.

 

Hi Michael, could you explain how you specify the key and proxy in a master image? I thought those settings were lost on a sysprep?

Posted

You just specify proxy settings and exceptions as you would normally. Sysprep won't remove these.

 

As for your Windows key, you can specify a KMS or MAK in your answer file. Have a look here at my working answer file.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...