(imported topic written by SystemAdmin)
So I have been tasked with getting Wake On LAN working in our environment. To do so, I need to make sure the BIOS of every computer is set for WoL. So using some code found here I have developed a system to remove the passwords off of the computers using CCTK, then deploying a new BIOS to the computer to ensure they are all the same, then pushing out OCMI to the computers, then last task is to deploy the new config with changes. I have logged in and tested that this config change makes the proper changes to the computers including adding back in a new password to the BIOS and setting WoL.
Here is where the issue lies.
When I go to deploy out the exe created from the CCTK, it attempts to run as system and will no run. When I log in as an admin, it works and updates the BIOS. Our users are not admins, we have several different models, and we simply cannot log into over 2000 machines and run this exe file. Any help here is appreciated.
Here is a portion of the script. Keep in mind this deploys it out properly, it is just when it runs that the issue happens.
//Dell OptiPlex 755 BIOS Config Update
IF {(((string value of selects “Model from Win32_ComputerSystem” of wmi) as trimmed string as lowercase = “optiplex 755”) AND ((substring after “=” of (selects (“SMBIOSBIOSVersion FROM Win32_BIOS”) of WMI as string)) = “A21”))}
wait “\server\location\BIOS_Updates\Config\OptiPlex755.exe”
ENDIF
I have even copied it down to the computer to check to see if that was the issue since it produces a log file
Here are some excerpts from the log file:
Note, the logfiles are from a 780, that uses the same script as the 755, I have one written for every model
Ran from TEM
06/28/12 14:29:44
Identified Behavior : unattended
06/28/12 14:29:44
Temporary payload log file name: C:\Windows\system32\config\systemprofile\AppData\Local\dell\drivers\OptiPlex780\SCE3C49.tmp
06/28/12 14:29:44
Translated Command Line : applyconfig.bat -l=“C:\Windows\system32\config\systemprofile\AppData\Local\dell\drivers\OptiPlex780\SCE3C49.tmp”
06/28/12 14:29:44
Path : C:\Windows\system32\config\systemprofile\AppData\Local\dell\drivers\OptiPlex780
06/28/12 14:29:44
Identified Behavior : unattended
06/28/12 14:29:44
Append Vendor Software Log: C:\Windows\system32\config\systemprofile\AppData\Local\dell\drivers\OptiPlex780\SCE3C49.tmp
Ran from local admin
06/28/12 14:31:22
Identified Behavior : unattended
06/28/12 14:31:22
Temporary payload log file name: C:\Users\localadmin\AppData\Local\dell\drivers\OptiPlex780\SCEC259.tmp
06/28/12 14:31:22
Translated Command Line : applyconfig.bat -l=“C:\Users\localadmin\AppData\Local\dell\drivers\OptiPlex780\SCEC259.tmp”
06/28/12 14:31:22
Path : C:\Users\localadmin\AppData\Local\dell\drivers\OptiPlex780
06/28/12 14:31:22
Identified Behavior : unattended
06/28/12 14:31:24
Append Vendor Software Log: C:\Users\localadmin\AppData\Local\dell\drivers\OptiPlex780\SCEC259.tmp
The problem it seems is that it tries to execute it in the system32 folder and that just isn’t allowed.
Any suggestions?