?
Solved

psexec always access denied when send Windows 7

Posted on 2013-01-22
2
Medium Priority
?
874 Views
Last Modified: 2014-03-12
I have Access denied message when trying to run cmd remotely from system user account.
The scenario:

Im logged on win 2008 Std machine. Domain user has local admin privileges.
I can run cmd.exe on remote machine (windows 2008 Ent) in system account.

C:\Users\Domain_User>psexec \\remotehost /s c:\windows\system32\cmd.exe

PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>exit
c:\windows\system32\cmd.exe exited on remote_host with error code 0.

All is ok. It is working fine with domain user with admin privileges on remotehost machine also.

Then I run cmd locally in system account and try to run cmd remotely under domain user account (domain user has admin privileges on remotehost)

C:\Users\Domain_User>psexec \\localhost /s c:\windows\system32\cmd.exe

PsExec v1.96 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>psexec \\remotehost -u DOMAIN\Domain_User -p pwd c:\windows\system32\cmd.exe

PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2009 Mark Russinovich
Sysinternals - www.sysinternals.com

Access is denied.
Could not start PsExec service on remotehost:

C:\Windows\system32>exit
c:\windows\system32\cmd.exe exited on localhost with error code 122.

What is wrong. On both systems UAC is disabled, fw is disabled. From win 2003 this scenario ends without any errors.

I'm using psexec to install software remotely from windows service.
0
Comment
Question by:bluepex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 1000 total points
ID: 38805413
I see in some places this might be a psexec bug that the next release of psexec fixes.

Try to get the latest version and try again:
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
0
 

Author Comment

by:bluepex
ID: 38811935
I already use this version!!
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while back when OPSMGR 2012 was released we were very excited about getting it into our environment and upgrading our 2007 implementation,  we started our planning and we then proceeded with our implementation. All went as planned & our system …
I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question