Fix: “You must be an Administrator” When running SFC

Whenever you try to run SFC utility in your command prompt, it doesn’t mean it will run without checking any possibilities of error that you may have triggered. There can be many errors while running a simple command as “sfc /scannow” every now and then. But in this article, we will be focusing on the common error that most of the users face when they try this command, and that is “You must be an administrator running a console session in order to use the SFC utility

"You must be an Administrator" When running SFC
“You must be an Administrator” When running SFC

What causes this error for asking User to be an Administrator?

This error indicates that you are trying to access the system files through command prompt, and for that you need permission or you have to be the administrator. If you open a command prompt by just double clicking or right-click then clicking open, it will start in normal mode. But, if you right-click it and Run it as administrator then the CMD will open as an Elevated Command Prompt. Whenever you need to do changes or run system files you have to open CMD in elevated mode. Below we have a solution about how to do that.

Running Command Prompt as Administrator

To run the SFC Utility command we always need to run elevated command prompt, which is the command prompt running with the permission of the administrator. When you run it as an administrator you let the CMD access and use your system files, and SFC Utility is one of the system commands. To do that, follow the steps below

  1. When you see this error you must be in CMD, close it
  2. Go to where CMD is, start menu or search in the search bar
    Note: For older windows, it will be: Start > All Programs > Accessories
  3. Right-click on CMD
  4. Select “Run as administrator
    Opening CMD as administrator

    Tip: CTRL + SHIFT + Enter (will open CMD in administrator mode without right-clicking and selecting option)

  5. Click “Yes” for User Control verification
  6. Now type “sfc /scannow” and enter
  7. It will start the system scan

Bonus: Setting Elevated CMD as Default

You can make the CMD run as administrator always whenever you open it, by doing the following steps below:

  1. Go to where CMD is, start menu or search in the search bar
    Note: For older windows, it will be: Start > All Programs > Accessories
  2. Right-click on CMD, and select “Open File Location
    Opening cmd file location
  3. Now, right-click “CMD” shortcut and select “Send to > Desktop
    Sending command prompt shortcut to the desktop
  4. Now right-click the shortcut and go to “Properties
  5. In the shortcut tab, click on “Advanced
  6. Now tick the option “Run as administrator
  7. Click “OK” and save the properties
    Selecting run as administrator in CMD shortcut properties
  8. Now whenever you open this shortcut, it will automatically run as administrator.

The issue when running Command Prompt as admin

If you are running the command prompt as an administrator and still getting this error. You can try to use a third-party program named NSudo. It will basically give you permissions of TrustedInstaller.

  1. Download NSudo from this link (here).
  2. Once it’s downloaded, right-click on it and run as administrator.
  3. Now when the program is opened, check the option named “Enable all privileges”.
  4. Now in the run box type “cmd” then press “Run”.
    Running CMD through NSudo
  5. Once Command Prompt is opened try running the “sfc /scannow” command again.
  6. Check to see if the issue still persists.

If that doesn’t work for you as well, you can try to boot your Windows into safe mode then try to run SFC Command.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.