Forum Discussion
Issue with Temporary Profile on Windows Server 2025 after renaming built-in Administrator account
Hi everyone,
I am facing an issue with a temporary profile on Windows Server.
Environment details:
・OS: Windows Server 2025 Datacenter
・Setup: On-premises environment with 2 servers (AD DS Domain Controller and Web Server)
・Affected Server: Web Server (Domain joined)
Recently, I renamed the built-in Administrator account on the Web Server. After that, the system became completely unresponsive, so I had to force a power off. Upon signing in after the reboot, I received the error message: "We can't sign in to your account" (or "You've been signed in with a temporary profile").
It seems the profile folder or registry mapping for the renamed Administrator account was corrupted due to the force shutdown.
I tried restarting the server, but the issue persists. Could anyone please advise on the proper way to resolve this registry/profile conflict and safely restore the renamed Administrator profile?
Please note that I am a native Japanese speaker and a beginner in IT, so I may not fully understand complex technical English. Simple, step-by-step instructions would be greatly appreciated!
Thank you in advance for your help!
Translated by Gemini, grammar checked by DeepL
3 Replies
Hi Fuma ,
The issue you're encountering is a known Windows profile loading problem. The forced shutdown likely caused a registry conflict where the system is trying to load your renamed Administrator profile from an incorrect or corrupted registry entry, so it defaults to a temporary profile instead.
Here is the standard and most effective way to resolve this by editing the registry and reconnecting your profile.
Important Preparation
Before you begin, it's crucial to have a backup plan.
- Backup the Registry: Before making any changes, open the Registry Editor (regedit), select Computer at the top, and use File > Export to save a full backup of your registry. This allows you to restore it if something goes wrong.
- Alternative Admin Account: Sign in to the Web Server using another account with administrative privileges. This could be:
- Another domain admin account.
- A different local admin account on the server.
- If no other admin account exists, you may need to use a recovery method to enable the built-in Administrator account.
Step-by-Step Resolution
- Open Registry Editor: Log in with your alternative admin account, press Windows Key + R, type regedit, and press Enter.
- Navigate to the ProfileList Key: In the Registry Editor, go to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- Identify the Conflicting SIDs: Under the ProfileList key, you will see several subkeys (folders) named with long strings of numbers, known as Security Identifiers (SIDs). Look for the SID that corresponds to your renamed Administrator account.
- Click on each SID and look at the ProfileImagePath value in the right pane. This value will show the path to the user profile folder, such as C:\Users\Administrator or the new name you gave it.
- For the problematic account, you will likely see two entries with the same SID: one with the original name (e.g., S-1-5-...-500) and another with the same name but ending with .bak (e.g., S-1-5-...-500.bak). The .bak entry is your original, working profile that Windows has backed up.
- Repair the Registry Entries: The goal is to make the system point to your real profile again. You need to delete the temporary profile entry and rename the .bak entry.
- Right-click and delete the SID entry that does not have the .bak extension. This is the temporary profile entry.
- Right-click the SID entry that has the .bak extension (your real profile) and select Rename. Remove the .bak from the end of the name so it matches the SID of the original entry you just deleted.
- Verify Profile Path: Click on the newly renamed SID. In the right pane, double-check the ProfileImagePath value. Make sure it correctly points to the profile folder for your renamed account (e.g., C:\Users\RenamedAdmin). If you changed the folder name as well, you might need to update this path to match.
- Restart the Server: Close the Registry Editor and restart the Web Server. The User Profile Service should now correctly load your renamed Administrator profile during the next sign-in.
This method essentially tells the User Profile Service to discard the bad temporary profile entry and use the backup entry for your real Administrator profile, resolving the conflict.
Renaming the built-in Administrator account does not create a new account or SID, so the rename alone should not require a new profile. The forced power-off likely interrupted profile loading. First, save anything created in the temporary profile, because it is discarded at sign-out. Sign in with another domain or local administrator, back up the original profile folder, and check Application plus Microsoft-Windows-User Profile Service/Operational logs for events 1500, 1508, or 1511. Confirm the affected account SID and verify that its ProfileList entry points to the existing folder; do not delete keys or the folder blindly. Run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow, and restart. If Windows still cannot load it, the supported safest recovery is to create a new administrator profile and copy only user data from the old folder, excluding NTUSER files. Keep the renamed built-in account for recovery rather than daily administration.
- FumaTin Contributor
Hello Jamony, thank you for the detailed advice. I checked the server as instructed and retrieved the event logs. Here are the results:
Here is the current profile and system state:
・There is a user folder in C:\Users, but I cannot tell whether it belongs to the domain administrator or the local administrator. I could not find the original "Administrator" folder.
・In sysdm.cpl (User Profiles), only the domain user and the default profile are displayed, and the local administrator profile is missing.
・In the registry (ProfileList), there is no SID key corresponding to the local administrator account at all.
・Additionally, the window corners have lost their rounded look and become sharp. It appears that the Themes service or visual styles are not loading properly.
Event Log Analysis:
I found that Event IDs 1500 and 1511 have occurred multiple times in the logs.
・Event ID 1500: "Windows cannot log you on because your profile cannot be loaded... Detail - The group or resource is not in the correct state to perform the requested operation."
・Event ID 1511: "Windows cannot find the local profile and is logging you on with a temporary profile."
・Target User SID: S-1-5-21-xxxxxxxxx-500 (The -500 ending confirms that this issue specifically affects the built-in Administrator account).
I believe that due to the interruption caused by the forced shutdown, the built-in Administrator (RID 500) fails to load its local profile every time, resulting in a temporary profile being created.
Given that the RID 500 profile configuration and registry key are completely missing from the system, do you think running DISM /Online /Cleanup-Image /RestoreHealth and sfc /scannow will actually repair this profile link? Or is a clean installation of Windows Server 2025 the most realistic solution at this point? Thank you for your advice.