PC Review


Reply
Thread Tools Rate Thread

any one know how to use psexec

 
 
=?Utf-8?B?TW9oYWIgZWwgQW1yeQ==?=
Guest
Posts: n/a
 
      28th Nov 2004
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
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      28th Nov 2004

"Mohab el Amry" <(E-Mail Removed)> wrote in message
news:8C03B0FD-A6F7-4D84-8207-(E-Mail Removed)...
> 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


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using PSExec to run Reg ... Add MatthewBrown@gmail.com Microsoft Windows 2000 Networking 1 15th Feb 2006 01:26 PM
any one know how to use psexec? =?Utf-8?B?TW9oYWIgZWwgQW1yeQ==?= Microsoft Windows 2000 Advanced Server 0 28th Nov 2004 12:11 PM
Psexec Anonim Windows XP Networking 1 21st Sep 2004 12:27 AM
Psexec vs MFC application Ozo Microsoft Windows 2000 Security 2 4th Mar 2004 09:19 PM
PSEXEC error Couldn't install PsExec service - HELP george Microsoft Windows 2000 1 28th Oct 2003 02:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:44 AM.