Commit graph

2010 commits

Author SHA1 Message Date
Manuel Thalmann 32fd5aa572 Add method for removing the current stage 2023-06-29 19:13:17 +02:00
Manuel Thalmann a79a330e2a Mute unwanted output 2023-06-29 19:11:41 +02:00
Manuel Thalmann 7f71def89e Add a method for removing config values 2023-06-29 19:11:16 +02:00
Manuel Thalmann aa5d71eb4f Add methods for getting or setting the current stage 2023-06-29 19:08:05 +02:00
Manuel Thalmann d8d6386fe3 Rename misleading functions 2023-06-29 19:05:22 +02:00
Manuel Thalmann 5bbe1e3733 Allow storing settings using the context 2023-06-29 19:03:31 +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 6a4ff4645a Remove unnecessary statement 2023-06-28 13:43:20 +02:00
Manuel Thalmann c90d2f7cdd Clean up handles during reg key handling 2023-06-28 13:40:56 +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 45be15723e Allow disabling auto admin login 2023-06-25 18:48:13 +02:00
Manuel Thalmann c2c3210515 Disable auto login after user creation 2023-06-25 18:26:06 +02:00
Manuel Thalmann 63906c53ce Add scripts for handling auto login 2023-06-25 18:25:52 +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 13e5346063 Remove RunOnce key on deregistering 2023-06-25 18:10:23 +02:00
Manuel Thalmann 805394463a Unload registry hive after editing 2023-06-25 18:09:47 +02:00
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