install-rustdesk.bat aktualisiert
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
echo Deaktiviere und loesche pcvisit Dienste...
|
echo Deaktiviere und loesche pcvisit / caloa Dienste...
|
||||||
:: Sucht alle pcvisit-Dienste, stoppt sie, deaktiviert sie und entfernt sie komplett aus Windows
|
:: Sucht nun nach pcvisit UND caloa Diensten, stoppt und loescht sie
|
||||||
powershell -Command "Get-Service -Name '*pcvisit*' -ErrorAction SilentlyContinue | ForEach-Object { Stop-Service -Name $_.Name -Force -ErrorAction SilentlyContinue; Set-Service -Name $_.Name -StartupType Disabled -ErrorAction SilentlyContinue; sc.exe delete $_.Name }" >nul 2>&1
|
powershell -Command "Get-Service -Name '*pcvisit*', '*caloa*' -ErrorAction SilentlyContinue | ForEach-Object { Stop-Service -Name $_.Name -Force -ErrorAction SilentlyContinue; Set-Service -Name $_.Name -StartupType Disabled -ErrorAction SilentlyContinue; sc.exe delete $_.Name }" >nul 2>&1
|
||||||
|
|
||||||
echo Beende restliche pcvisit Prozesse...
|
echo Beende restliche Prozesse...
|
||||||
powershell -Command "Get-Process -Name '*pcvisit*' -ErrorAction SilentlyContinue | Stop-Process -Force" >nul 2>&1
|
powershell -Command "Get-Process -Name '*pcvisit*', '*caloa*' -ErrorAction SilentlyContinue | Stop-Process -Force" >nul 2>&1
|
||||||
|
|
||||||
echo Fuehre pcvisit Uninstaller aus...
|
echo Fuehre pcvisit Uninstaller aus...
|
||||||
for /f "delims=" %%I in ('dir /b /s "%ProgramFiles(x86)%\pcvisit Software AG\*uninstall*.exe" 2^>nul') do (
|
for /f "delims=" %%I in ('dir /b /s "%ProgramFiles(x86)%\pcvisit Software AG\*uninstall*.exe" 2^>nul') do (
|
||||||
@@ -22,7 +22,6 @@ echo Raeume pcvisit Datei-Reste auf...
|
|||||||
rmdir /S /Q "%ProgramFiles(x86)%\pcvisit Software AG" >nul 2>&1
|
rmdir /S /Q "%ProgramFiles(x86)%\pcvisit Software AG" >nul 2>&1
|
||||||
rmdir /S /Q "%ProgramFiles%\pcvisit Software AG" >nul 2>&1
|
rmdir /S /Q "%ProgramFiles%\pcvisit Software AG" >nul 2>&1
|
||||||
|
|
||||||
|
|
||||||
echo Lade RustDesk herunter...
|
echo Lade RustDesk herunter...
|
||||||
powershell -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri 'https://me-files.vmd55888.de/me-rustdesk-host.exe' -OutFile 'C:\TMP\rustdesk_installer.exe' -UseBasicParsing"
|
powershell -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri 'https://me-files.vmd55888.de/me-rustdesk-host.exe' -OutFile 'C:\TMP\rustdesk_installer.exe' -UseBasicParsing"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user