Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: psexec access is denied


24 Jan 2013   #1

Windows 7 Home Premium 64bit
 
 
psexec access is denied

Hi Guys I know there's probably a lot of these on these forums but when i type in the command

psexec \\computername cmd it says access is denied

I am running cmd as admin and havn't tried anything else,
i'm not very good with cmd so would someone please help?

Thank you

My System SpecsSystem Spec
.

24 Jan 2013   #2

Windows 7 Ultimate x64
 
 

You need to supply username and password.

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
My System SpecsSystem Spec
24 Jan 2013   #3

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Parman View Post
You need to supply username and password.

PsExec
Doesn't seem to be working either

I am now typing in cmd psexec \\computername -u username -p password cmd

but as i said still not working
My System SpecsSystem Spec
.


24 Jan 2013   #4

Microsoft Community Contributor Award Recipient

Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
 
 

try running it with the -s switch so that it runs under the system account and see if it works. it would look like this:

Code:
psexec \\computername -s cmd
My System SpecsSystem Spec
24 Jan 2013   #5

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Dsprague View Post
try running it with the -s switch so that it runs under the system account and see if it works. it would look like this:

Code:
psexec \\computername -s cmd
Now its saying unkknown username or bad password
My System SpecsSystem Spec
24 Jan 2013   #6

Windows 7 Ultimate x64
 
 

Are you on a domain?
My System SpecsSystem Spec
24 Jan 2013   #7

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Parman View Post
Are you on a domain?
It just says workgroup
My System SpecsSystem Spec
24 Jan 2013   #8

Microsoft Community Contributor Award Recipient

Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
 
 

psexec will only work on computers that are on the same domain as you, if you don't have a domain set up then psexec is uselss.
My System SpecsSystem Spec
24 Jan 2013   #9

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Dsprague View Post
psexec will only work on computers that are on the same domain as you, if you don't have a domain set up then psexec is uselss.
how do you set up a domain
My System SpecsSystem Spec
24 Jan 2013   #10

Microsoft Community Contributor Award Recipient

Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
 
 

I'm guessing your probably in a home situation with multiple computers, so here is a nice tutorial on how to set up a home network that doesn't require expensive hard ware or expensive server software:

Homegroup - Create

If you have any questions feel free to post them here we would be happy to help.
My System SpecsSystem Spec
Reply

 psexec access is denied




Thread Tools



Similar help and support threads for2: psexec access is denied
Thread Forum
i can't access gpedit.msc ACCESS IS DENIED General Discussion
Access is denied - WHY ?? General Discussion
Run Batch File On Remote Computer Without PsExec Installation & Setup
Import Pictures to NAS "Access Denied" Error Though User Has Access Network & Sharing
Can access Vista shares from XP but not from Windows 7 (access denied) Network & Sharing
"Access denied:" How to overcome denied access to a folder General Discussion
Access denied Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:33 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33