Psexec + Rundll32.exe + hang
I am trying to deploy a application through PSexec. This application will install a file filter driver on the target machine.
Command Line:
Psexec.exe \\Machine -c -f ToolBox.exe /s
I didn't get return code for a long time. So I check the target machine and find that the PSEXEC process hangs on running:
C:\WINDOWS\system32\rundll32.exe "C:\Program Files\Toolbox\USB Driver\CUsbInst.dll",_CUsbInstall@16 "C:\Program Files\Toolbox\USB Driver\Usb.inf"
After I kill the rundll32.exe process, the installation goes on and exit successfully.
Any suggestions to eliminate the hanging problem? Thanks in advance!
Command Line:
Psexec.exe \\Machine -c -f ToolBox.exe /s
I didn't get return code for a long time. So I check the target machine and find that the PSEXEC process hangs on running:
C:\WINDOWS\system32\rundll32.exe "C:\Program Files\Toolbox\USB Driver\CUsbInst.dll",_CUsbInstall@16 "C:\Program Files\Toolbox\USB Driver\Usb.inf"
After I kill the rundll32.exe process, the installation goes on and exit successfully.
Any suggestions to eliminate the hanging problem? Thanks in advance!
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
itolutions
13 years ago
Posted by:
Savage455
13 years ago
Posted by:
itolutions
13 years ago
Possible resons:
1) psiexec.exe shows EULA message during first run.
2) Permissions
3) dll function can require user session.
To avoid these issues please try following scenarios:
1) with "-accepteula" argument
2) with "-s" argument
3) with "-i" argument
4) 2 + 3
5) 2 + 3 + 1
Start from the last one to save your time ;)
1) psiexec.exe shows EULA message during first run.
2) Permissions
3) dll function can require user session.
To avoid these issues please try following scenarios:
1) with "-accepteula" argument
2) with "-s" argument
3) with "-i" argument
4) 2 + 3
5) 2 + 3 + 1
Start from the last one to save your time ;)
Posted by:
itolutions
13 years ago
Posted by:
Savage455
13 years ago
Posted by:
itolutions
13 years ago
Posted by:
anonymous_9363
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.