OK, I’m going to date myself here, since I think this goes back to Windows 7. There is a registry setting to allow a Command Prompt “Run as administrator” to use a local userprofile. By default, an admin Cmd.exe switches to the Administrator profile, but I want it to keep using my userprofile. The name of the registry key might include the words local, profile, and/or share(d).
This is a single registry value change. It does not involve file permissions, ownership, or the RunAs command. It’s a simple, one-step, one-time registry value addition. But I can’t remember the name of this old registry value! I know it works under Windows 10; I hope it still works under Windows 11. I searched the forums under every term I could think of, but I can’t find it.
Does anyone remember this simple registry change?