![]() ![]() However, Windows needs to save these settings in a location and format that it knows to look for and expect. It has your name, your settings, your desktop image, and all the other features that makes your PC your own-at least when you sign in. ![]() However, if you’re looking to remove a user account (rather than just the user profile), then it’s important to understand the distinction.Ī Windows user account is the account you sign in with. User Profiles in Windows 10 #įor most users, there isn’t a distinction between a Windows user account and a Windows user profile. Alternatively, you can delete the user profile in Windows 10 without deleting the user itself, forcing Windows to regenerate your settings instead. If you want to remove it, you can delete the user account entirely. Unfortunately, your Windows user profile (containing your personalization data) can sometimes become corrupted. Unless you want to share your personal settings (like your desktop background or browser bookmarks), creating a new user account gives each user their own separate profile. With state.json fixed, you should be able to delete (and perhaps even hide) the profile and have it stay removed after restart.Īt the moment, it appears to me that Windows Terminal not adding newly generated (or regenerated) profiles to state.json may be a bug (or just an oversight), but I'm not quite certain of that.If you’re sharing a Windows PC with family or friends, then it makes sense to have different user accounts. Your generatedProfiles, of course, will probably look different. You can, of course, copy over any custom settings from the old (renamed) (or whatever you called it).Īlternatively, while I haven't tried it, you should be able to add the Ubuntu profile GUID that you find in settings.json to state.json. When restarting, Windows Terminal will go through the auto-generation process again, but this time it will add each profile to state.json. ![]() The "easy" answer for recovering to a "good" state is to rename (or delete) both the settings.json and state.json. The lack of the correct GUID in state.json meant that Terminal thought that it needed to be regenerated after deleting it and restarting. So ultimately, through the WSL and Ubuntu re-installation on a test machine (for purposes not related to this question), I was able to get Windows Terminal into a similar "bad state" where I also couldn't delete the Canonical-generated Ubuntu profile (the Ubuntu icon). The profiles that have already been auto-generated (through either JSON fragment or the auto-generators) will be tracked in state.json that lives alongside your settings.json in: %userprofile%\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState It's this GUID that Terminal uses to track deletion and hiding of the profile. The resulting Windows Terminal profiles created when one of those is actually installed as a distribution will have different GUID's. ![]() Since 22.04 recently became the mainstream (non-development) LTS release, we're in a bit of a transition period, which I think is causing the problem. Side-note: I'm honestly not sure which wsl -install Ubuntu results in, at the moment. This is now (as of the last week or so) 22.04. The one installed through the Microsoft Store.This is currently still, it appears, 20.04. While only one "distribution" can be installed at any point, there can be (and often, at the moment, are) two different AppX packages: That root problem appears to me to likely be caused by the actual installation of two different "Ubuntu" packages. While I haven't been able to reproduce the "hiding" issue, it's probably related to the root problem causing the profile to reappear after deleting. You don't mention which one you aren't able to delete (perhaps it's both). The JSON fragment extension that Canonical provides in the Ubuntu installation package that adds the Ubuntu color scheme and Ubuntu-specific icon.The auto-generated, generic profile that Windows Terminal creates for each WSL distribution (the one with the Linux Penguin icon).As noted in my answer on the other question, the two profiles are: Read on for explanation and other alternatives:Īfter some experimentation, I can reproduce at least parts of this. Renaming your Windows Terminal settings.json and state.json should allow you to delete and/or hide the profiles once again. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |