K2000 - 3.6 Post-Install Tasks
Few questions regarding post-install tasks on our fresh 3.6 box:
- The machine deploys the WIM, boots into Windows and starts post-install tasks. It reboots almost immediately. It didn't do this before, and now has wasted 1 of my auto-logins I set. It looks like it's disabling UAC by default now? I don't have a script for this, but it shows Disable UAC, Run DPInst as the 2 tasks before rebooting. Why are these running? And why does it reboot? I don't want to modify my WIM image for this now, as it never did this prior to 3.6
- I have some very long scripts being deployed post-install (SMART Notebook software). If I let the machine sit for a while, the monitor goes black. At that point, the mouse completely dies. The keyboard will wake the machine, but the mouse doesn't do anything after that.
- Last step is to enable UAC? Why? I want this off. It's off as part of my WIM image, and it's set in GPO to set it as off. Why is KACE forcing UAC off, then back on for me?
Answers (2)
As far as I know disabling the UAC it to get the post install tasks to run. It reenables at the end, but I do not think it affects what your .xml, or GPOs are set to.
For the machine going to sleep I use this as a post install bat script to change the power settings. My GPO will then change them once it joins the domain.
POWERCFG -SETACTIVE 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
POWERCFG -X -monitor-timeout-ac 120
POWERCFG -X -disk-timeout-ac 120
POWERCFG -X -standby-timeout-ac 120
POWERCFG -H OFF
I also kill explorer.exe because I also have long post installs. During those installs users have full access to the machine.
@echo offtaskkill /IM Explorer.exe /F
As part of my last task I stop the service for my anti-virus. Even though I have an exception for cleanup.exe, it still slows the image down tremendously. It will start back up after the reboot.
NET STOP "SOPHOS AGENT"NET STOP "SAVService"NET STOP "SAVAdminService"
Comments:
-
Hi,
I believe you can also setup a lockscreen task which is ideal during post installation tasks. This way you wouldn't need to disable explorer.exe. Also, is there a way you can install your sophos agent as the last install before the cleanup task - nlieschke 10 years ago-
Wouldn't locking the screen defeat the purpose of having the task engine? Sophos is the last task I have. I include a two minute timeout to give it time to communicate with the AV server. These tasks work perfect for me. - dugullett 10 years ago
Does one of your tasks have reboot set on it after windows is installed? - LBarclay 10 years ago