1

Trying to psexec to win2k8 server but get "Access denied" eventhough I'm local administrator - works fine on win2k3 - anyone? I have tried doing "net use * /del". I have tried using the ip, and the netbios name.

I have tried running in an elevated prompt (Don't see how this would make sense, since it's the rights on the other end thats the problem)

khebbie
  • 680
  • 1
  • 6
  • 12

3 Answers3

3

Try running it from an elevated command prompt. Right-click the "Command Prompt" shortcut and choose "Run as Administrator".

The point of UAC is to make performing administrative tasks an overt act.

You shouldn't be turning off UAC on your computers. Rather, you should be running as a non-Administrator account when you can, and elevating when you need to. Sometimes you're going to have to elevate (I do keep an "Elevated Command Prompt" pinned to my Start menu on my Windows 7 machine), but at least you're making an overt decision to act as an "Administrator" and hopefully you'll be aware that the programs you run / commands you execute are running in such a context.

Evan Anderson
  • 141,881
  • 20
  • 196
  • 331
0

As per my answer in Having trouble using psservice and sc.exe between Windows Server 2008 machines - Try adding setting [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ Policies\system\LocalAccountTokenFilterPolicy] = 1 and rebooting.

Sim
  • 1,858
  • 2
  • 17
  • 17
0

Try to use the latest version of psexec. I had a similar problemOn the 1.55 version windows 2008 server is not supported.

jpmartins
  • 1,404
  • 2
  • 12
  • 14