run script without user logon/logonoff or computer startup/shutdown

  • Thread starter Thread starter OM
  • Start date Start date
O

OM

Hi, Can I apply scripts to workstations without having one of those
triggering events?

thanks
 
Look at pstools from sysinternals. You can remotely execute an application
(or script) on any computer that you have the necessary rights and
permissions. If you dont' have these tools you're working too hard. Should
be in every admin's toolkit.

....kurt
 
Kurt said:
Look at pstools from sysinternals. You can remotely execute an application
(or script) on any computer that you have the necessary rights and
permissions. If you dont' have these tools you're working too hard. Should
be in every admin's toolkit.

...kurt


Hi,

I seem to recall that psexec will send clear text password. Correct me
if I am wrong. Also, I think the machines that the script will be
running on has to have file and sharing enable too? This might now work
for us as majority of our machines has F and P turned off.

OM
 
I don't believe F&P sharing is a requirement, it's a remote shell. I'm not
sure about the clear text passwords.

....kurt
 
Addition to last post. If you are logged in as a domain admin, you won't
need to send a password on the command line, you'll have admin rights on all
domain computers.

....kurt
 
Kurt said:
I don't believe F&P sharing is a requirement, it's a remote shell. I'm not
sure about the clear text passwords.

...kurt
Hi,

I am not sure if it is me. I have tried XP and 2K machines, both
machines have to have F/P enabled before I can run psexec on them.

OM
 
It's not documented but the remote execution of commands needs the
ADMIN$ share, so yes file and printer sharing is needed for this to
work. I ran into this problem myself "why doesn't this work?" when I
tried to use a remote execution/install of a piece of software...

You can safely enable F&P sharing though, since you can prevent any
changed to shares or the creation of shares on workstations through a
simple GPO setting on the DC.

HTH

Mark.
 
Back
Top