Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Remove Windows Defender and connected Windows Security Components" Option cause Microsoft Store third party apps can't uninstall #32

Closed
chuck00000 opened this issue Feb 13, 2023 · 15 comments

Comments

@chuck00000
Copy link

"Remove Windows Defender and connected Windows Security Components" Option cause Microsoft Store third party apps can't uninstall, only Microsoft built in store apps can normally uninstall. Both windows 10 & 11 have this issue. After remove Windows Defender and connected Windows Security Components , system restore can't recover removed security Components , update machine can't fix security Components. Need reset PC, only disable Windows Defender Antivirus, uninstall Store apps is back normal

Screenshot (29)

Screenshot (28)

@chuck00000 chuck00000 changed the title "Remove Windows Defender and connected Windows Security Components" Option cause Microsoft Store third party apps can't uninstallpps "Remove Windows Defender and connected Windows Security Components" Option cause Microsoft Store third party apps can't uninstall Feb 13, 2023
@ionuttbara
Copy link
Owner

ionuttbara commented Feb 13, 2023

Thanks for writing..
Can you say what version of Windows and kind of you updates which you have installed. In Windows 11 uninstalling apps is working fine. Its helps me to provide a fix for that.

@chuck00000
Copy link
Author

I said both Windows 10 & Windows 11 has this issue. I'm using Windows 11 latest Dev build 25295;

I tested on Windows 10, same issue

@ionuttbara
Copy link
Owner

i didn't see the issue. so in lastest insider builds the issue is not present.. but I will not close this issue, now

@ionuttbara
Copy link
Owner

in lastest version of script, this does not affect the application uninstalling in Windows 11 and even in 10.

@ionuttbara
Copy link
Owner

ionuttbara commented Mar 16, 2023

re-opening the issue, because its happen in 12.0 and 12.5 beta! on Windows 11 22H2 Moment 2 and Windows 10 20H2. I'll investigate and work with fixes!

@ionuttbara ionuttbara reopened this Mar 16, 2023
@chuck00000
Copy link
Author

chuck00000 commented Mar 17, 2023

Also, all apps from Microsoft Store cannot be updated because of this.

@XBadFellaX
Copy link

I am having an issue Re-Enabling Defender and Components as well. My Windows Security App is coming up Black and this happened after I used the Script to Disable Windows Defender and Security components.

Now when I tried to re-enable it because I was getting a lot of errors in Windows Events I get the error ERROR: The process "Smartscreen.exe" not found. The system cannot find the file specified.

I don't know what to do, I have tried so many fixes from online but nothing works, and I really don't want to re-install windows.

image

2023-03-18_12-05-37

@XBadFellaX
Copy link

Unable to start a DCOM Server: {A463FCB9-6B1C-4E0D-A80B-A2CA7999E25D} as Unavailable/Unavailable. The error:
"2147942402"
Happened while starting this command:
C:\Windows\System32\smartscreen.exe -Embedding

@ionuttbara
Copy link
Owner

so maybe is caused by removal of the smartscreen.. so i will check.. i'll put in 12.1, because i want to re-organize the code..

@ionuttbara
Copy link
Owner

the script is unregistering the classes of the smartscreen , by removing the following registry values

[-HKEY_CLASSES_ROOT\WOW6432Node\CLSID{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}]

[-HKEY_CLASSES_ROOT\CLSID{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}]

so restoring them it will fix the issue.

@ionuttbara
Copy link
Owner

i'll provide a reg file which is adding that values back into windows later today. So it will apply with PowerRun, and reboot. This is will be the solution of this issue.

@XBadFellaX
Copy link

Thank you!

@XBadFellaX
Copy link

Hi Jbara, Just wondering if this reg file is ready yet?

@XBadFellaX
Copy link

XBadFellaX commented Apr 1, 2023

@jbara2002 please help on how to restore these registry entries, would really appreciate it.

@ionuttbara
Copy link
Owner

Save into registry file and reboot the pc.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}]
@="SmartScreen"
"AppID"="{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}"

[HKEY_CLASSES_ROOT\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}\InProcServer32]
@="C:\\Windows\\System32\\smartscreenps.dll"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}\LocalServer32]
@="C:\\Windows\\System32\\smartscreen.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}]
@="SmartScreen"
"AppID"="{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}\InProcServer32]
@="C:\\Windows\\System32\\smartscreenps.dll"
"ThreadingModel"="Both"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}\LocalServer32]
@="C:\\Windows\\System32\\smartscreen.exe"

[HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}]
@="SmartScreen"
"AppID"="{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}"

[HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}\InProcServer32]
@="C:\\Windows\\System32\\smartscreenps.dll"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}\LocalServer32]
@="C:\\Windows\\System32\\smartscreen.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}]
@="SmartScreen"
"AppID"="{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}\InProcServer32]
@="C:\\Windows\\System32\\smartscreenps.dll"
"ThreadingModel"="Both"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{a463fcb9-6b1c-4e0d-a80b-a2ca7999e25d}\LocalServer32]
@="C:\\Windows\\System32\\smartscreen.exe"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants