I changed ''nSudo.exe'' to ''PowerRun_x64.exe'' and everything worked. Spoiler: 1 color 06 pushd "%~dp0" CLS set version=3.6.5 set title=Slim_%version% title %title% echo. echo Source: Slim25 if exist %windir%\SysWOW64 ( WHOAMI /USER | FINDSTR "S-1-5-18" >nul || "%~dp0Data\Tools\PowerRun_x64.exe" "%~0" &&exit ) else ( WHOAMI /USER | FINDSTR "S-1-5-18" >nul || "%~dp0Data\Tools\PowerRun.exe" "%~0" &&exit ) SETLOCAL ENABLEDELAYEDEXPANSION SETLOCAL ENABLEEXTENSIONS REM Check admin rights fsutil dirty query %systemdrive% >nul 2>&1 if ERRORLEVEL 1 ( ECHO. ECHO. ECHO =========================================================== ECHO The script needs Administrator permissions! ECHO. ECHO Please run it as the Administrator. ECHO =========================================================== ECHO. PAUSE >NUL goto end ) REM Check parenthesis in script PATH, which brakes subsequent for loops set incorrectPath=0 echo "%~dp0" | findstr /l /c:"(" >nul 2>&1 && set incorrectPath=1 echo "%~dp0" | findstr /l /c:")" >nul 2>&1 && set incorrectPath=1 if not "%incorrectPath%"=="0" ( ECHO. ECHO. ECHO =========================================================== ECHO The script cannot be run from this location! ECHO Current location contatins parenthesis in the PATH. ECHO. ECHO Please copy and run script from Desktop or another directory! ECHO =========================================================== ECHO. PAUSE >NUL goto end ) The script started. And I didn't change anything before that. In the photo you shared, after selecting 1 or 2, you get the error from the photo that I shared.
I don't know what to tell you, what does one have to do with the other? Whatever it is, but everything works fine for me in the original without any questions.
nsudu, not work well anyway, there is other option, that does work well on latest w.11, and does not trip A/V
There you go again, say “A”, say “B.” If you know any other option, it would be nice to voice it, please.
O-oоh, very good! I already went to the depths and downloaded nanarun_1.0_v.1.0.18.0.0.0.zip for testing. p.s. Question: With the NSudo.exe utility, the command looked like this: Code: “%~dp0Data\Tools\amd64\NSudo.exe” -U:T -P:E “%~dp0Default.cmd” How should it look with the GodMode.exe utility?
Conclusion: how it should look with GodMode.exe If GodMode.exe is not NSudo, and does not provide launch functions like TrustedInstaller, then: No way. Changing NSudo.exe to GodMode.exe simply will not work - these are different tools. NSudo has special keys -U:T -P:E, which GodMode does not understand. What to do next If you know that GodMode really launches the process as TrustedInstaller, you need specific documentation from the author. Without it, I can't help. Otherwise, I recommend continuing to use NSudo.exe, it is reliable, understandable and works - just what you used before. If you still find documentation for your version of GodMode.exe, with examples of launching as TrustedInstaller, I will gladly help rewrite the command for this! Alternative ways to run from TrustedInstaller Through Task Scheduler (Task Scheduler + PowerShell) In PowerShell, you can create a task and run the program on behalf of TrustedInstaller, although without interactivity: $a = New-ScheduledTaskAction -Execute "cmd.exe" Register-ScheduledTask -TaskName 'TI' -Action $a $svc = (New-Object -ComObject 'Schedule.Service'); $svc.Connect() $task = $svc.GetFolder('\').GetTask('TI') $task.RunEx($null, 0, 0, 'NT SERVICE\TrustedInstaller') Works, but is not suitable if you need an interactive Super User window . Through third-party utilities NSudo is the most popular. There are PowerRun, PsExec and others, but GodMode.exe is not one of them. And in general, listen less to Krylov's fables
quote Code: GodMode.exe /m /p /c "cmd /k whoami" quote Code: GodMode.exe /m /p /c "cmd /k whoami" which fail on windows 11. etc etc. ................... anyway, darki think, it can be re compile in better way, so, it will have 0/72, i will find a way.
The description for this utility says: Godmode.exe - Windows utility to run any command or process with the highest privileges. It sounds tempting and I would like to try it, but I don't understand how to write a command with this utility. Probably something like this - will try different command line options: Code: “%~dp0Data\Tools\amd64\GodMode.exe" /m /p /c “%~dp0Default.cmd” p.s. No, no matter how I tried different interpretations of the command line, it didn't work! So, for now, I'll leave everything as it was, as it worked fine for me - NSUDO.
try this 3 diffrent way's Code: GodMode /m /p /c "cmd /k D:\Software\Scripts\Privacy\MUST-H~1.CMD" GodMode /m /p /c "D:\Software\Scripts\Privacy\must-have privacy policies for windows.cmd" GodMode /d /m /p /c "cmd /k ""D:\Software\Scripts\Privacy\must-have privacy policies for windows.cmd"""