Print Page | Close Window

DefProf / Windows Defender

Printed From: ForensiT
Category: ForensiT Support
Forum Name: Desktop Management
Forum Description: User Profile Manager questions, suggestions, comments and bug reports
Printed Date: 27 Jun 2022 at 9:31pm
Software Version: Web Wiz Forums 12.03 -

Topic: DefProf / Windows Defender
Posted By: WMDracutus
Subject: DefProf / Windows Defender
Date Posted: 18 Aug 2021 at 2:27pm

I have created a defaut profule using DefProf 1.10. Windows 10 version is 21h1. 

When ever i copy the default profile to a new computer and create a new users, everything works fine except i get the following error regarding Windows Security.

"You'll need a new app to open this windowsdefender"

It does not appear in the start menu, but does in settings, click on it there in settings and the icon in the task bar brings up this error

Ive done:

- SFC /Scannow

- Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

- WSReset

- Clean install

- Cortana work around

- Editing the registry to turn it on.

- Run Command upwpm2 -force

- as well as the different options when running defprof, ie installappx / delete / noappx

Is there anything else i can try, or is there another way that i should be moving the defauilt profile?

Right now i am just creating a temp user, and the copy & paste the default user on the new computer and then creating the new users.


Posted By: WMDracutus
Date Posted: 31 Aug 2021 at 5:07pm
Hi Peeps, 

Just providing an update, I have resolved this issue for anyone who else has this same issue.

I resolved this by applying two fixes.

The first was found in this post -" rel="nofollow - apps crashing as soon as i open them | Tom's Hardware Forum (

**Go to c:\program files in explorer
**Change explorers settings temporarily to show hidden files AND system files
**Right click on now viewable WindowsApps directory and we are going into security.
**Take ownership of all the files

I found that you needed to be signed into an administrator account

After this process is finished I then ran the add-AppxPackage powershell command.

I completed the whole process using command prompt via a batch file.

takeown /F "C:\Program Files\WindowsApps" /A /R /D Y
icacls "C:\Program Files\WindowsApps" /grant "InsertUserNameHere":F /t /c /q
powershell Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

After I did this, Windows Security appeared in the Start Menu and I was then able to access Windows Security.

Hope this helps someone.

Also im not sure if this issue is a by product of the defprof process and a fix can be introduced into the next version?


Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 -
Copyright ©2001-2019 Web Wiz Ltd. -