Post-Installation Tasks not being performed because Admin User not loggin into Windows automatically after image deployment.
When logging in manually, Post-Install Tasks are being performed.
PREREQUISISTS
Number of Auto-Logons needs to be changed to reflect the amount of Post-Installation tasks (one for each reboot).
The captured image needs to be syspreped and the LogonCount must already be present in the unattend.xml (usually found in \windows\panther\ of the image).
STEPS TO PERFORM
1. Create a VBScript with the following contents:
Set xmlDoc = CreateObject("Microsoft.XMLDOM")
xmlFile = "location_of_unattend.xml"
xmlDoc.load xmlFile
'Locate the node
Set nNode = xmlDoc.selectsinglenode ("//AutoLogon/LogonCount")
'Set the node text with the new value
nNode.text = "auto_logon_count"
'Save the xml document with the new autologon value
strResult = xmldoc.save(xmlFile)
Wscript.Quit
2. change the "location_of_unattend.xml" to reflect the location of the file in your image (usually it´s "c:\windows\panther\unattend.xml").
3. Change the "auto_logon_count" to the desired value (for example "4").
4. Create a Post-Installation Task (Library > Post-installation Tasks > Choose Action > New) and choose K2000 Boot Environment
5. Upload the .vbs file (upload file) created in Step 1 and enter the following line in "Parameter":cscript auto_logon.vbs
6. Select this task as the first Mid-Installation task for your Image Deployment
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center