Commit graph

740 commits

Author SHA1 Message Date
Manuel Thalmann cc0e11860c Add a method for cleaning up artifacts during setup 2023-06-28 22:28:22 +02:00
Manuel Thalmann 1127a4e431 Add log messages 2023-06-28 22:10:23 +02:00
Manuel Thalmann f0cccee8e0 Change name of UAC disabler 2023-06-28 22:08:20 +02:00
Manuel Thalmann c7f514dd67 Disable scheduled task registration 2023-06-28 22:07:18 +02:00
Manuel Thalmann 082f7d990e Add missing semicolon 2023-06-28 22:06:46 +02:00
Manuel Thalmann abaf36b09d Refactor creation of scheduled task action 2023-06-28 22:06:35 +02:00
Manuel Thalmann f652689ff8 Force Scheduled Task Unregistration 2023-06-28 21:20:59 +02:00
Manuel Thalmann 27813bd1e9 Remove unnecessary statement 2023-06-28 13:43:20 +02:00
Manuel Thalmann 50b8511e9e Clean up handles during reg key handling 2023-06-28 13:40:56 +02:00
Manuel Thalmann 16eb9a01b0 Mute console output 2023-06-28 12:35:06 +02:00
Manuel Thalmann a926620e6d Fix incorrect code statement 2023-06-28 12:32:46 +02:00
Manuel Thalmann 4164a98600 Enable UAC during Microsoft Account login 2023-06-28 11:48:08 +02:00
Manuel Thalmann 99cab3f11c Rename user using PowerShell function call 2023-06-27 00:57:24 +02:00
Manuel Thalmann 2b423612c6 Rename user using wmic 2023-06-26 02:14:44 +02:00
Manuel Thalmann b36d4d5181 Allow disabling auto admin login 2023-06-25 18:48:13 +02:00
Manuel Thalmann 5e2fde00ad Disable auto login after user creation 2023-06-25 18:26:06 +02:00
Manuel Thalmann a92e413623 Add scripts for handling auto login 2023-06-25 18:25:52 +02:00
Manuel Thalmann 6700e4f318 Exit script after rebooting 2023-06-25 18:11:56 +02:00
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