Benutzer-Werkzeuge

Webseiten-Werkzeuge


autosetup

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
autosetup [2024/05/01 18:35] edvcautosetup [2025/09/16 21:45] (aktuell) edvc
Zeile 4: Zeile 4:
 @echo off @echo off
 setlocal setlocal
-set version=2040227_2339+set version=20250204_1612
 echo %version% echo %version%
 echo %version% > c:\edvc-autosetup.txt echo %version% > c:\edvc-autosetup.txt
Zeile 29: Zeile 29:
  
 set win10pin=1 set win10pin=1
-set block_w11=1 
  
 set teamviewerhost=1 set teamviewerhost=1
Zeile 66: Zeile 65:
 set putty=0 set putty=0
 set winbox=0 set winbox=0
-set advanced-ip-scanner=0+set angryip=0
 set wireguard=0 set wireguard=0
 set zerotier=0 set zerotier=0
 set hwinfo=0 set hwinfo=0
 +set unigetui=0
  
 set parallelsclient=0 set parallelsclient=0
Zeile 97: Zeile 97:
  
 echo lets start echo lets start
-curl "https://g.krainz-edv.at/message?token=AhsJYIW3_Uy.BeE" -F "title=%computername%" -F "message=autosetup %version% started" -F "priority=5"+rem curl "https://g.krainz-edv.at/message?token=AhsJYIW3_Uy.BeE" -F "title=%computername%" -F "message=autosetup %version% started" -F "priority=5"
 if puppet equ 1 goto choco if puppet equ 1 goto choco
  
Zeile 106: Zeile 106:
 @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://cfg.krainz-edv.at/doku.php?do=export_code&id=printer&codeblock=0'))" @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://cfg.krainz-edv.at/doku.php?do=export_code&id=printer&codeblock=0'))"
 echo done echo done
-:next 
- 
-if %block_w11% equ 0 goto next 
-echo block windows 11 update 
- 
-reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AU" /v NoAutoUpdate /t REG_DWORD /d 1 /f 
- 
 :next :next
  
Zeile 178: Zeile 171:
 echo kill teamviewer echo kill teamviewer
 C:\ProgramData\chocolatey\bin\choco.exe install -y teamviewer.host --ignore-checksum C:\ProgramData\chocolatey\bin\choco.exe install -y teamviewer.host --ignore-checksum
-del %public%\desktop\"teamviewer.lnk"+del %public%\desktop\"teamviewer*.lnk"
 echo done echo done
 :next :next
Zeile 249: Zeile 242:
 echo installing foxit reader echo installing foxit reader
 C:\ProgramData\chocolatey\bin\choco.exe install -y foxitreader C:\ProgramData\chocolatey\bin\choco.exe install -y foxitreader
 +reg add HKLM\Software\Policies\Foxit\Reader\Ribbon\Ribbon_Category_Help\Help_Panel_Registration /v Help_Registration_Registration /t REG_DWORD /d 0 /f
 +reg add HKLM\Software\Policies\Foxit\Reader\Preferences /v DisableUpdate /t REG_DWORD /d 0 /f
 +del %public%\"desktop\foxit pdf reader.lnk"
 echo done echo done
 :next :next
Zeile 310: Zeile 306:
 :next :next
  
-if %advanced-ip-scanner% equ 0 goto next +if %angryip% equ 0 goto next 
-echo installing advanced ip scanner +echo installing angry ip scanner 
-C:\ProgramData\chocolatey\bin\choco.exe install -y advanced-ip-scanner +C:\ProgramData\chocolatey\bin\choco.exe install -y angryip
-del %public%\desktop\"advanced ip scanner.lnk"+
 echo done echo done
 :next :next
Zeile 336: Zeile 331:
 :next :next
  
 +if %unigetui% equ 0 goto next
 +echo installing unigetui (former wingetui)
 +C:\ProgramData\chocolatey\bin\choco install -y wingetui
 +echo done
 +:next
  
 if %parallelsclient% equ 0 goto next if %parallelsclient% equ 0 goto next
Zeile 437: Zeile 437:
 if %treesizefree% equ 0 goto next if %treesizefree% equ 0 goto next
 echo installing treesize free echo installing treesize free
-C:\ProgramData\chocolatey\bin\choco.exe install -y treesizefree+echo latest free version for server 
 +C:\ProgramData\chocolatey\bin\choco.exe install -y treesizefree --version=4.7.2 
 +C:\ProgramData\chocolatey\bin\choco.exe pin --name="treesizefree" --version=4.7.2
 echo done echo done
 :next :next
Zeile 458: Zeile 460:
 echo installing gimp echo installing gimp
 C:\ProgramData\chocolatey\bin\choco.exe install -y gimp C:\ProgramData\chocolatey\bin\choco.exe install -y gimp
 +del %public%\"desktop\gimp*.lnk"
 echo done echo done
 :next :next
Zeile 544: Zeile 547:
 :end :end
 echo finished echo finished
-curl "https://g.krainz-edv.at/message?token=AhsJYIW3_Uy.BeE" -F "title=%computername%" -F "message=autosetup %version% finished" -F "priority=5"+rem curl "https://g.krainz-edv.at/message?token=AhsJYIW3_Uy.BeE" -F "title=%computername%" -F "message=autosetup %version% finished" -F "priority=5"
 rundll32 user32.dll,MessageBeep rundll32 user32.dll,MessageBeep
 rundll32 user32.dll,MessageBeep rundll32 user32.dll,MessageBeep
Zeile 567: Zeile 570:
  
 <file cmd edvc_choco_quick.cmd> <file cmd edvc_choco_quick.cmd>
-curl "https://g.krainz-edv.at/message?token=AhsJYIW3_Uy.BeE" -F "title=%computername%" -F "message=choco_quick started" -F "priority=5" 
- 
 echo install chocolatey echo install chocolatey
 @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Zeile 578: Zeile 579:
 C:\ProgramData\chocolatey\bin\choco.exe install -y 7zip.install notepadplusplus edvc-ocsinventory  C:\ProgramData\chocolatey\bin\choco.exe install -y 7zip.install notepadplusplus edvc-ocsinventory 
  
 +rem echo installing chrome
 +rem C:\ProgramData\chocolatey\bin\choco.exe install -y googlechrome --ignorechecksum
  
-echo check_mk +echo choco automatisch 
-C:\ProgramData\chocolatey\bin\choco.exe install -y edvc-check_mk-agent +schtasks /create /tn chocoupgrade /sc beimstart /delay 0001:00 /TR "choco upgrade all -y" /np /f 
-"%programfiles(x86)%\checkmk\service\check_mk_agent.exe" remove_legacy +rem schtasks /create /tn chocoupgrade_daily /sc DAILY /mo 1 /st 02:45 /TR "choco upgrade all -y" /np /f
- +
-echo installing chrome +
-C:\ProgramData\chocolatey\bin\choco.exe install -y googlechrome --ignorechecksum +
- +
-echo täglich 3h45 nachts +
-schtasks /create /tn chocoupgrade_daily /sc DAILY /mo 1 /st 03:45 /TR "choco upgrade all -y" /np /f+
  
-curl "https://g.krainz-edv.at/message?token=AhsJYIW3_Uy.BeE" -F "title=%computername%" -F "message=choco_quick done" -F "priority=5" 
 </file> </file>
autosetup.1714588554.txt.gz · Zuletzt geändert: von edvc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki