Commit graph

64 commits

Author SHA1 Message Date
Manuel Thalmann 1654869529 Always forcefully restart computer 2023-07-16 11:30:20 +02:00
Manuel Thalmann d04514a34e Always forcefully restart computer as backup plan 2023-07-16 11:21:58 +02:00
Manuel Thalmann ba1d95d1e6 Add she-bang to all files 2023-07-12 22:37:31 +02:00
Manuel Thalmann dbc3eeef42 Move UAC handling to context 2023-07-03 13:44:51 +02:00
Manuel Thalmann 84871b2ee0 Fix incorrect order of commands 2023-07-03 13:43:58 +02:00
Manuel Thalmann ce06429ba6 Remove unnecessary config values 2023-06-30 12:01:18 +02:00
Manuel Thalmann 37a97f31fa Delete auto login task 2023-06-30 11:58:16 +02:00
Manuel Thalmann d4a4e85adb Fix deletion of unnecessary tasks 2023-06-30 11:57:50 +02:00
Manuel Thalmann b82e23e57f Remove stage reference after removing admin account 2023-06-30 11:54:32 +02:00
Manuel Thalmann a929310f77 Fix typo 2023-06-30 04:36:28 +02:00
Manuel Thalmann 50c5c727dd Remove admin account in a separate stage 2023-06-30 04:29:59 +02:00
Manuel Thalmann ac1bd17c15 Fix broken query 2023-06-30 04:26:19 +02:00
Manuel Thalmann 118f6b9a4f Set proper boundaries for event numbers 2023-06-30 03:40:04 +02:00
Manuel Thalmann 3200438721 Fix typo 2023-06-30 03:38:18 +02:00
Manuel Thalmann a26e53a4a7 Fix broken statement 2023-06-30 02:49:00 +02:00
Manuel Thalmann f9e193524d Add code for enabling autologin 2023-06-29 20:01:54 +02:00
Manuel Thalmann 736d25f1a8 Allow registering multiple scheduled tasks 2023-06-29 19:40:54 +02:00
Manuel Thalmann 8606cd441a Dynamically determine task triggers 2023-06-29 19:24:42 +02:00
Manuel Thalmann 594f08e994 Store task name in function 2023-06-29 19:18:50 +02:00
Manuel Thalmann 03aea1e4e6 Detect current step using stages 2023-06-29 19:13:33 +02:00
Manuel Thalmann a8cdefd3d3 Rename misleading functions 2023-06-29 19:05:22 +02:00
Manuel Thalmann 171ad324b5 Rearrange UAC disablement 2023-06-29 17:29:42 +02:00
Manuel Thalmann 11e66ebc45 Reorder UAC disablement steps 2023-06-29 17:27:00 +02:00
Manuel Thalmann a96b4d6908 Re-enable RunOnce creation for new users 2023-06-29 15:05:06 +02:00
Manuel Thalmann c3f23e7e52 Add missing argument to SchTasks 2023-06-29 14:22:21 +02:00
Manuel Thalmann 1ae3f1f4b3 Refactor UAC enablement 2023-06-29 04:05:12 +02:00
Manuel Thalmann 7646cf7aae Forcefully shut down computer 2023-06-29 02:57:10 +02:00
Manuel Thalmann 77f8a1a03f Fix non-functioning scheduled task 2023-06-29 02:54:31 +02:00
Manuel Thalmann dfb723412a Fix incorrect script 2023-06-29 02:54:09 +02:00
Manuel Thalmann 039fb2a23e Fix quotation 2023-06-29 02:53:54 +02:00
Manuel Thalmann 29fa937e5f Reboot computer after preparation 2023-06-29 02:24:46 +02:00
Manuel Thalmann bc30ac9902 Try fixing UAC properly 2023-06-29 01:51:30 +02:00
Manuel Thalmann a7d203ff7c Clean up environment after personal user creation 2023-06-28 22:50:59 +02:00
Manuel Thalmann a241bba29a Add script for enabling autologin 2023-06-28 22:50:39 +02:00
Manuel Thalmann 7af7e8b15d Disable local admin during setup 2023-06-28 22:36:40 +02:00
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 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 5e2fde00ad Disable auto login after user creation 2023-06-25 18:26:06 +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