if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::
GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) {
Start-Process...
Type: Posts; User: loxia01
if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::
GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) {
Start-Process...
I have had problem with Windows 10 periodically (perhaps weekly or every second week) deleting all Restore Points except one. I have set up a custom task for creating a Restore Point daily. Recently...
Updated KB4497165 for Windows 10 1903:
https://www.catalog.update.microsoft.com/Search.aspx?q=4497165
Have the same issue on my Windows 10 PC. Have tried to with adding new registry values, but didn't help. Perhaps MDS mitigation is not yet implemented for versions 1903 and 1809?