Commit graph

483 commits

Author SHA1 Message Date
32030e1455 Add a function for removing desktop icons 2023-07-16 12:32:46 +02:00
18b1ae071c Remove unnecessary code 2023-07-16 11:41:29 +02:00
3d23ce78bc Always forcefully restart computer 2023-07-16 11:30:20 +02:00
126c130f83 Always forcefully restart computer as backup plan 2023-07-16 11:21:58 +02:00
93b41e9f0a Fix non-functioning code 2023-07-16 10:55:25 +02:00
4fd85abf67 Forcefully restart computer if restarting doesn't work 2023-07-16 02:17:03 +02:00
54542203e5 Add missing statement 2023-07-16 02:01:31 +02:00
6419257cd8 Simplify file name detection in URLs 2023-07-16 01:56:51 +02:00
e49d6af4e1 Fix typo 2023-07-16 01:48:53 +02:00
63e9bc36ca Refactor detection of url file name 2023-07-16 01:46:57 +02:00
c087724fe4 Remove non-existent driver 2023-07-16 01:34:00 +02:00
0b08f97a63 Fix non-functioning code 2023-07-16 01:27:38 +02:00
df0ba4da11 Ignore non-functioning update 2023-07-16 01:22:43 +02:00
055f1706f9 Disable unnecessary errors 2023-07-15 22:32:22 +02:00
4a42abdbe4 Only import selenium if existent 2023-07-15 22:23:28 +02:00
f3b964fd87 Remove unnecessary statements 2023-07-15 22:19:48 +02:00
36cfa519ed Reboot after installing drivers 2023-07-15 21:40:14 +02:00
7c67d03a13 Add a script for installing Tobii EyeX 2023-07-15 21:37:52 +02:00
9213a3d9f9 Remove non-functioning code 2023-07-15 21:34:25 +02:00
70018f8448 Include missing files 2023-07-15 21:32:30 +02:00
1ba9000da6 Add driver for thread ripper 2950x 2023-07-15 21:23:20 +02:00
d50b9e97b3 Try deleting cookie banner in case of an error 2023-07-15 21:05:37 +02:00
55ec81b4f0 Delete cookie banner only if necessary 2023-07-15 21:03:22 +02:00
cc8921ff73 Try to delete obscuring cookie banner 2023-07-15 20:56:33 +02:00
6e766bf73a Refactor amd driver download 2023-07-15 20:42:25 +02:00
d2f57c832a Allow invokation of custom downloads 2023-07-15 20:38:44 +02:00
981e6d739c Fix selector of download button for AMD drivers 2023-07-15 20:32:43 +02:00
e57b8293c2 Add missing argument to amd installation script 2023-07-15 20:23:40 +02:00
0d69995cdd Refactor amd driver installation script 2023-07-15 20:22:51 +02:00
1d2bafeb69 Call proper method for closing automated browser 2023-07-15 20:04:25 +02:00
06dd879887 Fix malfunctioning download checker 2023-07-15 19:56:45 +02:00
4eb23fee10 Clean up after automated download 2023-07-15 19:53:20 +02:00
6874aed162 Improve reWASD installation 2023-07-15 19:52:34 +02:00
15977d0a97 Improve automated downloads 2023-07-15 19:47:56 +02:00
93f97e2fed Fix broken download detection 2023-07-15 19:41:43 +02:00
7db3d35e86 Refactor function for waiting for download 2023-07-15 19:37:30 +02:00
164430e9b4 Try waiting for file download 2023-07-15 19:33:12 +02:00
383d2467f7 Fix incorrect code 2023-07-15 19:19:42 +02:00
c3babffe14 Add Firefox as a prerequisite 2023-07-15 19:18:56 +02:00
09422bd435 Add script for automatically executing interactive downloads 2023-07-15 19:05:25 +02:00
5f81457d60 Fix non-functioning code 2023-07-15 18:45:44 +02:00
61c066c480 Install prerequisites for Selenium 2023-07-15 18:24:26 +02:00
7e4b132644 Add console output 2023-07-15 12:25:42 +02:00
de58359af4 Execute web requests only once 2023-07-15 12:24:04 +02:00
60d9691f45 Try fixing non-functioning scripts 2023-07-15 12:21:38 +02:00
cfd7c17fc7 Add script for installing amd chipset driver 2023-07-15 12:18:13 +02:00
f6bc1a624b Add further asus drivers 2023-07-15 11:53:45 +02:00
dca1e2a4e7 Reorder statements properly 2023-07-15 11:36:41 +02:00
23ece1b9db Add marvell ethernet driver 2023-07-15 11:35:07 +02:00
6eefc472fb Rename driver installation function 2023-07-15 11:33:42 +02:00
7f3144e482 Add a script for installing asus packages 2023-07-15 11:33:05 +02:00
629978a897 Allow driver installation during setup 2023-07-14 09:24:13 +02:00
6bafeffaae Remove unnecessary statement 2023-07-13 19:35:19 +02:00
9e1f872a66 Install Firefox before nextcloud 2023-07-13 19:03:52 +02:00
5536d73b73 Enable choco feature first 2023-07-13 01:30:27 +02:00
5ff7726d23 Add EOL to the end of all files 2023-07-12 22:44:20 +02:00
487c83afb2 Add she-bang to all files 2023-07-12 22:37:31 +02:00
c02dc0816a Try automating osu!lazer installer 2023-07-12 18:23:59 +02:00
e64de7147a Automatically download TrackMania United setup 2023-07-12 18:11:55 +02:00
48a9234081 Reorder steps of windows restoration 2023-07-12 18:05:38 +02:00
516d5caa88 Install Firefox before anything else 2023-07-11 22:25:05 +02:00
c14d1695c8 Prevent restoration context from being overwritten 2023-07-11 18:22:14 +02:00
9f46580fa1 Fix non-functioning code 2023-07-10 21:22:31 +02:00
a6e6d77c97 Refactor the determination of the nextcloud path 2023-07-03 22:54:30 +02:00
19ad2e270a Enable UAC on cleanup 2023-07-03 14:35:16 +02:00
d3dfc4c523 Fix incorrect statement 2023-07-03 14:34:39 +02:00
eba9429d79 Only perform upgrade as an administrator 2023-07-03 14:33:55 +02:00
0996dbecaf Move UAC handling to context 2023-07-03 13:44:51 +02:00
98dfa910be Fix incorrect order of commands 2023-07-03 13:43:58 +02:00
d96a1bf913 Clean up after restoration 2023-07-03 13:24:36 +02:00
43f6e2e44a Fix typo 2023-07-03 12:44:36 +02:00
12500b1993 Relocate windows installation partition 2023-07-03 12:37:02 +02:00
e8a6492566 Suppress unnecessary errors 2023-07-03 01:14:34 +02:00
e2de8ec4b4 Fix typo 2023-07-03 01:10:44 +02:00
77a9287238 Change order of operations when editing sync 2023-07-03 00:59:11 +02:00
3644e43d76 Ensure content is being read before written 2023-07-03 00:58:21 +02:00
d85cea9cb2 Refactor manipulation of nextcloud sync file 2023-07-03 00:47:21 +02:00
0a7851fabe Fix syntax error 2023-07-03 00:35:40 +02:00
b37430fa2b Try fixing the Add-Content command 2023-07-03 00:15:11 +02:00
333418e357 Fix potential typo 2023-07-03 00:02:00 +02:00
0d34e3d8bf Remove unnecessary desktop shortcuts 2023-07-02 23:31:56 +02:00
63d5513817 Try fixing the nextcloud sync creation 2023-07-02 23:29:58 +02:00
7361eb583a Refactor string substitution 2023-07-02 21:49:00 +02:00
78a296fdf1 Fix logic of setting up syncs 2023-07-02 20:45:25 +02:00
854839edcf Activate features if not enabled 2023-07-02 19:00:25 +02:00
e38ae40c8e Ignore checksums during the RetroArch installation 2023-07-02 18:57:10 +02:00
a93627fc25 Only process osu! settings if existent 2023-07-02 18:46:06 +02:00
a736a62609 Add missing Pop-Location statement 2023-07-02 18:45:38 +02:00
e3061750a3 Remove downloaded TMUF installer 2023-07-02 18:22:02 +02:00
87d74a48f0 Set a default value for the TMUF exe 2023-07-02 18:05:48 +02:00
1b491e1d23 Install missing features for TrackMania 2023-07-02 18:05:06 +02:00
f603b690a4 Allow unawaited installation of winget packages 2023-07-02 17:55:42 +02:00
1354856096 Enforce the activation of DirectPlay 2023-07-02 17:53:28 +02:00
a5bf93f5ed Kill Nextcloud while editing config 2023-07-02 17:38:44 +02:00
8d28171c6c Add install statements for code editors 2023-07-02 16:46:58 +02:00
fd7d1a3d81 Install game launchers 2023-07-02 16:18:58 +02:00
88c2ec10c4 Execute Visual Studio restoration 2023-07-02 16:15:08 +02:00
ca681c1497 Add a script for restoring Visual Studio 2023-07-02 16:14:10 +02:00
d6df09358c Fix non-functioning script 2023-07-02 16:07:47 +02:00
8daed09ab8 Add a script for restoring reWASD 2023-07-02 16:05:04 +02:00
12810e93d6 Add a script for installing RetroArch 2023-07-02 15:58:36 +02:00
63875268ea Add a script for adding nextcloud sync 2023-07-02 15:44:47 +02:00
8dadaa875a Add script for restoring putty 2023-07-02 15:16:24 +02:00
e416032f28 Add a script for installing osu!lazer 2023-07-02 15:12:56 +02:00
1f41450a0a Add script for installing osu! 2023-07-02 14:42:17 +02:00
7437b99c0f Add a script for installing ManiaPlanet 2023-07-02 14:00:33 +02:00
64cd0adf85 Add a script for installing TrackMania United 2023-07-02 13:58:23 +02:00
a8d55ccd64 Add log messages 2023-07-02 13:53:19 +02:00
7275419c1a Add a script for installing TrackMania Nations 2023-07-02 13:50:19 +02:00
f58ce2bfe9 Refactor nextcloud installation check 2023-07-01 04:33:07 +02:00
6e02c8b903 Add step for restoring LGHUB 2023-06-30 14:24:51 +02:00
c6907d6eec Add log messages for all installation steps 2023-06-30 14:23:20 +02:00
9ffa903626 Show info if backup archive does not exist 2023-06-30 14:15:48 +02:00
9aa9ad4558 Add a script for restoring LGHub 2023-06-30 14:10:31 +02:00
fb3ec54c13 Restart computer after setting up Nextcloud 2023-06-30 14:01:07 +02:00
b9aa78ec0d Ensure Let's Encrypt certificates work 2023-06-30 13:58:28 +02:00
010fc4342e Wait for user to log in to nextcloud 2023-06-30 13:18:12 +02:00
550cb86241 Add step for installing Nextcloud 2023-06-30 13:17:00 +02:00
7b9392a539 Remove unnecessary file when installing git 2023-06-30 13:11:08 +02:00
c9094c7d04 Create separate script for handling app backups 2023-06-30 12:24:12 +02:00
9758a6428f Rename powershell command 2023-06-30 12:19:54 +02:00
8e4f0ccd9a Remove unnecessary config values 2023-06-30 12:01:18 +02:00
821db151cb Delete auto login task 2023-06-30 11:58:16 +02:00
0317031d9a Fix deletion of unnecessary tasks 2023-06-30 11:57:50 +02:00
57f4ffd0e4 Remove stage reference after removing admin account 2023-06-30 11:54:32 +02:00
55d6d92b0b Fix further typos 2023-06-30 04:47:31 +02:00
eadbde8e2e Fix typo 2023-06-30 04:36:28 +02:00
5d0b77035f Refactor removal of configuration values 2023-06-30 04:34:40 +02:00
24466aef7a Remove admin account in a separate stage 2023-06-30 04:29:59 +02:00
fa0a0356a4 Fix broken query 2023-06-30 04:26:19 +02:00
a122795f38 Set proper boundaries for event numbers 2023-06-30 03:40:04 +02:00
3299ff78c0 Fix typo 2023-06-30 03:38:18 +02:00
0806391cd2 Fix broken statement 2023-06-30 02:49:00 +02:00
1496513c2f Fix incorrect function call 2023-06-30 02:40:15 +02:00
33b6bca4dd Fix writing of registry config values 2023-06-30 02:34:52 +02:00
865329e188 Persist custom acl 2023-06-30 01:57:45 +02:00
ee89445da6 Fix regedit access rights 2023-06-30 00:55:42 +02:00
2a6829af09 Prompt for continuation on error 2023-06-29 20:33:56 +02:00
2f959ff6ac Allow anyone to edit config 2023-06-29 20:02:12 +02:00
c1979a1197 Add code for enabling autologin 2023-06-29 20:01:54 +02:00
e235d70bc0 Allow registering multiple scheduled tasks 2023-06-29 19:40:54 +02:00
34859556f0 Dynamically determine task triggers 2023-06-29 19:24:42 +02:00
12c7e68086 Store task name in function 2023-06-29 19:18:50 +02:00
6f011a2600 Detect current step using stages 2023-06-29 19:13:33 +02:00
32fd5aa572 Add method for removing the current stage 2023-06-29 19:13:17 +02:00
a79a330e2a Mute unwanted output 2023-06-29 19:11:41 +02:00
7f71def89e Add a method for removing config values 2023-06-29 19:11:16 +02:00
aa5d71eb4f Add methods for getting or setting the current stage 2023-06-29 19:08:05 +02:00
d8d6386fe3 Rename misleading functions 2023-06-29 19:05:22 +02:00
5bbe1e3733 Allow storing settings using the context 2023-06-29 19:03:31 +02:00
775f6a1c10 Rearrange UAC disablement 2023-06-29 17:29:42 +02:00
2dbd1a9fed Reorder UAC disablement steps 2023-06-29 17:27:00 +02:00
0137fd56f3 Re-enable RunOnce creation for new users 2023-06-29 15:05:06 +02:00
858679a36a Add missing argument to SchTasks 2023-06-29 14:22:21 +02:00
cba6e514bb Refactor UAC enablement 2023-06-29 04:05:12 +02:00
35cafdacef Forcefully shut down computer 2023-06-29 02:57:10 +02:00
c88c6fbfce Fix non-functioning scheduled task 2023-06-29 02:54:31 +02:00
edd97b991f Fix incorrect script 2023-06-29 02:54:09 +02:00
2f6ee57525 Fix quotation 2023-06-29 02:53:54 +02:00
ecf6b0c573 Reboot computer after preparation 2023-06-29 02:24:46 +02:00
0f203caaa7 Try fixing UAC properly 2023-06-29 01:51:30 +02:00
cbb3d329f9 Clean up environment after personal user creation 2023-06-28 22:50:59 +02:00
39c2db4414 Add script for enabling autologin 2023-06-28 22:50:39 +02:00
fcc02320ea Disable local admin during setup 2023-06-28 22:36:40 +02:00
f791ec1eff Add a method for cleaning up artifacts during setup 2023-06-28 22:28:22 +02:00
bf59f2e3a3 Add log messages 2023-06-28 22:10:23 +02:00
1aabdc228e Change name of UAC disabler 2023-06-28 22:08:20 +02:00
94a5f09aa4 Disable scheduled task registration 2023-06-28 22:07:18 +02:00
2b1b9cb449 Add missing semicolon 2023-06-28 22:06:46 +02:00
03086d1052 Refactor creation of scheduled task action 2023-06-28 22:06:35 +02:00
c3d8e79fcf Force Scheduled Task Unregistration 2023-06-28 21:20:59 +02:00
6a4ff4645a Remove unnecessary statement 2023-06-28 13:43:20 +02:00
c90d2f7cdd Clean up handles during reg key handling 2023-06-28 13:40:56 +02:00
54d80b4bb5 Mute console output 2023-06-28 12:35:06 +02:00
20d58b32d1 Fix incorrect code statement 2023-06-28 12:32:46 +02:00
412b23cfc2 Enable UAC during Microsoft Account login 2023-06-28 11:48:08 +02:00
1f82f78c7f Rename user using PowerShell function call 2023-06-27 00:57:24 +02:00
cdf07a5d54 Rename user using wmic 2023-06-26 02:14:44 +02:00
45be15723e Allow disabling auto admin login 2023-06-25 18:48:13 +02:00
c2c3210515 Disable auto login after user creation 2023-06-25 18:26:06 +02:00
63906c53ce Add scripts for handling auto login 2023-06-25 18:25:52 +02:00
9cd6834819 Exit script after rebooting 2023-06-25 18:11:56 +02:00
2320c9dbf4 Restart computer after creating personal user 2023-06-25 18:11:30 +02:00
13e5346063 Remove RunOnce key on deregistering 2023-06-25 18:10:23 +02:00
805394463a Unload registry hive after editing 2023-06-25 18:09:47 +02:00
b61c6d1d60 Create RunOnce key if inexistent 2023-06-25 18:05:55 +02:00
5e27e16a85 Fix incorrect default user path 2023-06-25 17:57:23 +02:00
294eb7839a Fix key name for reg load 2023-06-25 17:57:06 +02:00
972e1b6584 Fix incomplete command 2023-06-25 17:02:44 +02:00
fb41e37fa2 Fix registry editing commands 2023-06-25 17:01:38 +02:00
eed0ddc82b Fix non-functioning code 2023-06-25 16:54:10 +02:00
0b2e2744b0 Refactor registry value handling 2023-06-25 16:48:21 +02:00
416facf2a0 Return path to RunOnce key instead of item 2023-06-25 16:45:33 +02:00
a1b8e9d9aa Fix non-functioning code 2023-06-25 16:33:04 +02:00
87d7aa36c0 Fix resolving of the RunOnce key 2023-06-25 16:28:12 +02:00
1e62f6f9de Fix broken code statement 2023-06-25 16:14:08 +02:00
94c74c8468 Allow parameterless handling of reboot registration 2023-06-25 15:36:58 +02:00
00a8337013 Add missing import 2023-06-25 15:20:58 +02:00
2ebbf3b505 Remove unnecessary statements 2023-06-25 15:19:48 +02:00
38a1e3a225 Fix reboot registration 2023-06-25 15:05:59 +02:00
4fb085a782 Change path of powershell scripts 2023-06-25 13:43:46 +02:00
ebcac5536d Refactor the format of the Autounattend.xml file 2023-06-25 11:49:50 +02:00
0ba664eb51 Make the script start for all new users 2023-06-23 20:16:47 +02:00
95981f4d3c Add functions for registering RunOnce for new users 2023-06-23 20:08:31 +02:00
a985ac56d3 Adjust log messages accordingly 2023-06-23 14:04:46 +02:00
fd3df6110e Reboot after creating a new user 2023-06-23 14:04:39 +02:00
5bc48ca478 Remove unnecessary statements 2023-06-23 14:03:03 +02:00
63ccde7031 Fix non-functioning code 2023-06-23 12:34:12 +02:00
1eb8875757 Exclude the Guest user 2023-06-23 02:34:53 +02:00
706b78d9cf Ignore automated accounts 2023-06-23 01:51:29 +02:00
88179df651 Add verbose logs 2023-06-23 00:20:30 +02:00
461c04d1b7 Fix password creation 2023-06-22 23:41:43 +02:00
b210e1e847 Fix one more typo 2023-06-22 23:39:49 +02:00
0f16e1af6c Fix typo 2023-06-22 23:38:25 +02:00
2c1ea94d97 Loop user creation until it exists 2023-06-22 23:36:45 +02:00
686251b0f7 Prevent future auto logins 2023-06-22 23:04:13 +02:00
2365d3320c Centralize script for rebooting 2023-06-22 22:58:54 +02:00
4668ffc42a Add scripts for creating user 2023-06-22 22:56:43 +02:00
4a88657bf5 Fix handling windows paths 2023-06-22 21:23:36 +02:00
7c4ffba421 Install git using linux scripts 2023-06-22 20:58:58 +02:00
e064c3fd01 Add a script for restoring git 2023-06-22 20:44:40 +02:00
0ccc870584 Add further log messages 2023-06-22 19:02:02 +02:00
c45a659aaa Add scripts for restoring files 2023-06-22 18:44:31 +02:00
b4dd114ba4 Remove unnecessary code 2023-06-22 18:40:01 +02:00
535d4579a6 Create backup directory if necessary 2023-06-22 18:37:35 +02:00
a99314afa8 Fix backup path inquiry 2023-06-22 18:36:29 +02:00
6a57e2cbaf Fix non-functioning code 2023-06-22 18:34:05 +02:00
55ba435699 Add missing import 2023-06-22 17:53:12 +02:00
b7db441579 Prevent reboot prompts 2023-06-22 17:33:14 +02:00
9180ca96ef Refactor log levels 2023-06-22 17:32:36 +02:00
b4d6b651b6 Fix windows update automation 2023-06-22 17:32:05 +02:00
22c55f2729 Disable verbose logs 2023-06-22 17:28:29 +02:00
3ab7bb9e64 Make pwsh show all messages 2023-06-22 17:27:43 +02:00
aaed1891bc Fix module installation check 2023-06-22 17:22:45 +02:00
ba5fde3d3a Automatically restart the computer 2023-06-22 17:19:00 +02:00
f39076dbff Add log messages 2023-06-22 17:18:50 +02:00
879f34f22a Add missing import 2023-06-22 17:06:45 +02:00
10e205c122 Fix format of resulting .xml file 2023-06-22 16:50:40 +02:00
95e770f4c9 Save windows config file after editing 2023-06-22 16:17:02 +02:00
7332049a76 Fix typos 2023-06-22 16:11:32 +02:00
e37c0c8093 Fix use of namespaced xml 2023-06-22 16:05:10 +02:00
a822f5f32e Fix broken setup script 2023-06-22 15:43:16 +02:00
62c1f4ab43 Allow dynamic setup of windows 2023-06-21 22:10:19 +02:00
52834fcd92 Rearrange installation scripts 2023-06-21 22:04:18 +02:00
0a5c50a446 Allow setup without backup archive 2023-06-18 20:11:49 +02:00
b40ba593a3 Add dedicated script for installing prerequisites 2023-06-18 19:58:01 +02:00
4338ba08eb Accept context for windows restoration 2023-06-16 20:30:53 +02:00
db17c2c42c Use temporary directory for restoration 2023-06-16 20:27:07 +02:00
f99b180f98 Centralize method for creating temporary directories 2023-06-16 20:25:43 +02:00
f4198ff39d Allow specifying a custom backup root 2023-06-16 20:24:37 +02:00