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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 02/08/2011 by: cserrins
Red Belt

Please log in to comment
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??
Answered 02/08/2011 by: jagsler
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share