Re: any one know how to use psexec
From: Pegasus \(MVP\) (I.can_at_fly.com)
Date: 11/28/04
- Next message: Eric McG: "Re: Config file"
- Previous message: additude: "RE: logon dialog box delay"
- In reply to: Mohab el Amry: "any one know how to use psexec"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 28 Nov 2004 23:44:42 +1100
"Mohab el Amry" <MohabelAmry@discussions.microsoft.com> wrote in message
news:8C03B0FD-A6F7-4D84-8207-CE287D8D871C@microsoft.com...
> i am trying to execute an exe file over remote machine and
> and this is an example of the test syntex i wrote
> psexec \\remotename :@c:\calc.exe
> it prompet a message that says
> "make sure that the default admins$ share is enabled on $
> can any one tell me the way to use it correctly
The correct syntax is:
psexec \\RemoteName c:\calc.exe
However . . . psexec.exe is suitable for command line
commands only. Calc.exe has a graphical user interface
and will therefore not work under psexec.exe. Try
something simple, e.g.
psexec \\RemoteName attrib.exe c:\*.*
I don't know if the administrative shares need to be
enabled on the target machine or not. If they do then
you can easily fix it like so:
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
Set the value of : AutoShareServer to 1
Set the value of : AutoShareWks to 1
- Next message: Eric McG: "Re: Config file"
- Previous message: additude: "RE: logon dialog box delay"
- In reply to: Mohab el Amry: "any one know how to use psexec"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|