psexec access is denied

HxzGR33NY

New member
Local time
4:08 PM
Messages
7
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 Computer

OS
Windows 7 Home Premium 64bit
You need to supply username and password.

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
 

My Computer

OS
Windows 7 Ultimate x64
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 Computer

OS
Windows 7 Home Premium 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 Computer

Computer Manufacturer/Model Number
Lenovo ThinkCenter, Custom Built PC, Acer Aspire V3-771G-9809
OS
Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
CPU
Core i5-2400, Athlon 64 X2 6400+ ,Core i7-3632QM
Motherboard
ASUS M4A79 Deluxe
Memory
4GB, 4gb g.skill ddr2, 8gb
Graphics Card(s)
Radeon HD 4550 sgb, Radeon HD 4870, NVIDIA Geforce GT 650m
Monitor(s) Displays
dual samsung 22" monitors
Hard Drives
500GB, Western Digital WD Blue WD6400AAKS 640GB 7200 RPM 16MB Cache SATA 3.0Gb/s, 1TB
Case
Antec Twelve Hundred V3 Black Steel ATX Full Tower
Cooling
ASUS Silent Square Pro
Mouse
Razar Death adder
Internet Speed
20 mbps
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 Computer

OS
Windows 7 Home Premium 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 Computer

Computer Manufacturer/Model Number
Lenovo ThinkCenter, Custom Built PC, Acer Aspire V3-771G-9809
OS
Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
CPU
Core i5-2400, Athlon 64 X2 6400+ ,Core i7-3632QM
Motherboard
ASUS M4A79 Deluxe
Memory
4GB, 4gb g.skill ddr2, 8gb
Graphics Card(s)
Radeon HD 4550 sgb, Radeon HD 4870, NVIDIA Geforce GT 650m
Monitor(s) Displays
dual samsung 22" monitors
Hard Drives
500GB, Western Digital WD Blue WD6400AAKS 640GB 7200 RPM 16MB Cache SATA 3.0Gb/s, 1TB
Case
Antec Twelve Hundred V3 Black Steel ATX Full Tower
Cooling
ASUS Silent Square Pro
Mouse
Razar Death adder
Internet Speed
20 mbps
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 Computer

OS
Windows 7 Home Premium 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 Computer

Computer Manufacturer/Model Number
Lenovo ThinkCenter, Custom Built PC, Acer Aspire V3-771G-9809
OS
Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
CPU
Core i5-2400, Athlon 64 X2 6400+ ,Core i7-3632QM
Motherboard
ASUS M4A79 Deluxe
Memory
4GB, 4gb g.skill ddr2, 8gb
Graphics Card(s)
Radeon HD 4550 sgb, Radeon HD 4870, NVIDIA Geforce GT 650m
Monitor(s) Displays
dual samsung 22" monitors
Hard Drives
500GB, Western Digital WD Blue WD6400AAKS 640GB 7200 RPM 16MB Cache SATA 3.0Gb/s, 1TB
Case
Antec Twelve Hundred V3 Black Steel ATX Full Tower
Cooling
ASUS Silent Square Pro
Mouse
Razar Death adder
Internet Speed
20 mbps
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.

Cheers
 

My Computer

OS
Windows 7 Home Premium 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.

right i have now set up the home group but i forgot to mention that one of the pc's is on vista but not to worry beacuse i think i have managed to connect that to the homegroup anyway but when i do the command it is now saying the handle is invalid
 

My Computer

OS
Windows 7 Home Premium 64bit
Homegroup has nothing to do with psexec and you don't need to be on a domain to use it. Its just different parameters.

Invalid handle means you typed something wrong.

Make sure user has admin rights on pc your connecting to.

Also check if Antivirus is blocking it.

Also try ip address instead of computer
 

My Computer

OS
Windows 7 Ultimate x64
Back
Top