LordX
Active Member
- Reaction score
- 68
Hey all - I wanted to post this in case it helps anyone else.
I do a lot of fresh windows installs. Part of my value added service on new machines for customers. I have been using rufus for years, since it helps with some of the small steps like creating an account automatically etc - and of course the Windows 11 bypasses are great.
Recently, I decided to add some registry tweaks into the answer file to save me time on each install - and man I wish I had done this earlier!
I will post the code for the answer file below - but here are the tweaks that I put in:
1. disabled/deleted the requirement to change the password on first reboot that rufus sets.
2. restore windows classic right click menu
3. disable hibernate
4. orient start menu to the left
5. disable widgets
6-8. bypasses all the annoying MS Edge questions on the first load of edge. Now it just goes right in... to download chrome or firefox.. lol
Here is the code for the answer file:
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>net accounts /maxpwage:unlimited</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Restore Classic Context Menu</Description>
<CommandLine>reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>3</Order>
<Description>Disable Hibernate</Description>
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v HibernateEnabled /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>4</Order>
<Description>Align Taskbar Left</Description>
<CommandLine>reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarAl /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>5</Order>
<Description>Disable Widgets</Description>
<CommandLine>reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarDa /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
<Description>Disable Edge FRE</Description>
<CommandLine>reg.exe add "HKCU\Software\Policies\Microsoft\Edge" /v HideFirstRunExperience /t REG_DWORD /d 1 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>7</Order>
<Description>Disable Edge Import Prompt</Description>
<CommandLine>reg.exe add "HKCU\Software\Policies\Microsoft\Edge" /v ImportOnEachLaunch /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>8</Order>
<Description>Disable Edge Personalization Prompt</Description>
<CommandLine>reg.exe add "HKCU\Software\Policies\Microsoft\Edge" /v PersonalizationReportingEnabled /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
I do a lot of fresh windows installs. Part of my value added service on new machines for customers. I have been using rufus for years, since it helps with some of the small steps like creating an account automatically etc - and of course the Windows 11 bypasses are great.
Recently, I decided to add some registry tweaks into the answer file to save me time on each install - and man I wish I had done this earlier!
I will post the code for the answer file below - but here are the tweaks that I put in:
1. disabled/deleted the requirement to change the password on first reboot that rufus sets.
2. restore windows classic right click menu
3. disable hibernate
4. orient start menu to the left
5. disable widgets
6-8. bypasses all the annoying MS Edge questions on the first load of edge. Now it just goes right in... to download chrome or firefox.. lol
Here is the code for the answer file:
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>net accounts /maxpwage:unlimited</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Restore Classic Context Menu</Description>
<CommandLine>reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>3</Order>
<Description>Disable Hibernate</Description>
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v HibernateEnabled /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>4</Order>
<Description>Align Taskbar Left</Description>
<CommandLine>reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarAl /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>5</Order>
<Description>Disable Widgets</Description>
<CommandLine>reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarDa /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
<Description>Disable Edge FRE</Description>
<CommandLine>reg.exe add "HKCU\Software\Policies\Microsoft\Edge" /v HideFirstRunExperience /t REG_DWORD /d 1 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>7</Order>
<Description>Disable Edge Import Prompt</Description>
<CommandLine>reg.exe add "HKCU\Software\Policies\Microsoft\Edge" /v ImportOnEachLaunch /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>8</Order>
<Description>Disable Edge Personalization Prompt</Description>
<CommandLine>reg.exe add "HKCU\Software\Policies\Microsoft\Edge" /v PersonalizationReportingEnabled /t REG_DWORD /d 0 /f</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>