Commit graph

301 commits

Author SHA1 Message Date
Manuel Thalmann 6481c9898b Restart computer after creating personal user 2023-06-25 18:11:30 +02:00
Manuel Thalmann 232c6d1de4 Remove RunOnce key on deregistering 2023-06-25 18:10:23 +02:00
Manuel Thalmann 284dba9fc3 Unload registry hive after editing 2023-06-25 18:09:47 +02:00
Manuel Thalmann 9990fce5ab Create RunOnce key if inexistent 2023-06-25 18:05:55 +02:00
Manuel Thalmann 1843f455e8 Fix incorrect default user path 2023-06-25 17:57:23 +02:00
Manuel Thalmann 62968784d4 Fix key name for reg load 2023-06-25 17:57:06 +02:00
Manuel Thalmann 2c05bda390 Fix incomplete command 2023-06-25 17:02:44 +02:00
Manuel Thalmann 25d2353233 Fix registry editing commands 2023-06-25 17:01:38 +02:00
Manuel Thalmann 4dbbd1993f Fix non-functioning code 2023-06-25 16:54:10 +02:00
Manuel Thalmann 1eee5e69db Refactor registry value handling 2023-06-25 16:48:21 +02:00
Manuel Thalmann 6546f7b929 Return path to RunOnce key instead of item 2023-06-25 16:45:33 +02:00
Manuel Thalmann 9fbdc118d4 Fix non-functioning code 2023-06-25 16:33:04 +02:00
Manuel Thalmann a13b9f4cd1 Fix resolving of the RunOnce key 2023-06-25 16:28:12 +02:00
Manuel Thalmann df37f30eab Fix broken code statement 2023-06-25 16:14:08 +02:00
Manuel Thalmann 05478a43ef Allow parameterless handling of reboot registration 2023-06-25 15:36:58 +02:00
Manuel Thalmann b4ed674a0a Add missing import 2023-06-25 15:20:58 +02:00
Manuel Thalmann 3852c361e1 Remove unnecessary statements 2023-06-25 15:19:48 +02:00
Manuel Thalmann 4780cd7f09 Fix reboot registration 2023-06-25 15:05:59 +02:00
Manuel Thalmann 355232d875 Change path of powershell scripts 2023-06-25 13:43:46 +02:00
Manuel Thalmann 0c4672db29 Refactor the format of the Autounattend.xml file 2023-06-25 11:49:50 +02:00
Manuel Thalmann a2201f911d Make the script start for all new users 2023-06-23 20:16:47 +02:00
Manuel Thalmann 65042d4d4c Add functions for registering RunOnce for new users 2023-06-23 20:08:31 +02:00
Manuel Thalmann 4060eb61d8 Adjust log messages accordingly 2023-06-23 14:04:46 +02:00
Manuel Thalmann 823bb9f6e0 Reboot after creating a new user 2023-06-23 14:04:39 +02:00
Manuel Thalmann ffc3017702 Remove unnecessary statements 2023-06-23 14:03:03 +02:00
Manuel Thalmann 8f854be194 Fix non-functioning code 2023-06-23 12:34:12 +02:00
Manuel Thalmann a01dd4bb73 Exclude the Guest user 2023-06-23 02:34:53 +02:00
Manuel Thalmann 9f3f81d344 Ignore automated accounts 2023-06-23 01:51:29 +02:00
Manuel Thalmann 68c774d80d Add verbose logs 2023-06-23 00:20:30 +02:00
Manuel Thalmann 774004b006 Fix password creation 2023-06-22 23:41:43 +02:00
Manuel Thalmann 7c3f44d695 Fix one more typo 2023-06-22 23:39:49 +02:00
Manuel Thalmann b93826aee0 Fix typo 2023-06-22 23:38:25 +02:00
Manuel Thalmann 8f82a02ed5 Loop user creation until it exists 2023-06-22 23:36:45 +02:00
Manuel Thalmann 9ed31ffddc Prevent future auto logins 2023-06-22 23:04:13 +02:00
Manuel Thalmann 0f75bd3098 Centralize script for rebooting 2023-06-22 22:58:54 +02:00
Manuel Thalmann 249b4d531c Add scripts for creating user 2023-06-22 22:56:43 +02:00
Manuel Thalmann bc2e4b8acb Fix handling windows paths 2023-06-22 21:23:36 +02:00
Manuel Thalmann f37db11c13 Install git using linux scripts 2023-06-22 20:58:58 +02:00
Manuel Thalmann 52a3750dce Add a script for restoring git 2023-06-22 20:44:40 +02:00
Manuel Thalmann 6237f28b39 Add further log messages 2023-06-22 19:02:02 +02:00
Manuel Thalmann ad078d0dc8 Add scripts for restoring files 2023-06-22 18:44:31 +02:00
Manuel Thalmann e8ccdb2b1f Remove unnecessary code 2023-06-22 18:40:01 +02:00
Manuel Thalmann df56d3e802 Create backup directory if necessary 2023-06-22 18:37:35 +02:00
Manuel Thalmann a484bdc51d Fix backup path inquiry 2023-06-22 18:36:29 +02:00
Manuel Thalmann 98dd4542a5 Fix non-functioning code 2023-06-22 18:34:05 +02:00
Manuel Thalmann bdfe8677be Add missing import 2023-06-22 17:53:12 +02:00
Manuel Thalmann 68b0dc687f Prevent reboot prompts 2023-06-22 17:33:14 +02:00
Manuel Thalmann 5f494526f0 Refactor log levels 2023-06-22 17:32:36 +02:00
Manuel Thalmann c78524ef69 Fix windows update automation 2023-06-22 17:32:05 +02:00
Manuel Thalmann 7593259f33 Disable verbose logs 2023-06-22 17:28:29 +02:00
Manuel Thalmann 8bfec1bb75 Make pwsh show all messages 2023-06-22 17:27:43 +02:00
Manuel Thalmann dbed2f97a8 Fix module installation check 2023-06-22 17:22:45 +02:00
Manuel Thalmann d342c95503 Automatically restart the computer 2023-06-22 17:19:00 +02:00
Manuel Thalmann 933efffc7d Add log messages 2023-06-22 17:18:50 +02:00
Manuel Thalmann 5ca0e4cb01 Add missing import 2023-06-22 17:06:45 +02:00
Manuel Thalmann 74629b9067 Fix format of resulting .xml file 2023-06-22 16:50:40 +02:00
Manuel Thalmann 0e6fe68d44 Save windows config file after editing 2023-06-22 16:17:02 +02:00
Manuel Thalmann afc97d6335 Fix typos 2023-06-22 16:11:32 +02:00
Manuel Thalmann 30a67fac9d Fix use of namespaced xml 2023-06-22 16:05:10 +02:00
Manuel Thalmann fcba6ef763 Fix broken setup script 2023-06-22 15:43:16 +02:00
Manuel Thalmann d9904007c4 Allow dynamic setup of windows 2023-06-21 22:10:19 +02:00
Manuel Thalmann abb8a78f68 Rearrange installation scripts 2023-06-21 22:04:18 +02:00
Manuel Thalmann 21585466fc Allow setup without backup archive 2023-06-18 20:11:49 +02:00
Manuel Thalmann 6e68de3dde Add dedicated script for installing prerequisites 2023-06-18 19:58:01 +02:00
Manuel Thalmann e6e1a298f9 Accept context for windows restoration 2023-06-16 20:30:53 +02:00
Manuel Thalmann 632da03fd3 Use temporary directory for restoration 2023-06-16 20:27:07 +02:00
Manuel Thalmann 988e5bf689 Centralize method for creating temporary directories 2023-06-16 20:25:43 +02:00
Manuel Thalmann ada22de1a8 Allow specifying a custom backup root 2023-06-16 20:24:37 +02:00
Manuel Thalmann 1c312baa6e Add a script for installing windows 2023-06-16 20:24:22 +02:00
Manuel Thalmann dfdb288f1e Add a script for installing windows updates 2023-06-16 20:10:34 +02:00
Manuel Thalmann 757ef3509a Uncomment mistakingly commented line 2023-06-09 19:05:08 +02:00
Manuel Thalmann 496a55863c Fix broken LGHUB backup 2023-06-09 18:51:41 +02:00
Manuel Thalmann 0a4ea5a504 Fix thumbs.db exclusion 2023-06-09 18:51:41 +02:00
Manuel Thalmann 12480c30e1 Add osu screenshots to the backup 2023-06-09 18:51:41 +02:00
Manuel Thalmann 04043d3c0d Refactor LGHUB backup 2023-06-09 18:51:41 +02:00
Manuel Thalmann 03beca17ab Add scripts for backing up applications 2023-06-08 02:29:22 +02:00
Manuel Thalmann 7ce63e7b2e Fix LGHUB backup 2023-06-08 02:29:09 +02:00
Manuel Thalmann 55bbc40b9f Fix incorrect variable overrides 2023-06-08 02:28:33 +02:00
Manuel Thalmann 1e7d34430e Exclude non-functioning folders 2023-06-07 23:55:07 +02:00
Manuel Thalmann 26e2622b52 Rename git directory 2023-06-07 23:06:37 +02:00
Manuel Thalmann 8b1d61e40c Add backup function for git 2023-06-07 22:58:42 +02:00
Manuel Thalmann 658383e206 Fix incorrect file path 2023-06-07 22:56:41 +02:00
Manuel Thalmann 223fccc202 Add a script for managing git 2023-06-07 22:52:34 +02:00
Manuel Thalmann a172926368 Add a script for backing up RetroArch 2023-06-07 22:48:05 +02:00
Manuel Thalmann 0db5d381f7 Add script for backing up reWASD 2023-06-07 22:21:01 +02:00
Manuel Thalmann c00d40f43b Exclude reWASD from public file backup 2023-06-07 22:16:12 +02:00
Manuel Thalmann 9ac965b76f Move files to proper location 2023-06-07 22:15:06 +02:00
Manuel Thalmann 47e6448920 Add script for backing up Visual Studio 2023-06-07 22:13:51 +02:00
Manuel Thalmann 4de4af6cb6 Add script for backing up PuTTY 2023-06-07 21:57:00 +02:00
Manuel Thalmann 7bfcb323bd Add script for backing up LGHub 2023-06-07 20:56:40 +02:00
Manuel Thalmann 3643d19734 Add script for backing up osu!lazer 2023-06-07 20:24:43 +02:00
Manuel Thalmann f9f6ace816 Store osu! scores 2023-06-07 20:12:03 +02:00
Manuel Thalmann 4a23cce9e2 Add script for backing up osu! 2023-06-07 20:02:31 +02:00
Manuel Thalmann 1097560a15 Back up ManiaPlanet packs 2023-06-07 19:45:59 +02:00
Manuel Thalmann ecea99d922 Add script for backing up ManiaPlanet 2023-06-07 19:40:13 +02:00
Manuel Thalmann ecbd54e155 Remove unnecessary Import-Module statements 2023-06-07 19:15:47 +02:00
Manuel Thalmann 3f3a355fde Rename misleading function 2023-06-07 01:33:59 +02:00
Manuel Thalmann 8a0f6a13f8 Add central function for creating backup 2023-06-07 01:32:14 +02:00
Manuel Thalmann 79313a87e4 Add backup script for TmUnitedForever 2023-06-07 01:21:47 +02:00
Manuel Thalmann 8842afc9a3 Add scripts for backing up TmNationsForever 2023-06-07 00:57:16 +02:00
Manuel Thalmann 6f5f9e377c Add scripts for backing up personal files 2023-06-07 00:56:29 +02:00