Error when opening Command Prompt “The system cannot find the specified path” error in windows 2008R2 Server

MrfZ 20 Reputation points
2023-02-06T06:24:52.1966667+00:00

Dear,

I have problem with administrator blocking issues in windows 2008R2 Server. open command prompt and windows batch file blocked because of error message : "Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item"

Please help for any suggestion for me to try to solve the problem.

I already follow instruction in this link, but still cant resolved my problem

https://support.microsoft.com/en-us/topic/-windows-cannot-access-the-specified-device-path-or-file-error-when-you-try-to-install-update-or-start-a-program-or-file-46361133-47ed-6967-c13e-e75d3cc29657

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,927 questions
{count} votes

Accepted answer
  1. MotoX80 31,316 Reputation points
    2023-02-08T14:40:24.4066667+00:00

    Good.

    In the image you show the permissions on the shortcut, not cmd.exe itself. Look at the permissions on c:\windows\system32\cmd.exe. Verify that Administrators and Users have at least read access.

    In the powershell window run this command.

    start-process cmd.exe
    

    If you get an access denied, then the permissions on cmd.exe are still bad or the exe has possibly been compromised.

    What can you tell us about the history of this server? When did this problem start? Did someone try to apply security permissions to the entire C: drive? Did everything work ok until you ran some software install?

    What are you using for anti-virus? Make sure the definitions are up to date and run a full scan.

    In the PS prompt run "sfc.exe /scannow"


2 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Limitless Technology 43,996 Reputation points
    2023-02-06T15:47:49.8633333+00:00

    Double post

    0 comments No comments