Commit graph

248 commits

Author SHA1 Message Date
Manuel Thalmann 43f6e2e44a Fix typo 2023-07-03 12:44:36 +02:00
Manuel Thalmann 12500b1993 Relocate windows installation partition 2023-07-03 12:37:02 +02:00
Manuel Thalmann e8a6492566 Suppress unnecessary errors 2023-07-03 01:14:34 +02:00
Manuel Thalmann c9094c7d04 Create separate script for handling app backups 2023-06-30 12:24:12 +02:00
Manuel Thalmann 9758a6428f Rename powershell command 2023-06-30 12:19:54 +02:00
Manuel Thalmann 8e4f0ccd9a Remove unnecessary config values 2023-06-30 12:01:18 +02:00
Manuel Thalmann 821db151cb Delete auto login task 2023-06-30 11:58:16 +02:00
Manuel Thalmann 0317031d9a Fix deletion of unnecessary tasks 2023-06-30 11:57:50 +02:00
Manuel Thalmann 57f4ffd0e4 Remove stage reference after removing admin account 2023-06-30 11:54:32 +02:00
Manuel Thalmann eadbde8e2e Fix typo 2023-06-30 04:36:28 +02:00
Manuel Thalmann 24466aef7a Remove admin account in a separate stage 2023-06-30 04:29:59 +02:00
Manuel Thalmann fa0a0356a4 Fix broken query 2023-06-30 04:26:19 +02:00
Manuel Thalmann a122795f38 Set proper boundaries for event numbers 2023-06-30 03:40:04 +02:00
Manuel Thalmann 3299ff78c0 Fix typo 2023-06-30 03:38:18 +02:00
Manuel Thalmann 0806391cd2 Fix broken statement 2023-06-30 02:49:00 +02:00
Manuel Thalmann c1979a1197 Add code for enabling autologin 2023-06-29 20:01:54 +02:00
Manuel Thalmann e235d70bc0 Allow registering multiple scheduled tasks 2023-06-29 19:40:54 +02:00
Manuel Thalmann 34859556f0 Dynamically determine task triggers 2023-06-29 19:24:42 +02:00
Manuel Thalmann 12c7e68086 Store task name in function 2023-06-29 19:18:50 +02:00
Manuel Thalmann 6f011a2600 Detect current step using stages 2023-06-29 19:13:33 +02:00
Manuel Thalmann d8d6386fe3 Rename misleading functions 2023-06-29 19:05:22 +02:00
Manuel Thalmann 775f6a1c10 Rearrange UAC disablement 2023-06-29 17:29:42 +02:00
Manuel Thalmann 2dbd1a9fed Reorder UAC disablement steps 2023-06-29 17:27:00 +02:00
Manuel Thalmann 0137fd56f3 Re-enable RunOnce creation for new users 2023-06-29 15:05:06 +02:00
Manuel Thalmann 858679a36a Add missing argument to SchTasks 2023-06-29 14:22:21 +02:00
Manuel Thalmann cba6e514bb Refactor UAC enablement 2023-06-29 04:05:12 +02:00
Manuel Thalmann 35cafdacef Forcefully shut down computer 2023-06-29 02:57:10 +02:00
Manuel Thalmann c88c6fbfce Fix non-functioning scheduled task 2023-06-29 02:54:31 +02:00
Manuel Thalmann edd97b991f Fix incorrect script 2023-06-29 02:54:09 +02:00
Manuel Thalmann 2f6ee57525 Fix quotation 2023-06-29 02:53:54 +02:00
Manuel Thalmann ecf6b0c573 Reboot computer after preparation 2023-06-29 02:24:46 +02:00
Manuel Thalmann 0f203caaa7 Try fixing UAC properly 2023-06-29 01:51:30 +02:00
Manuel Thalmann cbb3d329f9 Clean up environment after personal user creation 2023-06-28 22:50:59 +02:00
Manuel Thalmann 39c2db4414 Add script for enabling autologin 2023-06-28 22:50:39 +02:00
Manuel Thalmann fcc02320ea Disable local admin during setup 2023-06-28 22:36:40 +02:00
Manuel Thalmann f791ec1eff Add a method for cleaning up artifacts during setup 2023-06-28 22:28:22 +02:00
Manuel Thalmann bf59f2e3a3 Add log messages 2023-06-28 22:10:23 +02:00
Manuel Thalmann 1aabdc228e Change name of UAC disabler 2023-06-28 22:08:20 +02:00
Manuel Thalmann 94a5f09aa4 Disable scheduled task registration 2023-06-28 22:07:18 +02:00
Manuel Thalmann 2b1b9cb449 Add missing semicolon 2023-06-28 22:06:46 +02:00
Manuel Thalmann 03086d1052 Refactor creation of scheduled task action 2023-06-28 22:06:35 +02:00
Manuel Thalmann c3d8e79fcf Force Scheduled Task Unregistration 2023-06-28 21:20:59 +02:00
Manuel Thalmann 54d80b4bb5 Mute console output 2023-06-28 12:35:06 +02:00
Manuel Thalmann 20d58b32d1 Fix incorrect code statement 2023-06-28 12:32:46 +02:00
Manuel Thalmann 412b23cfc2 Enable UAC during Microsoft Account login 2023-06-28 11:48:08 +02:00
Manuel Thalmann 1f82f78c7f Rename user using PowerShell function call 2023-06-27 00:57:24 +02:00
Manuel Thalmann cdf07a5d54 Rename user using wmic 2023-06-26 02:14:44 +02:00
Manuel Thalmann c2c3210515 Disable auto login after user creation 2023-06-25 18:26:06 +02:00
Manuel Thalmann 9cd6834819 Exit script after rebooting 2023-06-25 18:11:56 +02:00
Manuel Thalmann 2320c9dbf4 Restart computer after creating personal user 2023-06-25 18:11:30 +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 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 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 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 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 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 1edfa9dd3f Add scripts for backing up applications 2023-06-08 02:29:22 +02:00