-
Notifications
You must be signed in to change notification settings - Fork 14
/
Windows-restore-packagelist.cmd
339 lines (181 loc) · 14.2 KB
/
Windows-restore-packagelist.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
REM Following .cmd Windows command script has been tested and works in Windows HVM in Qubes
REM OS 3.2 or in normal install of Windows 7/8.1/10 Pro 64-bit without Qubes OS
REM In Qubes OS, connections to TCP ports 80 and 443 need to be open in Windows HVM
REM Furthermore, Windows HVM needs to use sys-firewall as NetVM, not whonix
REM Last modification date: 2017/11/25
REM Recommended to run this script on SSDs, not on conventional hard disks....
REM This script installs 62 Windows applications and requires 11 GB of free disk space to install
REM Please run following commands in Windows command line (using cmd, NOT Powershell) as administrator:
echo "Show list of locally installed packages - installed using choco package manager for Windows:"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco feature enable -n useFipsCompliantChecksums"
choco list -lo
echo "TO DO: In the RStudio interface, please click on"
echo "'Help', then click on 'Check for Updates' and then click on 'Quit and Download' to get the newest version of RStudio"
echo "TO DO:Replace 127.0.0.1 with 0.0.0.0 in Windows hosts file after running HostsMan application"
echo "in C:\ProgramData\chocolatey\lib\hostsman\"
echo "TO DO:Manually Configure network adapter to use Quad9 DNS server 9.9.9.9"
echo on
pause
mkdir C:\temp
cd c:\temp
echo "Update all currently installed choco packages:"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y ChocolateyPackageUpdater"
cup -y all
echo "Show list of locally installed packages - installed using choco package manager for Windows:"
choco list -lo
echo "TO DO: In the RStudio interface, please click on"
echo "'Help', then click on 'Check for Updates' and then click on 'Quit and Download' to get the newest version of RStudio"
echo "TO DO:Replace 127.0.0.1 with 0.0.0.0 in Windows hosts file after running HostsMan application"
echo "in C:\ProgramData\chocolatey\lib\hostsman\"
echo "TO DO:Manually Configure network adapter to use Quad9 DNS server 9.9.9.9"
echo on
pause
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco feature enable -n useFipsCompliantChecksums"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y binroot"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y PowerShell"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y pscx"
REM the chocolatey package manager currently has 15055 packages (July 31,2015)
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y chocolatey"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y ChocolateyGUI"
REM the nuget package manager currently has 40065 packages (July 31,2015)
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y nuget.commandline"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y nugetpackageexplorer"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y axel"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y curl"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y unzip"
REM Install Internet security suite
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y 360ts"
REM install Hostsman hosts file updater
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y hostsman"
REM Get web browsers
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y Firefox"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y GoogleChrome"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y Opera"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y qupzilla"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y flashplayerplugin"
REM Get E-mail clients and utilities
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y thunderbird"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y mozbackup"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y outlookviewer"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y outlookconverter"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y grepwin"
REM streamlink is replacement for Minitube and allows streaming of Youtube video to VLC player:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y streamlink"
REM ###############################################################################################
REM xboot in Windows is similar to multisystem in Ubuntu
REM xboot is an easy-to-use utility for creating Multiboot USB/ISO
REM ###############################################################################################
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y xboot"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y geforce-game-ready-driver"
REM Get Internet download utilities:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y Wget"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y git"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y osquery"
REM ###############################################################################################
REM Close .cmd command line window and open a new .cmd window to run the next commands.
REM Run following commands in Windows command line (using cmd, NOT Powershell) as administrator:
REM ###############################################################################################
REM ###############################################################################################
REM get sha256sum.exe to check SHA256SUM values of downloaded .iso image files:
REM mkdir C:\temp
REM cd c:\temp
REM wget http://www.labtestproject.com/files/sha256sum/sha256sum.exe
REM ###############################################################################################
REM https://github.com/gurnec/HashCheck
REM https://chocolatey.org/packages/hashcheck
REM The HashCheck Shell Extension makes it easy for anyone to calculate and
REM verify checksums and hashes (SHA3-256 and SHA3-512) from Windows Explorer
REM License: Standard 3-Clause BSD License
REM Download location #1: https://github.com/gurnec/HashCheck/releases/tag/v2.4.0
REM Download location #2: https://chocolatey.org/packages/hashcheck/2.4.0
REM Download location #3 (newest): https://ci.appveyor.com/project/gurnec/hashcheck/build/2.4.1.58-alpha/artifacts
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y hashcheck"
REM Get R and RStudio
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y r.project"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y r.studio"
REM https://mran.microsoft.com/download/
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y microsoft-r-open"
REM show list of locally installed packages - installed using choco package manager for Windows:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco list -lo"
REM jre8 installer hangs; so line below has been disabled
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y jre8"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y 7zip.install"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y 7zip.portable"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y cmder.portable -pre"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y flashplayeractivex"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y FoxitReader"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y eid-belgium"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y alcohol52-free"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y daemontoolslite"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y 7zip"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y aimp"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y vlc"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y mpc-hc"
REM Use http://madshi.net/madVR.zip as DirectShow video renderer for mpc-hc video player when watching 4K movies
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y k-litecodecpackmega"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y clipgrab"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y 7zip.commandline"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y filezilla"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y dropbox"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y skype"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y DotNet4.5"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y paint.net"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y virtualbox"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y VBoxGuestAdditions.install"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y virtualbox.extensionpack"
REM install Android emulator, which depends on Virtualbox:
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y andy"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y libreoffice"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y wps-office-free"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y visioviewer2013"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y pdf24"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y windirstat"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y nomacs"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y cpu-z"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y duplicatecommander -pre"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y qbittorrent"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y steam"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y teamviewer"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y hitmanpro"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y ccleaner"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y emsisoft-anti-malware"
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y combofix"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y vagrant"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y yumi"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y unetbootin"
REM Get device driver management utilities:
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y DellCommandUpdate"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y driverbooster"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y googleearth"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y bleachbit"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y classic-shell"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y javaruntime"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y citrix-receiver"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y ie11"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y adblockplusie"
REM CD Burning software
REM @powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y win32diskimager"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y rufus"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y cdburnerxp"
echo "Show list of locally installed packages - installed using choco package manager for Windows:"
choco list -lo
echo "TO DO: In the RStudio interface, please click on"
echo "'Help', then click on 'Check for Updates' and then click on 'Quit and Download' to get the newest version of RStudio"
echo "TO DO:Replace 127.0.0.1 with 0.0.0.0 in Windows hosts file after running HostsMan application"
echo "in C:\ProgramData\chocolatey\lib\hostsman\"
echo "TO DO:Manually Configure network adapter to use Quad9 DNS server 9.9.9.9"
echo on
pause
echo off
echo "Update all currently installed choco packages:"
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "choco install -y ChocolateyPackageUpdater"
cup -y all
echo "Show list of locally installed packages - installed using choco package manager for Windows:"
choco list -lo
echo "TO DO: In the RStudio interface, please click on"
echo "'Help', then click on 'Check for Updates' and then click on 'Quit and Download' to get the newest version of RStudio"
echo "TO DO:Replace 127.0.0.1 with 0.0.0.0 in Windows hosts file after running HostsMan application"
echo "in C:\ProgramData\chocolatey\lib\hostsman\"
echo "TO DO:Manually Configure network adapter to use Quad9 DNS server 9.9.9.9"
echo on