Fix MSConfig Access Denied When Changing a Service

You need administrative privileges to change the services running and status

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

How to fix the msconfig access denied

Running into an “Access Denied” error when trying to use msconfig can be incredibly frustrating. This issue often stems from permission problems, corrupted system files, or even malware. Here are some tried-and-true solutions to help you regain control over your system configuration.

What do I do if MSConfig says Access denied?

1. Boot into Safe Mode and log in as Administrator

  1. Restart your computer and press F8 repeatedly as your computer boots up until you see the Advanced Boot Options menu.
  2. Use the arrow keys to highlight Safe Mode and press Enter.
  3. Log in with the built-in Administrator account. If you log in automatically, log out and log in as the Administrator.
  4. Open the Start menu, type msconfig in the search bar, and press Enter.
  5. In the System Configuration window, ensure that Normal startup is selected on the General tab.
  6. Go to the Boot tab, click on the Safe boot check box to uncheck it if itโ€™s checked, and then click Apply.
  7. If the issue persists, click on the Edit button to open the boot ini file in Notepad, and remove the /safeboot:minimal switch if present.
  8. Save and close the file. Restart your system normally.

This method helps reset any incorrect Safe Mode settings and allows you to log in with elevated privileges, which might resolve the access denied errors you’re experiencing.

2. Modify the Boot ini file manually

  1. Open File Explorer (Win + E) and navigate toย C:\.
  2. Right-click on This PC and select Properties.
  3. Click on the Advanced tab.
  4. Under the Startup and Recovery section, click Settings.
  5. Click Edit to open the boot ini file in Notepad.
  6. Locate the line similar to this:ย multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /safeboot:minimal
  7. Remove only theย /safeboot:minimalย part, making it look likeย multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional” /fastdetect.
  8. Save the changes and close Notepad.
  9. Restart your computer normally.

Editing the boot ini file directly helps you remove forced Safe Mode boots, which can sometimes cause access issues.

3. Make sure you have Administrator privileges

  1. Press Windows + R, typeย control userpasswords2, and press Enter.
  2. Verify that your user account shows Administrator under the Group column.
  3. If not, select your account and click Properties.
  4. Go to the Group Membership tab and select Administrator.
  5. Click Apply and then OK.
  6. Restart your computer.

This ensures your account has the right permissions to make changes in msconfig.

4. Use Command Prompt to run msconfig as administrator

  1. Press Windows + R, typeย cmd, and press Enter.
  2. In the Command Prompt window, typeย msconfig, and press Enter.
  3. If you receive access denied errors, type or paste the following command and press Enter to run it:ย runas /user:administrator "msconfig"
  4. Enter the administrator password when prompted.

Running msconfig from an elevated Command Prompt bypasses restrictions that might be causing the access denied error.

5. Check for malware or corrupted system files

  1. Open your antivirus software, update it, and perform a full system scan to check for malware.
  2. Open Command Prompt as administrator (as outlined in Solution 4).
  3. Typeย sfc /scannowย and press Enter to scan for and repair corrupted system files.
  4. After the scan is completed, type or paste the following command and press Enter:ย DISM.exe /Online /Cleanup-image /Restorehealth

Malware or corrupted system files can disrupt system operations. Scanning and repairing these ensures a clean environment for msconfig to run.

6. Edit the Registry for PML Driver HPZ12 (for HP printer users)

  1. Press Windows + R, typeย regedit, and press Enter.
  2. Navigate tothe following key:ย HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PML Driver HPZ12
  3. Double-click the Start key in the right pane.
  4. Change the value to 2 (for Automatic), 3 (for Manual), or 4 (for Disabled), and click OK.
  5. Close the Registry Editor and restart your computer.

Changing the startup type of theย PML Driver HPZ12ย may resolve conflicts that cause access denied errors when using msconfig, especially in environments with HP software.

7. Check for conflicts with Norton Internet Security

  1. Temporarily disable Norton Internet Security from the system tray or through Norton settings.
  2. Attempt to make changes in msconfig while Norton is disabled.
  3. If successful, contact Norton support for a permanent fix or consider an alternative security solution.

Some users have reported conflicts between Norton Internet Security and msconfig. Disabling Norton can determine if it’s the root cause of the issue.

8. Use third-party utilities

MSConfig is a great tool, but you can use many other apps instead. Luckily, we have a complete guide with the best MSConfig alternatives for PC.

That’s it! Now, hopefully, you have complete access to System Configuration and the MSConfig Access denied error is not bothering you anymore. Now, you may need out guide on how to use MSConfig on your PC to get around it.

And while you’re at it, here’s our guide on what services you should disable on Windows 11 for optimum performance.

Now, if you have any other issues or questions, let us know in the comments below.

More about the topics: administrator account, Windows