DrEmpiricism / Optimize-Offline

Optimize-Offline is a Windows 10 offline image optimization framework.
MIT License
707 stars 64 forks source link

[Question] How do you re-enable Sync & Login with Microsoft Edge #192

Closed ghost closed 4 years ago

ghost commented 4 years ago

I've been searching for hours and I can't figure out how to either revert it or prevent it from changing.

Greatly appreciate your help in solving this, and thank you for all the effort you two put in!

image image

DrEmpiricism commented 4 years ago

Optimize-Offline does not disable Microsoft Edge synchronization, though that's not to say the removal of a System Application/Capability/Package would not affect it from working properly.

According to my ADMX templates, the Group Policy setting for this is located here: Computer Configuration\Administrative Templates\Windows Components\Sync your settings

Lastly, is this for Edge HTML or Edge Chromium?

ghost commented 4 years ago

Edge Chromium.

I was following the guide on MDL/GitHub that listed a bunch of services that could be safely removed and it seems to be a side effect of one of the ones listed. I tried to deduce it down to a specific service but wasn't able to after rebuilding and reformatting quite a few times.

I followed the rest of the guide exactly and only removed Edge/EdgeDevKit and Windows Defender (can't remember the name) and Sync worked perfectly with only those removed even with all of the registry tweaks enabled.

I only just realized that you're not the author of the thread on MDL as well, so sorry for wasting your time.

DrEmpiricism commented 4 years ago

Diving into this error a bit more, the exact error description is "A specified logon session does not exist. It may already have been terminated." This kind of error is primarily isolated to domain-joined devices (usually a result of 'domain jumping').

Is your device connected to a domain by any chance?

I would recommend creating a new administrator profile and signing into it - keeping it in its default state - and then checking if synchronization works on a fresh, untouched account.

And it's not a problem to be inquiring about that here; you are not wasting my time. No I did not create the thread on the MDL forums and I very, very rarely check that thread simply because this repository is more appropriate to handle bug issues.

ghost commented 4 years ago

Yes, when I format I always join a domain instead of logging into a Microsoft account.

Unfortunately I'm not in a situation at the moment where I can test and see if that would resolve the issue.

I appreciate all of your help!