Last active 1748795655

theadam revised this gist 1748795655. Go to revision

1 file changed, 10 insertions

win-setup.md

@@ -80,4 +80,14 @@ On the OOBE network screen
80 80 If you want this, the best idea is to prefill the OOBE (Out Of The Box Experience) in autounattend.xml (see link above). The `OOBE\bypassnro.cmd` method is not work properly in the recent Win11 editions so better idea to use regular ways. Oh, and do not forget to disconnect the ethernet cable.
81 81 However in regular situations it is not needed as the previous local user creation method will bypass the MS account for you.
82 82
83 + ## Offline driver install
84 +
85 + When you would like to install drivers offline from the manufactureer, simply run this command on the downloaded driver packs dir.
86 + ```
87 + PNPUTIL /add-driver "D:\drivers" /subdirs /install
88 + ```
89 + Search for Lenovo SCCM Driver images, Dell Driver packs etc.
90 + Officialy it is only available for premium-graded notebooks or machines. If this pack not available for your device, you need to get manual driver INFs and others or search community maintained drivers.
91 + > When install with this method, can not use driver.exe setups which are usualy bloated with unneccessary softwares.
92 +
83 93 More tips coming soon...

theadam revised this gist 1748545535. Go to revision

1 file changed, 6 insertions

win-setup.md

@@ -70,6 +70,12 @@ If you want to create a local user account, create an `autounattend.xml` file in
70 70 If you want your own autounattend.xml file, visit [this](https://schneegans.de/windows/unattend-generator/) link.
71 71
72 72 ## Bypass internet connection during setup
73 + On the OOBE network screen
74 + 1. Shift-F10
75 + 2. start `ms-cxh:localonly`
76 +
77 + ### old method
78 + `oobe\bypassnro` when need to choose network.
73 79
74 80 If you want this, the best idea is to prefill the OOBE (Out Of The Box Experience) in autounattend.xml (see link above). The `OOBE\bypassnro.cmd` method is not work properly in the recent Win11 editions so better idea to use regular ways. Oh, and do not forget to disconnect the ethernet cable.
75 81 However in regular situations it is not needed as the previous local user creation method will bypass the MS account for you.

theadam revised this gist 1734205564. Go to revision

1 file changed, 2 insertions

win-usb-from-iso renamed to win-setup.md

@@ -1,5 +1,7 @@
1 1 # How to create Windows setup USB media from ISO
2 2
3 + Primarily Windows 11.
4 +
3 5 ## Download the ISO
4 6
5 7 Download the Windows ISO from MSDN, with Media Creation Tool (burn to disc later) or visit [this](https://www.microsoft.com/hu-hu/software-download/windows11), select ISO, select language and go. Or, visit [UUPDump (experimental)](https://uupdump.net/).

theadam revised this gist 1734205497. Go to revision

1 file changed, 75 insertions

win-usb-from-iso(file created)

@@ -0,0 +1,75 @@
1 + # How to create Windows setup USB media from ISO
2 +
3 + ## Download the ISO
4 +
5 + Download the Windows ISO from MSDN, with Media Creation Tool (burn to disc later) or visit [this](https://www.microsoft.com/hu-hu/software-download/windows11), select ISO, select language and go. Or, visit [UUPDump (experimental)](https://uupdump.net/).
6 +
7 + ## Attach ISO
8 +
9 + Right click on the ISO, open with Windows explorer and it will appear as a DVD drive.
10 +
11 + ## Burn to USB
12 +
13 + ### Prepare the disk to burn the Windows ISO on it.
14 +
15 + Open an admin CMD, Powershell (Win+r, cmd, ctrl-shift-enter).
16 + Type `diskpart` and `list disk`. Select the pendrive (for example 1).
17 + `select disk 1`. Type `clean`, it will delete everything from it. Type `create partition primary` to create primary part. Type `format quick fs=fat32 label=windows` to format it.
18 + > wit this FAT32 method you can boot it on BIOS/legacy and UEFI compliant systems.
19 + Finaly type `active` and `assign` to assign letter to partition.
20 +
21 + ### Burn the ISO
22 +
23 + As the FAT32 filesystem allow a maximum of ~4,2 GB per file limit, we can not copy the entire Windows setup to the drive.
24 +
25 + Select everything on the newly attached DVD drive in the first steps and copy all to the pendrive. Itt will do the job and throw an error that states `can not copy install.wim`. It is not a problem, split it to multiple files to bypass FAT32 size limit.
26 +
27 + Open the DVD drive where ISO mounted, open sources, and copy the install.wim path by pressing CTRL-SHIFT-c on it or shift+rightclick and copy as path.
28 + Paste it into a notepad. Create a destination folder where we write the splited install.swm files and after them copy to the pendrive's sources folder.
29 + > If you're brave, simply use the sources folder on the pendrive.
30 + Create the folder and copy the folder path (as install.wim's) to the notepad.
31 +
32 + Replace the source and SWMFile (destination) in this command.
33 + `Dism /Split-Image /ImageFile:E:\sources\install.wim /SWMFile:F:\sources\install.swm /FileSize:3200`
34 +
35 + Open an elevated (administrator) CMD as in the diskpart step and paste the above dism command. It will produce install.swm, install2.swm and if you do not set the pendrive sources folder as destination, copy and paste the results. If the files appeared in the sources folder, job done.
36 +
37 + ## Bypass Windows 11 system requirements
38 +
39 + To bypass the system requirement checks, simply open the `appraiserres.dll` in the sources folder in notepad and remove all contents so produce and empty file (no, do not delete the file itself, only it's contents!).
40 +
41 + ## Create local account and autounattend during setup
42 +
43 + If you want to create a local user account, create an `autounattend.xml` file in the root of the pendrive directory and fill up (replace data if needed).
44 +
45 + ```
46 + <?xml version="1.0"?>
47 + <unattend xmlns="urn:schemas-microsoft-com:unattend">
48 + <settings pass="oobeSystem">
49 + <component language="neutral" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
50 + <UserAccounts>
51 + <LocalAccounts>
52 + <LocalAccount wcm:action="add">
53 + <Password>
54 + <PlainText>true</PlainText>
55 + <Value>myuserpassw0rd</Value>
56 + </Password>
57 + <DisplayName>My User</DisplayName>
58 + <Group>Administrators</Group>
59 + <Name>myuser</Name>
60 + </LocalAccount>
61 + </LocalAccounts>
62 + </UserAccounts>
63 + </component>
64 + </settings>
65 + </unattend>
66 + ```
67 +
68 + If you want your own autounattend.xml file, visit [this](https://schneegans.de/windows/unattend-generator/) link.
69 +
70 + ## Bypass internet connection during setup
71 +
72 + If you want this, the best idea is to prefill the OOBE (Out Of The Box Experience) in autounattend.xml (see link above). The `OOBE\bypassnro.cmd` method is not work properly in the recent Win11 editions so better idea to use regular ways. Oh, and do not forget to disconnect the ethernet cable.
73 + However in regular situations it is not needed as the previous local user creation method will bypass the MS account for you.
74 +
75 + More tips coming soon...
Newer Older