This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
userspace:win7_firewall_updates_and_other_cconfigs [2014/11/17 13:59] Thomas_H created |
userspace:win7_firewall_updates_and_other_cconfigs [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | work in Progress | + | ====== Product : Win7-Config (Firewall, Updates and other) ====== |
+ | Script by --- // | ||
+ | Tested with opsi 4.0.1 \\ | ||
+ | Test with W7 32 & 64 Bit \\ | ||
+ | The installion-files for Screen Resolution Changer (qres.exe) are available at : [[http:// | ||
+ | Feel free to contact me for questions or errors. | ||
+ | |||
+ | This script is doing the following: | ||
+ | |||
+ | - Set Screen Resolution to 1280 * 1024\\ | ||
+ | - Activate AutoUpdates\\ | ||
+ | - opens Remotedesktop\\ | ||
+ | - Activate Firewall\\ | ||
+ | - Reset Firewall (delete all rules)\\ | ||
+ | - Add VNCServer to Firewall\\ | ||
+ | - Add VNCViewer to Firewall\\ | ||
+ | - Open opsiclientd-control-port 4441 in Firewall\\ | ||
+ | - Open remotedesktop in Firewall | ||
+ | |||
+ | For more options please feel free to add them under the script. | ||
+ | |||
+ | Tree: \\ | ||
+ | < | ||
+ | DATA_CLIENT | ||
+ | ├ win7config.jpg | ||
+ | ├ setup.ins | ||
+ | └ qres.exe | ||
+ | </ | ||
+ | |||
+ | ===== setup.ins ===== | ||
+ | <code winst> | ||
+ | [Initial] | ||
+ | Message= Windows7-Settings | ||
+ | SetLogLevel=6 | ||
+ | ExitOnError=false | ||
+ | ScriptErrorMessages=true | ||
+ | TraceMode=off | ||
+ | |||
+ | ShowBitmap " | ||
+ | if FileExists64(" | ||
+ | |||
+ | registry_rdp /64Bit | ||
+ | registry_update /64Bit | ||
+ | DosBatch_1 | ||
+ | else | ||
+ | registry_rdp /32Bit | ||
+ | registry_update /32Bit | ||
+ | DosBatch_1 | ||
+ | endif | ||
+ | |||
+ | |||
+ | [registry_rdp] | ||
+ | openkey [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] | ||
+ | set " | ||
+ | |||
+ | [registry_update] | ||
+ | openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU] | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | |||
+ | [DosBatch_1] | ||
+ | %scriptpath%\qres.exe /x:1280 /y:1024 | ||
+ | c: | ||
+ | c: | ||
+ | c: | ||
+ | c: | ||
+ | c: | ||
+ | c: | ||
+ | c: | ||
+ | |||
+ | shutdown /r /f /t 0 | ||
+ | </ | ||
+ | |||
+ | More options are following here. Add them to setup.ins as described in comments. | ||
+ | |||
+ | ===== more options ===== | ||
+ | === - Open Firewall for AVG (free) === | ||
+ | <code winst> | ||
+ | # open the firewall for AVG. | ||
+ | # - Add AVG Diagnose 2014 to Firewall | ||
+ | # - Add AVG Online Shield to Firewall | ||
+ | # - Add AVG Personal Email Scanner to Firewall | ||
+ | # - Add AVG Installation Program to Firewall | ||
+ | # | ||
+ | # Add this to the [Dos_Batch_1]-Section | ||
+ | |||
+ | c: | ||
+ | c: | ||
+ | c: | ||
+ | c: | ||
+ | </ |