Commit graph

684 commits

Author SHA1 Message Date
c3d8e79fcf Force Scheduled Task Unregistration 2023-06-28 21:20:59 +02:00
6a4ff4645a Remove unnecessary statement 2023-06-28 13:43:20 +02:00
c90d2f7cdd Clean up handles during reg key handling 2023-06-28 13:40:56 +02:00
54d80b4bb5 Mute console output 2023-06-28 12:35:06 +02:00
20d58b32d1 Fix incorrect code statement 2023-06-28 12:32:46 +02:00
412b23cfc2 Enable UAC during Microsoft Account login 2023-06-28 11:48:08 +02:00
1f82f78c7f Rename user using PowerShell function call 2023-06-27 00:57:24 +02:00
cdf07a5d54 Rename user using wmic 2023-06-26 02:14:44 +02:00
45be15723e Allow disabling auto admin login 2023-06-25 18:48:13 +02:00
c2c3210515 Disable auto login after user creation 2023-06-25 18:26:06 +02:00
63906c53ce Add scripts for handling auto login 2023-06-25 18:25:52 +02:00
9cd6834819 Exit script after rebooting 2023-06-25 18:11:56 +02:00
2320c9dbf4 Restart computer after creating personal user 2023-06-25 18:11:30 +02:00
13e5346063 Remove RunOnce key on deregistering 2023-06-25 18:10:23 +02:00
805394463a Unload registry hive after editing 2023-06-25 18:09:47 +02:00
b61c6d1d60 Create RunOnce key if inexistent 2023-06-25 18:05:55 +02:00
5e27e16a85 Fix incorrect default user path 2023-06-25 17:57:23 +02:00
294eb7839a Fix key name for reg load 2023-06-25 17:57:06 +02:00
972e1b6584 Fix incomplete command 2023-06-25 17:02:44 +02:00
fb41e37fa2 Fix registry editing commands 2023-06-25 17:01:38 +02:00
eed0ddc82b Fix non-functioning code 2023-06-25 16:54:10 +02:00
0b2e2744b0 Refactor registry value handling 2023-06-25 16:48:21 +02:00
416facf2a0 Return path to RunOnce key instead of item 2023-06-25 16:45:33 +02:00
a1b8e9d9aa Fix non-functioning code 2023-06-25 16:33:04 +02:00
87d7aa36c0 Fix resolving of the RunOnce key 2023-06-25 16:28:12 +02:00
1e62f6f9de Fix broken code statement 2023-06-25 16:14:08 +02:00
94c74c8468 Allow parameterless handling of reboot registration 2023-06-25 15:36:58 +02:00
00a8337013 Add missing import 2023-06-25 15:20:58 +02:00
2ebbf3b505 Remove unnecessary statements 2023-06-25 15:19:48 +02:00
38a1e3a225 Fix reboot registration 2023-06-25 15:05:59 +02:00
4fb085a782 Change path of powershell scripts 2023-06-25 13:43:46 +02:00
ebcac5536d Refactor the format of the Autounattend.xml file 2023-06-25 11:49:50 +02:00
0ba664eb51 Make the script start for all new users 2023-06-23 20:16:47 +02:00
95981f4d3c Add functions for registering RunOnce for new users 2023-06-23 20:08:31 +02:00
a985ac56d3 Adjust log messages accordingly 2023-06-23 14:04:46 +02:00
fd3df6110e Reboot after creating a new user 2023-06-23 14:04:39 +02:00
5bc48ca478 Remove unnecessary statements 2023-06-23 14:03:03 +02:00
63ccde7031 Fix non-functioning code 2023-06-23 12:34:12 +02:00
1eb8875757 Exclude the Guest user 2023-06-23 02:34:53 +02:00
706b78d9cf Ignore automated accounts 2023-06-23 01:51:29 +02:00
88179df651 Add verbose logs 2023-06-23 00:20:30 +02:00
461c04d1b7 Fix password creation 2023-06-22 23:41:43 +02:00
b210e1e847 Fix one more typo 2023-06-22 23:39:49 +02:00
0f16e1af6c Fix typo 2023-06-22 23:38:25 +02:00
2c1ea94d97 Loop user creation until it exists 2023-06-22 23:36:45 +02:00
686251b0f7 Prevent future auto logins 2023-06-22 23:04:13 +02:00
2365d3320c Centralize script for rebooting 2023-06-22 22:58:54 +02:00
4668ffc42a Add scripts for creating user 2023-06-22 22:56:43 +02:00
4a88657bf5 Fix handling windows paths 2023-06-22 21:23:36 +02:00
1e981ed2d7 Remove unnecessary file 2023-06-22 21:08:48 +02:00