How to fix
“This device is locked by an Administrator”
on Windows
Unlock your Windows 10 or Windows 11 device easily with our expert-tested solutions for the "This device is locked by an Administrator" error. Fixed in …
What causes How to fix “This device is locked by an Administrator” in Windows?
- Locked remotely via Microsoft Account
- Corrupted screensaver
- Non-existent screensaver
- Incorrect last login credentials
- Force shutdown of the PC
Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.
Hi, I accidentally locked my Windows PC remotely, and now I can't access it because I see the "This device is locked by an Administrator" message instead. Could you please advise on this matter?
"This device is locked by an Administrator" is a message that some users see whenever trying to log in to Windows. In most cases, this happens when people lock their systems remotely - usually via the Microsoft Account when using their phones or other devices. Most simply wanted to try the feature out or had done so completely by accident. The problem is now that they are unable to access Windows because of this.
"This device is locked by an Administrator" error can occur due to many reasons, although usually, it is caused by a corrupted or non-existent screensaver that is password-protected. To fix this, you will have to access your computer with the credentials of the account that last logged in.
In other cases, it might not be stated which account has logged in last and who has locked the computer. This time, you would have to force shut down your PC and perform similar steps as in the previous case.
Nonetheless, some users reported that they were unable to log in even after using the correct steps in this situation, and they still saw the same message when they tried. If that's the situation you found yourself in, there are several ways you can recover from the "This device is locked by an Administrator" login error - we provide the solutions below for all the situations.

When having persistent issues with Windows, it might be that the system is corrupted. In this case, we highly recommend running a PC repair tool [d1], which can quickly and easily replace damaged sectors with brand-new ones, ultimately fixing BSODs, DLL errors, registry corruption-related issues, and more.
Method 1. Use the last login information
This solution should work for those who see a message claiming that the computer has been locked by an administrator or username. Here's what to do:
- When on the login screen, press CTRL + ALT + DEL on your keyboard.
- Now, type in the login credentials of the account that was last used for logging into the device.
- Unlock Computer dialog should then disappear.
- Then press CTRL + ALT + DEL again and log in normally.
Method 2. When no information of who locked computer is available
In some cases, the message might not mention who locked the computer. In this case, please follow these steps:
- Attempt to shut down the locked computer using the shutdown tool from the Microsoft Windows Resource Kit. Although the System Shutdown dialog box will appear on the locked computer, it will fail to restart after the shutdown timer expires, causing the Welcome to Windows dialog box to appear.
- To log on to the computer normally, press CTRL + ALT + DELETE before activating the screen saver.
- If you fail to log on using one of these methods, you must restart your computer before the screen-saver program starts.
Method 3. Force the use of administrator account
- In the Windows sign-in screen, press and hold the Shift key and click Power > Restart.
- After a computer restart, pick Troubleshoot option.
- Select Advanced options and click Command Prompt.

- In the new window, type in the following command and press Enter:
net user administrator /active:yes - Close down Command Prompt and go to the log-in screen, then press Continue.
- Use administrator account credentials to log back in.

Method 4. Use recovery options
Windows has built-in recovery options that you can try using under various circumstances, including when you can't log in due to the "This device is locked by an Administrator" message.
- Access the recovery environment as explained in the previous step.
- Go to Troubleshoot and select Advanced options.
- From here, there are a few options available, you should try them all:
System Restore
Startup Repair
Go back to the previous build (this one might not be available for everyone). - Try each of these options, starting with System Restore, and see if that helps to resolve the issue at hand.

Related topics:
Bottom line
To fix the 'This device is locked by an Administrator' error, you can use the last login information or run a PC repair tool to address potential system corruption. If these solutions do not resolve the issue, consider seeking additional recovery methods.
Frequently asked questions
You can try rebooting your device and then logging in with an Administrator account to change the settings. If that doesn't work, boot into Safe Mode and check for any group policies that might be restricting access.
To disable the lock feature, navigate to the Local Group Policy Editor by typing 'gpedit.msc' in the Run dialog, then adjust the settings under 'Computer Configuration' > 'Windows Settings' > 'Security Settings'.
Yes, you can create a new local user account with administrative privileges and access your files from there, thus avoiding data loss while resolving the lock issue.




Report an issue
What's wrong with this guide? We review every report and update or remove content.
Report received — thank you. We'll review and fix it.
You need a free account to submit a report.
Be the first to comment