This guide is intended for situations where the account loses Administrator rights, the UAC consent button is not available, and the Windows profile path is problematic. Examples of old and new folder names in this step are GnProj and Lt7.
Notes: This step changes system files and uses Command Prompt from the log-in screen. Make sure the device belongs to or is under your management, and back up important data first.
Step 1: Enter Windows Recovery Environment
- Click Start and type
cmd. - Open a regular Command Prompt.
- Type the following command, then press Enter:
shutdown /r /o /t 0 - The computer will restart and enter the recovery screen.
Step 2: Open Command Prompt via Magnifier
- On the recovery screen, select Troubleshoot → Advanced Options → Command Prompt.
- Make sure the Windows drive is correct. Example:
If you see the folderC: dirWindowsandUsers, the drive is C: . - Run the following command:
cd C:\windows\system32 ren magnify.exe magnify.bak copy cmd.exe magnify.exe - Close the CMD WinRE window, return to the main menu, then click Continue to enter the log-in screen.
Step 3: Create a symbolic link from the log-in screen
- On the log-in screen, click the icon Accessibility in the bottom right corner, then select Magnifier.
- In the CMD window that opens, type the following command and press Enter:
mklink /d C:\Users\GnProj C:\Users\Lt7 - After the symbolic link message is successful, type the restart command:
shutdown /r /t 0
Step 4: Return the account to the Administrators group
- Log in to the Desktop using the account PIN
Lt7. - Press Windows + R, type
netplwiz, then press Enter. - Select your account name, then click Properties.
- Open tabs Group Membership.
- Change options from Standard User be Administrators.
- Click Apply, then OK. Restart the laptop once again.
Customize the folder name GnProj and Lt7 with the names of the old and new folders on the device.
Comments