![]() |
Guide for enabling PsExec on VISTA |
Post Reply
|
| Author | |
Johannes
Newbie
Joined: 05 December 2006 Location: Germany Online Status: Offline Posts: 1 |
Post Options
Quote Reply
Topic: Guide for enabling PsExec on VISTAPosted: 05 December 2006 at 8:30am |
|
Hi all, I recently saw some posts describing issues with Windows Vista and PsExec. I have tried since a while to get it up and running and believe I finally got the answers :) 1. I am running Windows Vista Ultimate RTM (not sure if other Vista Editions are supported as well, i.e. XP Home was not supported for PsExec) 2. You have to check all the minimum requirements posted in this forum at http://forum.sysinternals.com/forum_posts.asp?TID=3748&P N=1 3. In gerneral on Ultimate everything is enabled except of Network discovery and file sharing. Go to Network > Network and Sharing Center and fully enable "Network Discovery", "File Sharing" and "Public Folder Sharing" 4. If you turn this on, the Firewall settings should be appropriate, but double-check that there is File and Printer sharing enabled. On my systems I did not need to open any ports for the Firewall. 5. Now here comes the tricky part: User permissions and privileges significantly changed in Vista with the "UAC - User Account Control". That said, I wasn't able at all to remotely connect to Vista with a local admin account from my domain XP machine. What I did was:
With these steps I am now able to connect succesfully from XP to Vista and from Vista to Vista. Hope this helps all the people who were wondering if PsExec were going to support Windows Vista and have been kind of frustrated like I was. If someone is testing the connection within a workgroup rather than domain, please post. I would be interested in the results. Happy connecting! |
|
![]() |
|
egbnt
Newbie
Joined: 07 December 2006 Location: United States Online Status: Offline Posts: 6 |
Post Options
Quote Reply
Posted: 07 December 2006 at 11:04am |
|
I have followed all the suggestions, but running PSExec from XP/SP2 to VISTA produces the following error messages. (Administrator account is enabled and has a password on VISTA):
c:\egb>psexec \\192.168.1.10 -u egbt60b\administrator cmd.exe PsExec v1.72 - Execute processes remotely Copyright (C) 2001-2006 Mark Russinovich Sysinternals - www.sysinternals.com Password: Error communicating with PsExec service on 192.168.1.10: More data is available. and when I use a user account that is in the Administrators group: c:\egb>psexec \\192.168.1.10 -u egbt60b\egb cmd.exe PsExec v1.72 - Execute processes remotely Copyright (C) 2001-2006 Mark Russinovich Sysinternals - www.sysinternals.com Password: Couldn't access 192.168.1.10: Access is denied. I can net use a drive both from and to VISTA. There are no domains in this picture. Ideas? Ed |
|
![]() |
|
egbnt
Newbie
Joined: 07 December 2006 Location: United States Online Status: Offline Posts: 6 |
Post Options
Quote Reply
Posted: 07 December 2006 at 11:31am |
|
Ok, I've changed my mind. Everything works.
psexec -s cmd works. I simply configured the properties of psexec (1.73) as "run as administrator". psexec -s cmd works on VISTA and XP psexec \\192.168.1.10 -s cmd works from XP to VISTA and from VISTA to XP. All seems well. Ed |
|
![]() |
|
telia
Newbie
Joined: 10 June 2008 Location: Ukraine Online Status: Offline Posts: 2 |
Post Options
Quote Reply
Posted: 10 June 2008 at 2:54am |
|
Hi there,
does anything changed recently about psexec and Vista friendship? I'm receiving "access denied" when trying to run "psexec \\vista -u admin -p admin cmd" from XP when "admin" is admin on both XP and Vista and they are in the same workgroup. The same about "psexec \\vista -s cmd". Will anything change if I'll add vista to domain and will try to use psexec with domain admin rights? What changes in Vista is required for "psexec \\vista -s cmd"? I enabled file sharing etc. Thank you, Andriy Edited by telia - 10 June 2008 at 2:57am |
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Posted: 10 June 2008 at 3:22am |
|
Hi Andriy,
Have you seen the following topics?
The faq mentions the following that may be of interest:
|
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
telia
Newbie
Joined: 10 June 2008 Location: Ukraine Online Status: Offline Posts: 2 |
Post Options
Quote Reply
Posted: 10 June 2008 at 9:03am |
|
Yeah, thank you for the links, I read them but looks like I'm completely lost. E.g. setting LocalAccountTokenFilterPolicy=1 was suggested for Vista-to-Vista problem but I cannot pass XP-to-Vista case.
I need to install some app remotely on domain PCs from w2k3 server and I have domain admin rights. Can I do this for Vista PC w/o any specific/atypical settings on Vista? ~andriy |
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Posted: 10 June 2008 at 9:12am |
See the following for evidence:
Edited by molotov - 10 June 2008 at 9:17am |
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
mark.emery
Newbie
Joined: 24 February 2009 Online Status: Offline Posts: 1 |
Post Options
Quote Reply
Posted: 24 February 2009 at 2:42am |
|
I have PSEXEC sort of working Vista-to-Vista, my account account is a member of the domain admins and that group is a member of the local administrators as expected. When I use the command PSEXEC \\XXXXX CMD
I get a command prompt running under my context on the remote machine and commands work fine. However, I have no network access to anything. A NET VIEW command will get access denied to a server with shares that have everyone access.
If I used the command PSEXEC -s \\XXXXX CMD
as suggested here, I get the system context and can do a NET VIEW command, but I need my context to run the MSIEXEC command to do a remote install.
How do I get system access under my context? The remote UAC is disabled as per the articles linked to here, that didn't change anything with this problem.
Any idea what mechanisam is stopping network access from a PSEXEC session?
|
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Posted: 24 February 2009 at 3:11am |
|
Hi Mark,
Sounds like you may wish to review this item from the PsTools FAQ:
|
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |