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/11/12 21:39] edvcautosetup [2026/07/22 15:34] (aktuell) edvc
Zeile 1: Zeile 1:
 autosetup script autosetup script
 +
 +<file cmd edvc_choco_quick.cmd>
 +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"
 +
 +echo add krainz-edv repo
 +C:\ProgramData\chocolatey\bin\choco source add -n=edvc -s "'https://choco.krainz-edv.at/chocolatey'" -u=bitte -p=danke!
 +
 +echo install tools
 +C:\ProgramData\chocolatey\bin\choco.exe install -y 7zip.install notepadplusplus choco-cleaner edvc-ocsinventory 
 +
 +rem echo installing chrome
 +rem C:\ProgramData\chocolatey\bin\choco.exe install -y googlechrome --ignorechecksum
 +
 +echo choco automatisch
 +schtasks /create /tn chocoupgrade /sc beimstart /delay 0001:00 /TR "choco upgrade all -y" /np /f
 +rem schtasks /create /tn chocoupgrade_daily /sc DAILY /mo 1 /st 02:52 /TR "choco upgrade all -y" /np /f
 +
 +</file>
  
 <file cmd edvc-autosetup.cmd> <file cmd edvc-autosetup.cmd>
 @echo off @echo off
 setlocal setlocal
-set version=20241112_2238+set version=20260608_1107
 echo %version% echo %version%
 echo %version% > c:\edvc-autosetup.txt echo %version% > c:\edvc-autosetup.txt
Zeile 29: Zeile 48:
  
 set win10pin=1 set win10pin=1
-set block_w11=1 
  
-set teamviewerhost=1+set splashtopstreamer=1 
 +set teamviewerhost=0
 set teamviewerhost.join=0 set teamviewerhost.join=0
 set teamviewerqs=0 set teamviewerqs=0
Zeile 66: Zeile 85:
 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 117:
  
 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 126:
 @"%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 174: Zeile 187:
 echo done echo done
 :next :next
 +
 +if %splashtopstreamer% equ 0 goto next
 +C:\ProgramData\chocolatey\bin\choco.exe install -y edvc-splashtop-streamer
 +echo done
 +:next
 +
  
 if %teamviewerhost% equ 0 goto next if %teamviewerhost% equ 0 goto next
Zeile 251: Zeile 270:
 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\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 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 312: Zeile 332:
 :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 338: Zeile 357:
 :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 439: Zeile 463:
 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 460: Zeile 486:
 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 546: Zeile 573:
 :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 568: Zeile 595:
 https://github.com/Ad3t0/windows#windows-server-isos https://github.com/Ad3t0/windows#windows-server-isos
  
-<file cmd edvc_choco_quick.cmd> 
-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" 
- 
-echo add krainz-edv repo 
-C:\ProgramData\chocolatey\bin\choco source add -n=edvc -s "'https://choco.krainz-edv.at/chocolatey'" -u=bitte -p=danke! 
- 
-echo install tools 
-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 choco automatisch 
-schtasks /create /tn chocoupgrade /sc beimstart /delay 0001:00 /TR "choco upgrade all -y" /np /f 
-rem schtasks /create /tn chocoupgrade_daily /sc DAILY /mo 1 /st 02:45 /TR "choco upgrade all -y" /np /f 
- 
-</file> 
autosetup.1731447543.txt.gz · Zuletzt geändert: von edvc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki