If no account on the PC currently has administrator rights, the supported recovery path is to start in Safe Mode, sign in as the built-in Administrator, and re-enable admin access.
- Restart the PC and enter Safe Mode:
- On restart, use the advanced startup path to get to startup options, then choose Safe Mode.
- Sign in as Administrator in Safe Mode.
- Re-enable the Administrator account or restore admin rights:
- Open Computer Management.
- Go to Local Users and Groups > Users.
- Open Administrator properties.
- Clear Account is disabled, then select OK.
- Restart normally and sign in again.
If Local Users and Groups is available and the Administrator account is present but disabled, it can also be enabled directly:
- In the search box, type computer management and open Computer Management.
- Select Local Users and Groups > Users.
- If Administrator shows a down arrow, open it.
- Clear Account is disabled and select Apply.
- Sign out, then sign in again using the Administrator account.
For the Windows activation issue showing 0x80070005 Access denied, restore SELF permissions:
- In Search, type dcomcnfg and open Component Services.
- Go to Component Services > Computers.
- Right-click My Computer > Properties.
- Open the COM Security tab.
- Under Access Permissions, select Edit Default.
- If SELF is missing, select Add, type SELF, select Check Names, then OK.
- Select SELF, then allow:
- Local Access
- Remote Access
- Select OK, close the dialogs, and restart the PC.
If the PC is showing the built-in Administrator account on the sign-in screen after reset, registry changes are available, but they are not required to restore admin access. Registry editing carries risk and should only be used if that specific sign-in-screen issue is occurring.
References: