/build/static/layout/Breadcrumb_cap_w.png

post installation tasks not working

Hi,
After I've deployed an image the post installation tasks won't run.. when I try to run the post_install.bat by hand I get the following:

C:\KACE\Applications>set KEY=HKLM\TEMP_SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

C:\KACE\Applications>reg load HKLM\TEMP_SOFTWARE C:\windows\system32\config\software

Error: The process cannot access the file because it is being used by another process.

C:\KACE\Applications>reg add %KEY% /V 001 /T REG_EXPAND_SZ /D "cmd /c \"%%systemdrive%%\KACE\bin\cmdhide.exe hide ^&^& md \"%%allusersprofile%%\Dell\KACE\" ^& move /y %%systemdrive%%\KACE\k2000_deployment_info.conf \"%%allusersprofile%%\Dell\KACE\k2000_deployment_info.conf\"\"" /F

Error: The parameter is incorrect.

C:\KACE\Applications>reg add %KEY% /V 002 /T REG_EXPAND_SZ /D "cmd /c \"%%systemdrive%%\KACE\bin\cmdhide.exe hide ^&^& rd /s /q %%systemdrive%%\KACE ^& %%systemdrive%%\kcleanup.exe ^& del /f /q %%systemdrive%%\kcleanup.exe\"" /F

Error: The parameter is incorrect.

C:\KACE\Applications>reg unload HKLM\TEMP_SOFTWARE

Error: The parameter is incorrect.

As I can see it says the file it wants to use can't be accessed, but I don't know why or how to fix it.. anyone know what to do?
Thanks!

0 Comments   [ + ] Show comments

Answers (2)

Posted by: cserrins 13 years ago
Red Belt
0
jagsler,

The registry you are trying to load is in use by the system, therefore it can not load it. It would be better to change this to a mid-level task. Just go into your post installation task and switch the radio button from Windows to KBE.
However, on both keys you are trying to insert, the K2000 does automatically, not I'm not sure what goal you are trying to accomplish.
Posted by: jagsler 13 years ago
Senior Yellow Belt
0
I didn't add any postinstallation tasks to the image deployment, however this file is there and there is a KACE folder on the C:\ drive.. can you tell me why these folders are here while I didn't add postinstall tasks??
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ