Как запустить reg-файл с максимальными привилегиями (TrustedInstaller)
Цитата: Имир от 23.08.2025, 13:11Mikhail, спасибо за подсказку! К сожалению, это срабатывает не со всеми файлами. Работает с cmd-файлами, но не работает с reg-файлами и vbs-файлами.
Mikhail, спасибо за подсказку! К сожалению, это срабатывает не со всеми файлами. Работает с cmd-файлами, но не работает с reg-файлами и vbs-файлами.
Цитата: Сибирь от 23.08.2025, 13:18ReplaceString, привет.
Спасибо большущее за наводку насчёт утилиты AdvancedRun 🙏
Очень мощная и удобная, только что протестировал.
ReplaceString, привет.
Спасибо большущее за наводку насчёт утилиты AdvancedRun 🙏
Очень мощная и удобная, только что протестировал.
Цитата: Имир от 10.09.2025, 04:00Всем доброй ночи! Нашёл способ, как это делать с программой
NSudo. Очень удобный способ открыть всё, что угодно с любыми привилегиями через контекстное меню!Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\NSudo] "SubCommands"="NSudo.RunAs.TrustedInstaller;NSudo.RunAs.TrustedInstaller.EnableAllPrivileges;NSudo.RunAs.System;NSudo.RunAs.System.EnableAllPrivileges;" "MUIVerb"="NSudo" "Icon"="D:\\Soft\\Utilities\\NSudoLG.exe" "Position"="1" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.System.EnableAllPrivileges] @="Run As System (Enable All Privileges)" "HasLUAShield"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.System.EnableAllPrivileges\command] @="\"D:\\Soft\\Utilities\\NSudoLG.exe\" -U:S -P:E -ShowWindowMode=Hide cmd /c start \"NSudo.ContextMenu.Launcher\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.System] @="Run As System" "HasLUAShield"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.System\command] @="\"D:\\Soft\\Utilities\\NSudoLG.exe\" -U:S -ShowWindowMode=Hide cmd /c start \"NSudo.ContextMenu.Launcher\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.TrustedInstaller.EnableAllPrivileges] @="Run As TrustedInstaller (Enable All Privileges)" "HasLUAShield"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.TrustedInstaller.EnableAllPrivileges\command] @="\"D:\\Soft\\Utilities\\NSudoLG.exe\" -U:T -P:E -ShowWindowMode=Hide cmd /c start \"NSudo.ContextMenu.Launcher\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.TrustedInstaller] @="Run As TrustedInstaller" "HasLUAShield"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.TrustedInstaller\command] @="\"D:\\Soft\\Utilities\\NSudoLG.exe\" -U:T -ShowWindowMode=Hide cmd /c start \"NSudo.ContextMenu.Launcher\" \"%1\""
Всем доброй ночи! Нашёл способ, как это делать с программой СкопированоNSudo. Очень удобный способ открыть всё, что угодно с любыми привилегиями через контекстное меню!
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\NSudo] "SubCommands"="NSudo.RunAs.TrustedInstaller;NSudo.RunAs.TrustedInstaller.EnableAllPrivileges;NSudo.RunAs.System;NSudo.RunAs.System.EnableAllPrivileges;" "MUIVerb"="NSudo" "Icon"="D:\\Soft\\Utilities\\NSudoLG.exe" "Position"="1" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.System.EnableAllPrivileges] @="Run As System (Enable All Privileges)" "HasLUAShield"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.System.EnableAllPrivileges\command] @="\"D:\\Soft\\Utilities\\NSudoLG.exe\" -U:S -P:E -ShowWindowMode=Hide cmd /c start \"NSudo.ContextMenu.Launcher\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.System] @="Run As System" "HasLUAShield"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.System\command] @="\"D:\\Soft\\Utilities\\NSudoLG.exe\" -U:S -ShowWindowMode=Hide cmd /c start \"NSudo.ContextMenu.Launcher\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.TrustedInstaller.EnableAllPrivileges] @="Run As TrustedInstaller (Enable All Privileges)" "HasLUAShield"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.TrustedInstaller.EnableAllPrivileges\command] @="\"D:\\Soft\\Utilities\\NSudoLG.exe\" -U:T -P:E -ShowWindowMode=Hide cmd /c start \"NSudo.ContextMenu.Launcher\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.TrustedInstaller] @="Run As TrustedInstaller" "HasLUAShield"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\NSudo.RunAs.TrustedInstaller\command] @="\"D:\\Soft\\Utilities\\NSudoLG.exe\" -U:T -ShowWindowMode=Hide cmd /c start \"NSudo.ContextMenu.Launcher\" \"%1\""