Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > Utilities Suggestions
  New Posts New Posts RSS Feed: handle.exe
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

handle.exe

 Post Reply Post Reply
Author
Message Reverse Sort Order
Karlchen View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 June 2005
Location: Germany
Online Status: Offline
Posts: 5121
Post Options Post Options   Quote Karlchen Quote  Post ReplyReply Direct Link To This Post Topic: handle.exe
    Posted: 17 October 2007 at 7:58am
Try
c:\powershell\Tools\psexec.exe -accepteula \\SERVER C:\handle.exe -accepteula -a -u -p notepad.exe
instead.
Note the double "-accepteula" and cf here please: 15. PsExec "eating up" the first "-accepteula" on the commandline

Regards,
Karl
Back to Top
mddreeves View Drop Down
Newbie
Newbie


Joined: 16 October 2007
Location: United States
Online Status: Offline
Posts: 3
Post Options Post Options   Quote mddreeves Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2007 at 6:32am
Running this:
 
c:\powershell\Tools\psexec.exe \\SERVER C:\handle.exe -accepteula -a -u -p notepad.exe
 
Only works if it is run locally once.  Once it is run locally with the -accepteula switch it works fine.  Running it via "psexec" the first time causes handle.exe to hang.
Back to Top
mddreeves View Drop Down
Newbie
Newbie


Joined: 16 October 2007
Location: United States
Online Status: Offline
Posts: 3
Post Options Post Options   Quote mddreeves Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2007 at 6:05am
Thanks.  that helps!
 
Mike
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2007 at 5:55pm
Hi Mike,
 
mainly becuase of the license agreement on first time use per server
 
Did you see the latest Handle update on the site blog?
Handle v3.30: This Handle update adds support for Vista object types and the –accepteula switch.
 
(emphasis added)


Edited by molotov - 16 October 2007 at 5:55pm
Daily affirmation:
net helpmsg 4006
Back to Top
mddreeves View Drop Down
Newbie
Newbie


Joined: 16 October 2007
Location: United States
Online Status: Offline
Posts: 3
Post Options Post Options   Quote mddreeves Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2007 at 5:24pm
I am sure this has been asked , but any possibilities that handle.exe will be able to run against a remote server.  I know you can just PSExec'it, but I am getting spotty results, mainly becuase of the license agreement on first time use per server.
 
Thanks!
 
mike
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down