• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 362
  • Last Modified:

CMD administrator error

Hi All,

When a domain user is logged into a workstation and I try to open the cmd prompt (run as) as an administrator I get this error message:

          C:\WINDOWS\system32\cmd.exe
          The directory name is invalid.

How do I get the cmd prompt to open as an administrator?  Is there a fix that could be deployed over group policy (2008 R2 server)?

Thanks in advance
0
Reyesrj
Asked:
Reyesrj
  • 2
  • 2
1 Solution
 
suvmitraCommented:
Are you simply doing ..

Window + R to open the Run Window .. type "cmd" -- Enter to open the Command Prompt?
0
 
ReyesrjAuthor Commented:
No, in XP I click on start and go to Accessories and right click on the command prompt then click on "Run as...".  I will enter my credetials (I am a domain admin) or I will enter the local machines administrator credetials.  After useing both credentials I get the error message.
0
 
suvmitraCommented:
You need to set the access levels / permissions ... there is no option like "Run as.." Run
0
 
Joshua1909Commented:
Hi,
When you run the program as administrator, the user variables (like where you home directory is etc) will be for the administrator account.

If you open the system32 directory, can you right-click cmd.exe and run as administrator from there?

Cheers,
Josh
0
 
ReyesrjAuthor Commented:
BIG THANKS!!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now