You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for the report. Both scripts will be improved in next version. I'll release the fixes/improvements in a week or two.
I spun up a VM with x64 windows 2004. I ran both Windows Security GUI (Sec Health UI) and XPS Viewer capability scripts.
Capabilities
I could reproduce the problem for capabilities. It's a bug in the newest version caused by a second apostrophe typo. It will be fixed in the next version.
Uninstalling system apps
I could not reproduce the problem with PermissionDenied for uninstalling system apps. It worked fine on my VM. It takes ownership of the folder as an administrator to avoid PermissionDenied. Probably commands before (takeown or icacls) has failed. But you could not see the error as they're not printed (swollen by | Out-Null). I'll ensure that errors are shown in the next version to debug this further.
I'd appreciate if you could open cmd and test running
takeown /f "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy" /r /d y
--- XPS Viewer capability
В строке отсутствует завершающий символ: '.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : TerminatorExpectedAtEndOfString
The text was updated successfully, but these errors were encountered: