Discussion:
Using rundll32.exe to install using a non interactive session
(too old to reply)
Rich Jones
2010-07-31 15:14:03 UTC
Permalink
Hi,

I'm trying to write a script that will remotely install a file system filter
driver remotely across a number of systems using psexec.exe (from
sysinernals). This works fine if the user is logged on to the remote system,
but does not seem to work if no user is logged in. If I try to run other
applications using psexec when the user is not logged in, they wrk fine.

Are there any reasons why rundll32.exe cannot be used in this way?

Thanks

Richard
Pavel A.
2010-07-31 16:05:16 UTC
Permalink
Post by Rich Jones
Hi,
I'm trying to write a script that will remotely install a file system filter
driver remotely across a number of systems using psexec.exe (from
sysinernals). This works fine if the user is logged on to the remote system,
but does not seem to work if no user is logged in. If I try to run other
applications using psexec when the user is not logged in, they wrk fine.
Are there any reasons why rundll32.exe cannot be used in this way?
Thanks
Richard
Yes, there are reasons.
Try to install it as a normal service, using sc.exe.

-- pa
Rich Jones
2010-08-05 06:22:03 UTC
Permalink
Thanks Pavel,

That did the trick - all working now
Post by Pavel A.
Post by Rich Jones
Hi,
I'm trying to write a script that will remotely install a file system filter
driver remotely across a number of systems using psexec.exe (from
sysinernals). This works fine if the user is logged on to the remote system,
but does not seem to work if no user is logged in. If I try to run other
applications using psexec when the user is not logged in, they wrk fine.
Are there any reasons why rundll32.exe cannot be used in this way?
Thanks
Richard
Yes, there are reasons.
Try to install it as a normal service, using sc.exe.
-- pa
Loading...