SOLVED

Unable to remove profile

%3CLINGO-SUB%20id%3D%22lingo-sub-1098317%22%20slang%3D%22en-US%22%3EUnable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098317%22%20slang%3D%22en-US%22%3E%3CP%3EI%20had%20to%20reinstall%20Edge%20as%20I%20had%20an%20issue%20but%20when%20I%20started%20the%20browser%20back%20up%20it%20automatically%20created%20a%20profile%20tied%20to%20my%20domain%20account%20%2F%20pc%20profile%20and%20I%20am%20unable%20to%20remove%20it%20as%20it%20doesn't%20give%20the%20option.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20checked%20the%20GPOs%20I%20have%20enabled%20and%20none%20seem%20to%20be%20the%20cause%20of%20this.%3CBR%20%2F%3E%3CBR%20%2F%3EAnyone%20know%20how%20to%20remove%20this%20or%20stop%20this%20happening%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098620%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098620%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EWhich%20Edge%20insider%20channel%3F%3CBR%20%2F%3Ethe%20newly%20created%20profile%20is%20a%20work%20account%2C%20right%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1101489%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1101489%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BIssue%20is%20on%20both%20Dev%20and%20Beta.%3C%2FP%3E%3CP%3EYes%20the%20profile%20is%20a%20work%20account.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1101524%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1101524%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64136%22%20target%3D%22_blank%22%3E%40Peter%20Dennington%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20had%20the%20same%20problem%2C%20haven't%20been%20able%20to%20delete%20the%20auto%20created%20work%2Fdomain%20account.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1101765%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1101765%22%20slang%3D%22en-US%22%3EIt%20shouldn't%20happen%20in%20Dev%20(81)%20because%20the%20developers%20said%20they%20fixed%20it%20a%20long%20time%20ago%2C%20it's%20an%20old%20problem%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fedge-canary-79-0-307-0-cant-sign-out-or-delete-profile%2Fm-p%2F918170%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fedge-canary-79-0-307-0-cant-sign-out-or-delete-profile%2Fm-p%2F918170%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fuser-and-session-restore-edge-canary%2Fm-p%2F920931%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fuser-and-session-restore-edge-canary%2Fm-p%2F920931%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Funexpectedly-signed-in-as-work-account-after-update-dev-79-0-308%2Fm-p%2F934058%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Funexpectedly-signed-in-as-work-account-after-update-dev-79-0-308%2Fm-p%2F934058%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1112223%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112223%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20far%20as%20I%20can%20tell%20this%20is%20a%20deliberate%20design%20choice%20by%20the%20Edge%20team%2C%20Edge%20Legacy%20has%20always%20done%20the%20same%20thing%20if%20you%20sign%20into%20Windows%20with%20a%20consumer%20account.%20AAD%20SSO%20is%20a%20handy%20feature%20for%20users%2C%20but%20there's%20no%20way%20to%20justify%20taking%20away%20control%20from%20the%20user%20over%20their%20own%20account%20and%20identity%20choices.%20If%20I%20had%20to%20guess%20it's%20driven%20by%20a%20desire%20to%20be%20able%20to%20track%20users%20the%20web%20across%20by%20ensuring%20their%20Microsoft%2FAAD%20account%20cookies%20are%20always%20present.%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64136%22%20target%3D%22_blank%22%3E%40Peter%20Dennington%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1133501%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1133501%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F434998%22%20target%3D%22_blank%22%3E%40WB2019%3C%2FA%3E%26nbsp%3BThe%20problem%20is%20the%20profile%20is%20the%20local%20AD%20account%20not%20the%20AAD%20account.%20Also%20for%20some%20reason%20this%20is%20stopping%20sync%20being%20enabled.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1134242%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1134242%22%20slang%3D%22en-US%22%3EThe%20local%20on-prem%20Active%20directory%20can't%20provide%20sync%20functionality%2C%20you%20would%20need%20some%20kind%20of%20database%20like%20SQL%20server%2C%20locally%20available%20for%20that%2C%20which%20is%20kinda%20overkill%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1134520%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1134520%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BI'm%20trying%20to%20find%20a%20way%20to%20turn%20of%20automatic%20sign%20in%20with%20local%20AD%20and%20use%20Azure%20AD%20instead.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1136462%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1136462%22%20slang%3D%22en-US%22%3EReading%20through%20all%20the%20Edge%20group%20policies%20available%2C%20looks%20like%20that%20local%20AD%20profile%20will%20be%20created%20either%20way%20but%20you%20can%20use%20this%20policy%20to%20control%20whether%20you%20can%20remove%20it%20or%20not%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fmicrosoft-edge-policies%23nonremovableprofileenabled%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fmicrosoft-edge-policies%23nonremovableprofileenabled%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1137145%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1137145%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BThanks%2C%20that%20looks%20like%20the%20best%20solution%20for%20now%20so%20will%20give%20it%20a%20go.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1137419%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1137419%22%20slang%3D%22en-US%22%3EYou're%20welcome%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1177951%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1177951%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BI%20set%20this%20policy%20to%20be%20NonRemovableProfileEnabled%20%3D%20false%2C%20but%20I%20cannot%20find%20anything%20that%20will%20allow%20me%20to%20remove%20the%20local%20AD%20profile%20from%20the%20browser.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1181697%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181697%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F524100%22%20target%3D%22_blank%22%3E%40KeenLogic%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F524100%22%20target%3D%22_blank%22%3E%40KeenLogic%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BI%20set%20this%20policy%20to%20be%20NonRemovableProfileEnabled%20%3D%20false%2C%20but%20I%20cannot%20find%20anything%20that%20will%20allow%20me%20to%20remove%20the%20local%20AD%20profile%20from%20the%20browser.%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20not%20have%20this%20option%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22hgfhgf.png%22%20style%3D%22width%3A%20591px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171999i52C84C349A09C554%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22hgfhgf.png%22%20alt%3D%22hgfhgf.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20also%20try%20going%20to%20the%20User%20Data%20directory%20and%20delete%20the%20folder%20containing%20data%20of%20that%20profile%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyou%20can%20find%20it%20from%20here%3A%20%3CA%20href%3D%22edge%3A%2F%2Fversion%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eedge%3A%2F%2Fversion%2F%3C%2FA%3E%3C%2FP%3E%3CP%3Elook%20for%3A%20%3CSPAN%3EProfile%20path%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1182575%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1182575%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BThe%20option%20to%20remove%20was%20not%20available%20for%20that%20profile.%3C%2FP%3E%3CP%3EI%20was%20able%20to%20delete%20the%20Default%20directory.%20I%20then%20copied%20the%20data%20from%20the%20Profile%201%20directory%20into%20a%20new%20Default%20directory.%20I%20could%20then%20delete%20the%20Profile%201%20directory.%20I%20now%20have%20only%20one%20profile%2C%20and%20it%20is%20the%20correct%20one.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1182641%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20remove%20profile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1182641%22%20slang%3D%22en-US%22%3EThat's%20good%20to%20hear!%3CBR%20%2F%3EI%20think%20that%20policy%20should%20be%20deployed%20before%20deploying%20Edge%20to%20machines%2C%20so%20prior%20to%20any%20profile%20being%20created%20in%20the%20first%20place%20with%20data%20in%20it.%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I had to reinstall Edge as I had an issue but when I started the browser back up it automatically created a profile tied to my domain account / pc profile and I am unable to remove it as it doesn't give the option. 

 

I checked the GPOs I have enabled and none seem to be the cause of this.

Anyone know how to remove this or stop this happening?

15 Replies
Highlighted
Hi,
Which Edge insider channel?
the newly created profile is a work account, right?
Highlighted

@HotCakeX Issue is on both Dev and Beta.

Yes the profile is a work account. 

Highlighted

@Peter Dennington 

 

I have had the same problem, haven't been able to delete the auto created work/domain account.

Highlighted

As far as I can tell this is a deliberate design choice by the Edge team, Edge Legacy has always done the same thing if you sign into Windows with a consumer account. AAD SSO is a handy feature for users, but there's no way to justify taking away control from the user over their own account and identity choices. If I had to guess it's driven by a desire to be able to track users the web across by ensuring their Microsoft/AAD account cookies are always present. @Peter Dennington 

Highlighted

@WB2019 The problem is the profile is the local AD account not the AAD account. Also for some reason this is stopping sync being enabled. 

Highlighted
The local on-prem Active directory can't provide sync functionality, you would need some kind of database like SQL server, locally available for that, which is kinda overkill
Highlighted

@HotCakeX I'm trying to find a way to turn of automatic sign in with local AD and use Azure AD instead. 

Highlighted
Best Response confirmed by Peter Dennington (Occasional Contributor)
Solution
Reading through all the Edge group policies available, looks like that local AD profile will be created either way but you can use this policy to control whether you can remove it or not
https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#nonremovableprofileenabled
Highlighted

@HotCakeX Thanks, that looks like the best solution for now so will give it a go.

Highlighted
You're welcome :)
Highlighted

@HotCakeX I set this policy to be NonRemovableProfileEnabled = false, but I cannot find anything that will allow me to remove the local AD profile from the browser.

Highlighted

@KeenLogic 


@KeenLogic wrote:

@HotCakeX I set this policy to be NonRemovableProfileEnabled = false, but I cannot find anything that will allow me to remove the local AD profile from the browser.


 

Do you not have this option?

 

hgfhgf.png

 

You can also try going to the User Data directory and delete the folder containing data of that profile

 

you can find it from here: edge://version/

look for: Profile path

Highlighted

@HotCakeX The option to remove was not available for that profile.

I was able to delete the Default directory. I then copied the data from the Profile 1 directory into a new Default directory. I could then delete the Profile 1 directory. I now have only one profile, and it is the correct one.

Highlighted
That's good to hear!
I think that policy should be deployed before deploying Edge to machines, so prior to any profile being created in the first place with data in it.