Commit graph

391 commits

Author SHA1 Message Date
30f98c4cb1 Wait for wmi event using powershell 2024-03-22 12:19:05 +01:00
5f02a650ad Await custom scheduled tasks 2024-03-22 10:59:24 +01:00
ba058911e9 Store scheduled task in separate scripts 2024-03-22 10:32:53 +01:00
d649525722 Drop use of redundant constant value 2024-03-22 10:20:03 +01:00
9ab5e776d9 Move user creation script 2024-03-22 09:26:54 +01:00
6aaff564cc Add missing import 2024-03-21 17:21:02 +01:00
875120ccff Inquire on errors 2024-03-21 16:27:57 +01:00
bfad7f1228 Automatically determine the entrypoint during windows install 2024-03-21 16:07:29 +01:00
b1aa93d420 Create proper relative paths by default 2024-03-21 16:05:55 +01:00
a8a144c147 Install aliae initially 2024-03-21 13:35:21 +01:00
181a82fd24 Streamline PowerShell profile installation 2024-03-21 00:29:09 +01:00
ce44de21d7 Remove redundant script 2024-03-20 23:57:24 +01:00
8339cb3006 Detect entrypoint automatically 2024-03-16 01:04:56 +01:00
cd6d5fcd9b Fix broken installer call 2024-03-13 22:30:14 +01:00
86aa29b66c Fix installation of winget 2024-03-13 21:56:48 +01:00
39ba5f63bc Fix incorrect script path 2024-03-13 20:57:46 +01:00
2f4222ecdb Fix incorrect winget installation statement 2024-03-13 20:07:38 +01:00
d67a1d5be9 Run winget installation using pwsh 2024-03-13 19:35:06 +01:00
7b11234ea2 Install winget using the script 2024-03-13 09:35:27 +01:00
20acebbc7e Fix order of execution in setup script 2024-03-11 18:10:37 +01:00
e6d2a3189d Silence unnecessary output 2024-03-11 17:46:51 +01:00
34346ebfbd Fix typo 2024-03-11 17:45:15 +01:00
48a1913401 Include Unattend settings in PortValhalla 2024-03-11 17:32:47 +01:00
140071c493 Install winget only if necessary 2024-03-11 17:08:53 +01:00
b107cdc562 Improve text related to Autologin enablement 2024-01-17 14:08:31 +01:00
02f585af95 Change format of ooeb boot command 2023-12-07 17:41:33 +01:00
8bceb30872 Install most recent version of winget during installation 2023-09-27 18:36:17 +02:00
967206e14f Allow specifying custom app installer function 2023-09-27 12:32:27 +02:00
4300575df6 Set Windows to store UTC time 2023-08-14 01:32:57 +02:00
4dc661f352 Remove non-functioning statements 2023-08-07 01:24:08 +02:00
9b59884ef6 Copy Region & Language settings during setup 2023-08-05 04:11:43 +02:00
95fc7f1e84 Fix incorrectly named parameter 2023-08-04 01:33:42 +02:00
54f7a98621 Install working version of Selenium.WebDriver 2023-08-04 01:13:58 +02:00
08fd0e3069 Don't split resulting backup file 2023-08-02 12:56:40 +02:00
dc3a3d5d0a Split full backup in 4GB parts 2023-08-01 20:32:58 +02:00
cd0d55d707 Split resulting archive 2023-08-01 19:01:12 +02:00
c5bbb55f29 Re-enable deletion after backup 2023-08-01 17:22:48 +02:00
1bf80bfd19 Disable the -sdel switch 2023-08-01 14:01:35 +02:00
b7fb6de569 Remove all unwanted installation artifacts 2023-08-01 13:24:08 +02:00
934742f023 Remove files project after restoration 2023-08-01 13:15:34 +02:00
905733fff3 Delete files after backup 2023-08-01 13:13:38 +02:00
21fd4093df Allow archives to not be split 2023-08-01 12:48:27 +02:00
00262f3625 Disable the -sdel option of 7zip 2023-07-31 00:41:35 +02:00
6316b30e84 Clean up computer after creating backup 2023-07-29 21:16:42 +02:00
4031d0b0f1 Fix grammatical error 2023-07-29 11:07:52 +02:00
e3e998a4a4 Prevent sleep mode for all actions 2023-07-29 03:37:43 +02:00
3578bf6407 Allow the prevention of sleep mode 2023-07-29 02:58:00 +02:00
40788f3d98 Add Oh My Posh to windows 2023-07-27 02:57:35 +02:00
c522ed9350 Add Terminal-Icons 2023-07-27 02:36:31 +02:00
c851336400 Add posh-git to Windows installations 2023-07-27 02:22:09 +02:00
b44c8833b5 Add ability to load PowerShell profile files 2023-07-27 01:59:03 +02:00
ee4434f91a Fix possible non-existent variable 2023-07-26 14:56:17 +02:00
7cf1d9c599 Add a step for setting up software with app associations 2023-07-26 13:44:05 +02:00
892aa46f12 Install software before setting associations 2023-07-26 00:15:51 +02:00
f135727dc2 Set default programs before creating user 2023-07-25 18:52:03 +02:00
62224f1ab0 Silence unnecessary console output 2023-07-19 23:19:05 +02:00
fa035a29b2 Install chocolatey profile for all future users 2023-07-19 14:33:06 +02:00
c098b6060c Move NuGet provider installation to prerequisites 2023-07-19 09:41:22 +02:00
dffb937078 Perform initial configuration before anything else 2023-07-19 01:16:25 +02:00
d537ba87a5 Add NetFx3 as a prerequisite 2023-07-18 23:33:53 +02:00
bfff046e4d Ignore exceptions during updates 2023-07-18 21:57:08 +02:00
82c05c2121 Replace incorrect software 2023-07-17 21:57:01 +02:00
58622be1b1 Set icons to a bearable size 2023-07-17 16:02:33 +02:00
0a37ec388d Add AutoIt as a prerequisite 2023-07-17 00:17:15 +02:00
368ccbdf28 Enable ssh-agent on windows by default 2023-07-16 15:50:56 +02:00
45e30c37ac Remove MSEdge desktop symbol 2023-07-16 15:37:18 +02:00
2ceed327f8 Add missing parameter 2023-07-16 13:47:12 +02:00
c76971ef74 Fix typo 2023-07-16 13:12:47 +02:00
536001dcff Configure file explorer only once 2023-07-16 12:56:54 +02:00
ca5913e41b Show file extensions by default 2023-07-16 12:55:23 +02:00
06f8394423 Prevent creation of desktop icon for firefox 2023-07-16 12:39:07 +02:00
3d23ce78bc Always forcefully restart computer 2023-07-16 11:30:20 +02:00
126c130f83 Always forcefully restart computer as backup plan 2023-07-16 11:21:58 +02:00
0b08f97a63 Fix non-functioning code 2023-07-16 01:27:38 +02:00
df0ba4da11 Ignore non-functioning update 2023-07-16 01:22:43 +02:00
055f1706f9 Disable unnecessary errors 2023-07-15 22:32:22 +02:00
f3b964fd87 Remove unnecessary statements 2023-07-15 22:19:48 +02:00
36cfa519ed Reboot after installing drivers 2023-07-15 21:40:14 +02:00
c3babffe14 Add Firefox as a prerequisite 2023-07-15 19:18:56 +02:00
5f81457d60 Fix non-functioning code 2023-07-15 18:45:44 +02:00
61c066c480 Install prerequisites for Selenium 2023-07-15 18:24:26 +02:00
6eefc472fb Rename driver installation function 2023-07-15 11:33:42 +02:00
629978a897 Allow driver installation during setup 2023-07-14 09:24:13 +02:00
9e1f872a66 Install Firefox before nextcloud 2023-07-13 19:03:52 +02:00
5536d73b73 Enable choco feature first 2023-07-13 01:30:27 +02:00
487c83afb2 Add she-bang to all files 2023-07-12 22:37:31 +02:00
48a9234081 Reorder steps of windows restoration 2023-07-12 18:05:38 +02:00
c14d1695c8 Prevent restoration context from being overwritten 2023-07-11 18:22:14 +02:00
d3dfc4c523 Fix incorrect statement 2023-07-03 14:34:39 +02:00
eba9429d79 Only perform upgrade as an administrator 2023-07-03 14:33:55 +02:00
0996dbecaf Move UAC handling to context 2023-07-03 13:44:51 +02:00
98dfa910be Fix incorrect order of commands 2023-07-03 13:43:58 +02:00
d96a1bf913 Clean up after restoration 2023-07-03 13:24:36 +02:00
43f6e2e44a Fix typo 2023-07-03 12:44:36 +02:00
12500b1993 Relocate windows installation partition 2023-07-03 12:37:02 +02:00
e8a6492566 Suppress unnecessary errors 2023-07-03 01:14:34 +02:00
c9094c7d04 Create separate script for handling app backups 2023-06-30 12:24:12 +02:00
9758a6428f Rename powershell command 2023-06-30 12:19:54 +02:00
8e4f0ccd9a Remove unnecessary config values 2023-06-30 12:01:18 +02:00
821db151cb Delete auto login task 2023-06-30 11:58:16 +02:00
0317031d9a Fix deletion of unnecessary tasks 2023-06-30 11:57:50 +02:00
57f4ffd0e4 Remove stage reference after removing admin account 2023-06-30 11:54:32 +02:00
eadbde8e2e Fix typo 2023-06-30 04:36:28 +02:00
24466aef7a Remove admin account in a separate stage 2023-06-30 04:29:59 +02:00
fa0a0356a4 Fix broken query 2023-06-30 04:26:19 +02:00
a122795f38 Set proper boundaries for event numbers 2023-06-30 03:40:04 +02:00
3299ff78c0 Fix typo 2023-06-30 03:38:18 +02:00
0806391cd2 Fix broken statement 2023-06-30 02:49:00 +02:00
c1979a1197 Add code for enabling autologin 2023-06-29 20:01:54 +02:00
e235d70bc0 Allow registering multiple scheduled tasks 2023-06-29 19:40:54 +02:00
34859556f0 Dynamically determine task triggers 2023-06-29 19:24:42 +02:00
12c7e68086 Store task name in function 2023-06-29 19:18:50 +02:00
6f011a2600 Detect current step using stages 2023-06-29 19:13:33 +02:00
d8d6386fe3 Rename misleading functions 2023-06-29 19:05:22 +02:00
775f6a1c10 Rearrange UAC disablement 2023-06-29 17:29:42 +02:00
2dbd1a9fed Reorder UAC disablement steps 2023-06-29 17:27:00 +02:00
0137fd56f3 Re-enable RunOnce creation for new users 2023-06-29 15:05:06 +02:00
858679a36a Add missing argument to SchTasks 2023-06-29 14:22:21 +02:00
cba6e514bb Refactor UAC enablement 2023-06-29 04:05:12 +02:00
35cafdacef Forcefully shut down computer 2023-06-29 02:57:10 +02:00
c88c6fbfce Fix non-functioning scheduled task 2023-06-29 02:54:31 +02:00
edd97b991f Fix incorrect script 2023-06-29 02:54:09 +02:00
2f6ee57525 Fix quotation 2023-06-29 02:53:54 +02:00
ecf6b0c573 Reboot computer after preparation 2023-06-29 02:24:46 +02:00
0f203caaa7 Try fixing UAC properly 2023-06-29 01:51:30 +02:00
cbb3d329f9 Clean up environment after personal user creation 2023-06-28 22:50:59 +02:00
39c2db4414 Add script for enabling autologin 2023-06-28 22:50:39 +02:00
fcc02320ea Disable local admin during setup 2023-06-28 22:36:40 +02:00
f791ec1eff Add a method for cleaning up artifacts during setup 2023-06-28 22:28:22 +02:00
bf59f2e3a3 Add log messages 2023-06-28 22:10:23 +02:00
1aabdc228e Change name of UAC disabler 2023-06-28 22:08:20 +02:00
94a5f09aa4 Disable scheduled task registration 2023-06-28 22:07:18 +02:00
2b1b9cb449 Add missing semicolon 2023-06-28 22:06:46 +02:00
03086d1052 Refactor creation of scheduled task action 2023-06-28 22:06:35 +02:00
c3d8e79fcf Force Scheduled Task Unregistration 2023-06-28 21:20:59 +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
c2c3210515 Disable auto login after user creation 2023-06-25 18:26:06 +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
00a8337013 Add missing import 2023-06-25 15:20:58 +02:00
2ebbf3b505 Remove unnecessary statements 2023-06-25 15:19:48 +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
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
e064c3fd01 Add a script for restoring git 2023-06-22 20:44:40 +02:00
0ccc870584 Add further log messages 2023-06-22 19:02:02 +02:00
c45a659aaa Add scripts for restoring files 2023-06-22 18:44:31 +02:00
b4dd114ba4 Remove unnecessary code 2023-06-22 18:40:01 +02:00
535d4579a6 Create backup directory if necessary 2023-06-22 18:37:35 +02:00
a99314afa8 Fix backup path inquiry 2023-06-22 18:36:29 +02:00
6a57e2cbaf Fix non-functioning code 2023-06-22 18:34:05 +02:00
55ba435699 Add missing import 2023-06-22 17:53:12 +02:00
b7db441579 Prevent reboot prompts 2023-06-22 17:33:14 +02:00
9180ca96ef Refactor log levels 2023-06-22 17:32:36 +02:00
b4d6b651b6 Fix windows update automation 2023-06-22 17:32:05 +02:00
ba5fde3d3a Automatically restart the computer 2023-06-22 17:19:00 +02:00
f39076dbff Add log messages 2023-06-22 17:18:50 +02:00
879f34f22a Add missing import 2023-06-22 17:06:45 +02:00
10e205c122 Fix format of resulting .xml file 2023-06-22 16:50:40 +02:00
95e770f4c9 Save windows config file after editing 2023-06-22 16:17:02 +02:00
7332049a76 Fix typos 2023-06-22 16:11:32 +02:00
e37c0c8093 Fix use of namespaced xml 2023-06-22 16:05:10 +02:00
a822f5f32e Fix broken setup script 2023-06-22 15:43:16 +02:00
62c1f4ab43 Allow dynamic setup of windows 2023-06-21 22:10:19 +02:00
52834fcd92 Rearrange installation scripts 2023-06-21 22:04:18 +02:00
0a5c50a446 Allow setup without backup archive 2023-06-18 20:11:49 +02:00
b40ba593a3 Add dedicated script for installing prerequisites 2023-06-18 19:58:01 +02:00
4338ba08eb Accept context for windows restoration 2023-06-16 20:30:53 +02:00
db17c2c42c Use temporary directory for restoration 2023-06-16 20:27:07 +02:00
ac288a913d Add a script for installing windows 2023-06-16 20:24:22 +02:00
6138ad7ffa Add a script for installing windows updates 2023-06-16 20:10:34 +02:00
c092a039f1 Uncomment mistakingly commented line 2023-06-09 19:05:08 +02:00
1edfa9dd3f Add scripts for backing up applications 2023-06-08 02:29:22 +02:00