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!
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>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)
Please log in to answer
Posted by:
cserrins
13 years ago
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.
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.