15 lines
388 B
Batchfile
15 lines
388 B
Batchfile
|
|
@echo off
|
||
|
|
title AZA Desktop - Clean Uninstall / Reset
|
||
|
|
|
||
|
|
:: Admin-Rechte anfordern (noetig fuer Program Files und Firewall)
|
||
|
|
net session >nul 2>&1
|
||
|
|
if %errorlevel% neq 0 (
|
||
|
|
echo Fordere Administratorrechte an...
|
||
|
|
powershell -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
|
||
|
|
exit /b
|
||
|
|
)
|
||
|
|
|
||
|
|
cd /d "%~dp0"
|
||
|
|
powershell -ExecutionPolicy Bypass -File "tools\aza_clean_uninstall.ps1"
|
||
|
|
pause
|