Vavun
Content Type
Profiles
Forums
Events
Posts posted by Vavun
-
-
Hi
Since ancient times I have been using this tweak to open PowerShell in the current directory.
( Shift +Right mouse click to see second "AsAdmin" line )
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Run_PowerShell] "Icon"="powershell.exe,-0" "NoWorkingDirectory"="" "MUIVerb"="@powershell.exe,-109" [HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Run_PowerShell\command] @="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoProfile -NoExit -Command \"Set-Location '%V'\"" [HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Run_PowerShell_AsAdmin] "Icon"="powershell.exe,-0" "NoWorkingDirectory"="" "HasLUAShield"="" "Extended"="" "MUIVerb"="@powershell.exe,-109" [HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Run_PowerShell_AsAdmin\command] @="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoProfile -Command \"Start-Process powershell.exe -verb runAs -ArgumentList '-NoProfile','-NoExit', '-Command', 'cd %V'\""
Looks like StartAllBack broke default "HasLUAShield" key behaviour in combination with "Icon" key
This is SAB disabled
And this is enabled
When disabled, the second PoSh has a small shield, as expected
1
StartAllBack for Windows 11
in StartIsBack+
Posted
https://safebrowsing.google.com/safebrowsing/report_error/