Closed scottmuc closed 1 year ago
Things noted up until the point of beginning to setup Brave:
refreshenv
before executing the git clone commandWhen chatting with @willoleary6, I learned of an update that got pushed that messed up a lot of people's Start menu. I noticed the new search box with the reinstall. I don't think I had any issues because I've always disabled it:
Set-BoxstarterTaskbarOptions `
-Size Small `
-Dock Top `
-DisableSearchBox
Found this answer around changing the windows SoundScheme. This looks like a good candidate to put in a separate, self-contained, script.
Novabench has a new look and feel. The numbers seem off compared to previous runs. Normally the CPU is around 1600, GPU at 1000 and Disk at 360. Only the RAM score is consistent. I'll try running Elden Ring and see if I have any issues.
Played Elden Ring for about 30min and it seemed fine for me. Going to enable the in-game FPS counter and see what it says. Unfortunately I've never run with that enabled before so I don't have a baseline.
So far so good. Have a couple scripts to attempt and some details to add to the repave issue template and I can call this one done.
Looks like extracting logic into separate files isn't possible with Boxstarter. I believe that's because the intent of the tool is to take a single script and wrap it in a Chocolatey type package for execution. I could "compile" into a single script, but I think I'll avoid that step for now.
What I find missing is the main()
function extraction that I've done with my shell script automation.
Tagging @jsnprtr to join in the fun!
I'm now rethinking on how I'm approaching Boxstarter. I might separate things into stuff that Boxstarter handles (because it can manage reboots, etc...) and things that setup my home directory without elevated privileges. Not entirely sure.
Found a good resource from Microsoft with some example uses of boxstarter: https://github.com/microsoft/windows-dev-box-setup-scripts
I don't particularly like how it's structured. It's a bit odd to make a web request if you can clone locally. To me this feels like an overly complicated way to arrange concerns. It makes sense in a world where the Boxstarter code is never cloned to the machine being configured... but for workstation automation, why adhere to that constraint?
More and more this is suggesting to limit the scope of Boxstarter to what it does best, and separately do the rest with a PowerShell script outside the context of a Boxstarter/Chocolatey execution.
While reading a few issues in the Microsoft repo, I found a comment referencing this treasure trove of Windows automation. By the looks of their setup, I think minimizing the Boxstarter scope is a reasonable path to go.
From a paving perspective, I'm considering this done. I'll probably still push commits referencing this repave issue since it has a lot of the notes on what to do next.
Confirmed that I'm getting 60fps in Elden Ring, so all good for now.
Yay for Repaving!
As much as possible is documented inline in this issue template. In case of problems you may find help by viewing all the previous repave issues. Have fun!
Prep
[x] backup stuff if you think you need it.
[x] prepare USB device with a Windows installer.
Here's the latest documentation I followed to make a USB installer.
Repave
[x] boot to the USB.
F12
while machine is rebooting to load boot menu.[x] wipe old partitions.
[x] run Windows installer.
Post Paving
[x] Set machine hostname
This can come in handy for all services that have recorded the machines hostname for security verification. The timestamp in the name and other metadata can make future auditing a bit easier.
The convention is YYYYMMDD-something meta.
Test if this can be done in powershell.
[x] Install Chocolatey
[x] Install BoxStarter
choco install Boxstarter
[x] Install Boostrap BoxStarter Package
Thanks Rich Turner for your excellent example!
Launch Powershell with elevated privileges:
[x] Windows update
[x] Install Main BoxStarter Package
Thanks Rich Turner for your excellent example!
Launch Powershell with elevated privileges:
[x] Configure Brave
Do the following:
[x] Install and configure Google Drive
[x] Turn off all Windows notification sounds
[ ] Setup Radeon Software
I'm not sure what to do here. Here are a couple helpful links:
[x] Install and configure Samsung Magician
Download the installer and run it. Enable the performance profile.
[x] Run Novabench
Score should be around:
[x] Make this template slightly better