Environment
Novell Identity Manager 3.6.1
Novell Identity Manager Driver - Scripting
Situation
Error on driver trace: WindowsScript_executeCommand: command exited with code 1
(trace): WindowsScript_executeCommand: Executing command powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1""scripts\powershell\Subscriber.ps1""C:\DOCUME~1\idmsvc\Local Settings\Temp\WSD1DF.tmp""C:\DOCUME~1\idmsvc\Local Settings\Temp\WSD1DE.tmp"
WindowsScript_executeCommand: command exited with code 1
WindowsScript_executeCommand: command exited with code 1
Resolution
This happens on some systems. The space in the string “Local Settings” causes problems.
Here is how to fix it:
1. Log in as the user that the driver service runs as.
2. Click Start, right-click My Computer and select Properties.
3. Click the Advanced tab.
4. Click the Environment Variables button.
5. Under “User variables for…” change TEMP and TMP to “%USERPROFILE%\LOCALS~1\Temp”.
6. Click OK to exit out of the various dialog boxes.
7. Restart the driver service.
2. Click Start, right-click My Computer and select Properties.
3. Click the Advanced tab.
4. Click the Environment Variables button.
5. Under “User variables for…” change TEMP and TMP to “%USERPROFILE%\LOCALS~1\Temp”.
6. Click OK to exit out of the various dialog boxes.
7. Restart the driver service.