Windows 7 Forums


Windows 7: psexec access is denied

24 Jan 2013  
HxzGR33NY

Windows 7 Home Premium 64bit
7 posts
 
 
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  
Parman

Windows 7 Ultimate x64
883 posts
Topeka Kansas
 
 

You need to supply username and password.

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

Windows 7 Home Premium 64bit
7 posts
 
 

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  
Dsprague

Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
1,561 posts
USA, Vermont
 
 

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  
HxzGR33NY

Windows 7 Home Premium 64bit
7 posts
 
 

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  
Parman

Windows 7 Ultimate x64
883 posts
Topeka Kansas
 
 

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

Windows 7 Home Premium 64bit
7 posts
 
 

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

Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
1,561 posts
USA, Vermont
 
 

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  
HxzGR33NY

Windows 7 Home Premium 64bit
7 posts
 
 

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  
Dsprague

Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
1,561 posts
USA, Vermont
 
 

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 problems?



Thread Tools



Similar help and support threads for: psexec access is denied
Thread Forum
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 is denied General Discussion


All times are GMT -5. The time now is 02:56 AM.



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