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
HxzGR33NY

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
Parman

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
HxzGR33NY

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
Dsprague

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
HxzGR33NY

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
Parman

Windows 7 Ultimate x64
 
 

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

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
Dsprague

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
HxzGR33NY

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
Dsprague

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
Thread Forum
i can't access gpedit.msc ACCESS IS DENIED
i can't access gpedit.msc ACCESS IS DENIED pls help me
General Discussion
Run Batch File On Remote Computer Without PsExec
Ok imma give a full rundown of the situation. Currently on the network we are on because of the way it is setup wake on lan doesn't work, so SCCM has at best a 70 success rate for patching. So I am currently spending a couple days a week remoting into computers and running a batch file to manually...
Installation & Setup
Import Pictures to NAS "Access Denied" Error Though User Has Access
Hi, All. I've got an interesting situation that I'm hoping can be resolved. I built a server using FreeNAS 8.2 to store family pictures, videos, music, and Windows backups. In my home we have Windows 7 Home Premium 64bit and Windows 7 Professional 64bit. The server is setup with 3 Windows (CIFS)...
Network & Sharing
Access denied
:confused: Using Windows7 professional 64bit I am unable to access any files within Documents and Settings. Notification: "Access denied" I have identified a lock attached D&S using Windows explorer. I have not knowingly made any changes. Could someone please advise me how I should proceed...
Software
Can access Vista shares from XP but not from Windows 7 (access denied)
Hi, everyone, I'm mostly a Linux guy these days, so I'm no longer clued up about even simple Windows issues. Bear with me. :D I have one PC running Vista (home basic), one running XP (professional) and one running Windows 7 (home basic). There is a printer connected to the Vista box, which is...
Network & Sharing
"Access denied:" How to overcome denied access to a folder
I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take...
General Discussion

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 03:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App