Commit graph

698 commits

Author SHA1 Message Date
Manuel Thalmann b61c6d1d60 Create RunOnce key if inexistent 2023-06-25 18:05:55 +02:00
Manuel Thalmann 5e27e16a85 Fix incorrect default user path 2023-06-25 17:57:23 +02:00
Manuel Thalmann 294eb7839a Fix key name for reg load 2023-06-25 17:57:06 +02:00
Manuel Thalmann 972e1b6584 Fix incomplete command 2023-06-25 17:02:44 +02:00
Manuel Thalmann fb41e37fa2 Fix registry editing commands 2023-06-25 17:01:38 +02:00
Manuel Thalmann eed0ddc82b Fix non-functioning code 2023-06-25 16:54:10 +02:00
Manuel Thalmann 0b2e2744b0 Refactor registry value handling 2023-06-25 16:48:21 +02:00
Manuel Thalmann 416facf2a0 Return path to RunOnce key instead of item 2023-06-25 16:45:33 +02:00
Manuel Thalmann a1b8e9d9aa Fix non-functioning code 2023-06-25 16:33:04 +02:00
Manuel Thalmann 87d7aa36c0 Fix resolving of the RunOnce key 2023-06-25 16:28:12 +02:00
Manuel Thalmann 1e62f6f9de Fix broken code statement 2023-06-25 16:14:08 +02:00
Manuel Thalmann 94c74c8468 Allow parameterless handling of reboot registration 2023-06-25 15:36:58 +02:00
Manuel Thalmann 00a8337013 Add missing import 2023-06-25 15:20:58 +02:00
Manuel Thalmann 2ebbf3b505 Remove unnecessary statements 2023-06-25 15:19:48 +02:00
Manuel Thalmann 38a1e3a225 Fix reboot registration 2023-06-25 15:05:59 +02:00
Manuel Thalmann 4fb085a782 Change path of powershell scripts 2023-06-25 13:43:46 +02:00
Manuel Thalmann ebcac5536d Refactor the format of the Autounattend.xml file 2023-06-25 11:49:50 +02:00
Manuel Thalmann 0ba664eb51 Make the script start for all new users 2023-06-23 20:16:47 +02:00
Manuel Thalmann 95981f4d3c Add functions for registering RunOnce for new users 2023-06-23 20:08:31 +02:00
Manuel Thalmann a985ac56d3 Adjust log messages accordingly 2023-06-23 14:04:46 +02:00
Manuel Thalmann fd3df6110e Reboot after creating a new user 2023-06-23 14:04:39 +02:00
Manuel Thalmann 5bc48ca478 Remove unnecessary statements 2023-06-23 14:03:03 +02:00
Manuel Thalmann 63ccde7031 Fix non-functioning code 2023-06-23 12:34:12 +02:00
Manuel Thalmann 1eb8875757 Exclude the Guest user 2023-06-23 02:34:53 +02:00
Manuel Thalmann 706b78d9cf Ignore automated accounts 2023-06-23 01:51:29 +02:00
Manuel Thalmann 88179df651 Add verbose logs 2023-06-23 00:20:30 +02:00
Manuel Thalmann 461c04d1b7 Fix password creation 2023-06-22 23:41:43 +02:00
Manuel Thalmann b210e1e847 Fix one more typo 2023-06-22 23:39:49 +02:00
Manuel Thalmann 0f16e1af6c Fix typo 2023-06-22 23:38:25 +02:00
Manuel Thalmann 2c1ea94d97 Loop user creation until it exists 2023-06-22 23:36:45 +02:00
Manuel Thalmann 686251b0f7 Prevent future auto logins 2023-06-22 23:04:13 +02:00
Manuel Thalmann 2365d3320c Centralize script for rebooting 2023-06-22 22:58:54 +02:00
Manuel Thalmann 4668ffc42a Add scripts for creating user 2023-06-22 22:56:43 +02:00
Manuel Thalmann 4a88657bf5 Fix handling windows paths 2023-06-22 21:23:36 +02:00
Manuel Thalmann 7c4ffba421 Install git using linux scripts 2023-06-22 20:58:58 +02:00
Manuel Thalmann e064c3fd01 Add a script for restoring git 2023-06-22 20:44:40 +02:00
Manuel Thalmann 0ccc870584 Add further log messages 2023-06-22 19:02:02 +02:00
Manuel Thalmann c45a659aaa Add scripts for restoring files 2023-06-22 18:44:31 +02:00
Manuel Thalmann b4dd114ba4 Remove unnecessary code 2023-06-22 18:40:01 +02:00
Manuel Thalmann 535d4579a6 Create backup directory if necessary 2023-06-22 18:37:35 +02:00
Manuel Thalmann a99314afa8 Fix backup path inquiry 2023-06-22 18:36:29 +02:00
Manuel Thalmann 6a57e2cbaf Fix non-functioning code 2023-06-22 18:34:05 +02:00
Manuel Thalmann 55ba435699 Add missing import 2023-06-22 17:53:12 +02:00
Manuel Thalmann b7db441579 Prevent reboot prompts 2023-06-22 17:33:14 +02:00
Manuel Thalmann 9180ca96ef Refactor log levels 2023-06-22 17:32:36 +02:00
Manuel Thalmann b4d6b651b6 Fix windows update automation 2023-06-22 17:32:05 +02:00
Manuel Thalmann 22c55f2729 Disable verbose logs 2023-06-22 17:28:29 +02:00
Manuel Thalmann 3ab7bb9e64 Make pwsh show all messages 2023-06-22 17:27:43 +02:00
Manuel Thalmann aaed1891bc Fix module installation check 2023-06-22 17:22:45 +02:00
Manuel Thalmann ba5fde3d3a Automatically restart the computer 2023-06-22 17:19:00 +02:00
Manuel Thalmann f39076dbff Add log messages 2023-06-22 17:18:50 +02:00
Manuel Thalmann 879f34f22a Add missing import 2023-06-22 17:06:45 +02:00
Manuel Thalmann 10e205c122 Fix format of resulting .xml file 2023-06-22 16:50:40 +02:00
Manuel Thalmann 95e770f4c9 Save windows config file after editing 2023-06-22 16:17:02 +02:00
Manuel Thalmann 7332049a76 Fix typos 2023-06-22 16:11:32 +02:00
Manuel Thalmann e37c0c8093 Fix use of namespaced xml 2023-06-22 16:05:10 +02:00
Manuel Thalmann a822f5f32e Fix broken setup script 2023-06-22 15:43:16 +02:00
Manuel Thalmann 62c1f4ab43 Allow dynamic setup of windows 2023-06-21 22:10:19 +02:00
Manuel Thalmann 52834fcd92 Rearrange installation scripts 2023-06-21 22:04:18 +02:00
Manuel Thalmann 0a5c50a446 Allow setup without backup archive 2023-06-18 20:11:49 +02:00
Manuel Thalmann b40ba593a3 Add dedicated script for installing prerequisites 2023-06-18 19:58:01 +02:00
Manuel Thalmann 4338ba08eb Accept context for windows restoration 2023-06-16 20:30:53 +02:00
Manuel Thalmann db17c2c42c Use temporary directory for restoration 2023-06-16 20:27:07 +02:00
Manuel Thalmann f99b180f98 Centralize method for creating temporary directories 2023-06-16 20:25:43 +02:00
Manuel Thalmann f4198ff39d Allow specifying a custom backup root 2023-06-16 20:24:37 +02:00
Manuel Thalmann ac288a913d Add a script for installing windows 2023-06-16 20:24:22 +02:00
Manuel Thalmann 6138ad7ffa Add a script for installing windows updates 2023-06-16 20:10:34 +02:00
Manuel Thalmann c092a039f1 Uncomment mistakingly commented line 2023-06-09 19:05:08 +02:00
Manuel Thalmann 73a070e286 Fix broken LGHUB backup 2023-06-09 18:51:20 +02:00
Manuel Thalmann 3db7fb1ff9 Fix thumbs.db exclusion 2023-06-09 18:21:26 +02:00
Manuel Thalmann 0c08ee555c Add osu screenshots to the backup 2023-06-09 18:05:39 +02:00
Manuel Thalmann b1c27a982b Refactor LGHUB backup 2023-06-08 18:04:03 +02:00
Manuel Thalmann 1edfa9dd3f Add scripts for backing up applications 2023-06-08 02:29:22 +02:00
Manuel Thalmann f9020e3e72 Fix LGHUB backup 2023-06-08 02:29:09 +02:00
Manuel Thalmann e0fd6a6de7 Fix incorrect variable overrides 2023-06-08 02:28:33 +02:00
Manuel Thalmann 24ef21e8d4 Exclude non-functioning folders 2023-06-07 23:55:07 +02:00
Manuel Thalmann f7036abc36 Rename git directory 2023-06-07 23:06:37 +02:00
Manuel Thalmann e812389475 Add backup function for git 2023-06-07 22:58:42 +02:00
Manuel Thalmann 8bed12a582 Fix incorrect file path 2023-06-07 22:56:41 +02:00
Manuel Thalmann 17acfb77ca Add a script for managing git 2023-06-07 22:52:34 +02:00
Manuel Thalmann 70149623e6 Add a script for backing up RetroArch 2023-06-07 22:48:05 +02:00
Manuel Thalmann 3309c5f158 Add script for backing up reWASD 2023-06-07 22:21:01 +02:00
Manuel Thalmann c670771acb Exclude reWASD from public file backup 2023-06-07 22:16:12 +02:00
Manuel Thalmann ba9de1aa3b Move files to proper location 2023-06-07 22:15:06 +02:00
Manuel Thalmann 40564d5374 Add script for backing up Visual Studio 2023-06-07 22:13:51 +02:00
Manuel Thalmann 8e47fae09c Add script for backing up PuTTY 2023-06-07 21:57:00 +02:00
Manuel Thalmann 69485f30ab Add script for backing up LGHub 2023-06-07 20:56:40 +02:00
Manuel Thalmann 2485ae8e47 Add script for backing up osu!lazer 2023-06-07 20:24:43 +02:00
Manuel Thalmann 0df64bc2e6 Store osu! scores 2023-06-07 20:12:03 +02:00
Manuel Thalmann 55d2beadae Add script for backing up osu! 2023-06-07 20:02:31 +02:00
Manuel Thalmann 1f853fa290 Back up ManiaPlanet packs 2023-06-07 19:45:59 +02:00
Manuel Thalmann 50dc1ad189 Add script for backing up ManiaPlanet 2023-06-07 19:40:13 +02:00
Manuel Thalmann 17aaa3ff87 Remove unnecessary Import-Module statements 2023-06-07 19:15:47 +02:00
Manuel Thalmann bfb1379472 Rename misleading function 2023-06-07 01:33:59 +02:00
Manuel Thalmann f6d0f9d594 Add central function for creating backup 2023-06-07 01:32:14 +02:00
Manuel Thalmann a0bb4320d0 Add backup script for TmUnitedForever 2023-06-07 01:21:47 +02:00
Manuel Thalmann 03b4c6f713 Add scripts for backing up TmNationsForever 2023-06-07 00:57:16 +02:00
Manuel Thalmann d0eff6a264 Add scripts for backing up personal files 2023-06-07 00:56:29 +02:00