powershell migration

This commit is contained in:
2025-10-07 21:21:47 +03:00
parent 4829e210e9
commit dc22461901
18 changed files with 158 additions and 97 deletions
+11
View File
@@ -0,0 +1,11 @@
@echo off
setlocal
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
echo Restarting as Admin...
powershell -Command "Start-Process -FilePath '%~dp0apps-manager.bat' -ArgumentList 'disconnect' -Verb RunAs"
exit /b
)
call "%~dp0apps-manager.bat" disconnect
endlocal