New
#10
Out of curiosity, I have just run the reg file on my ver 1809 and it works i.e. a Run as Admin entry now appears when I right-click on a .ps1 file.
I suggest you two identify whether the fault is in the running of that .reg file or in Windows behaviour. Do the following Registry entries now exist?
If not then the .reg file has not done its job.Code:[HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1\Shell\runas] "HasLUAShield"="" [HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1\Shell\runas\command] @="powershell \"-Command\" \"if((Get-ExecutionPolicy ) -ne 'AllSigned') { Set-ExecutionPolicy -Scope Process Bypass }; & '%1'\""
If the Registry entries do exist then Windows is not processing them correctly.
Denis