Thicket data repository for the EEG
1{
2 "id": "https://www.tunbury.org/2021/04/28/mini-itx-as-windows-2008-server",
3 "title": "Mini ITX as Windows 2008 Server",
4 "link": "https://www.tunbury.org/2021/04/28/mini-itx-as-windows-2008-server/",
5 "updated": "2021-04-28T12:41:29",
6 "published": "2021-04-28T12:41:29",
7 "summary": "Unfortunately without a DVD drive and with no capability to boot from USB I’m struggling to get a clean OS on my Mini ITX machine. The internal drive is IDE and I don’t have any other machines with IDE around and I don’t know the password for the installed OS.",
8 "content": "<p>Unfortunately without a DVD drive and with no capability to boot from USB I’m struggling to get a clean OS on my Mini ITX machine. The internal drive is IDE and I don’t have any other machines with IDE around and I don’t know the password for the installed OS.</p>\n\n<p>Install Windows 2008 x86 Server (with GUI) in a VM</p>\n\n<p>Turn on Remote Desktop and turn off the firewall</p>\n\n<p>Add Windows Server role WDS and AD DS</p>\n\n<p>Set static IP address 192.168.10.10/24 DNS 127.0.0.1</p>\n\n<p>Set local administrator password to a complex password</p>\n\n<p>Run <code>dcpromo</code>, set domain to montdor.local.</p>\n\n<p>Install DHCP and follow the wizard to create a scope 192.168.10.128–192.168.10.254. DNS 192.168.10.10. No router.</p>\n\n<p>Configure WDS using the wizard</p>\n\n<ul>\n <li>Do not listen on port 67</li>\n <li>Configure DHCP option 60</li>\n <li>Respond to all clients</li>\n</ul>\n\n<p>Switch to the Windows AIK for Windows 7 ISO <code>KB3AIK_EN.ISO</code> and install Windows Automated Installation Kit (to get Windows PE)</p>\n\n<p>In WDS, add the WinPE boot WIM as a boot image. The WIM is in <code>C:\\Program Files\\Windows AIK\\Tools\\PETools\\x86\\winpe.wim</code></p>\n\n<p>Copy the Windows 2008 Server Standard x86 DVD to <code>c:\\Win2K8x86</code>. Create a share of the same name.</p>\n\n<p>Windows 2008 Server installation requires 512MB of RAM but my computer only has 256MB and only reports 248 after the video RAM is subtracted.</p>\n\n<p>Hack the Windows setup program to make it run anyway:</p>\n\n<p>Find the file <code>WINSETUP.DLL</code> in the sources folder and using as hex editor such as <a href=\"http://mh-nexus.de/en/hxd/\">HxD</a>, search for the hex string <code>77 07 3D 78 01</code> and replace it with <code>E9 04 00 00 00</code>.</p>\n\n<p>Now Windows really did need 512MB of RAM: setup fails with error <code>0xE0000100</code> caused by insufficient memory. Therefore, create a partition and then a swap file.</p>\n\n<p>Open and run the following to create a working drive:</p>\n\n<div><div><pre><code>SELECT DISK 0\nCLEAN\nCREATE PART PRIMARY\nSELECT VOLUME 0\nASSIGN\nFORMAT FS=NTFS QUICK\n</code></pre></div></div>\n\n<p>Create a paging file</p>\n\n<div><div><pre><code>wpeutil createpagefile /path:c=\\pf.sys\n</code></pre></div></div>\n\n<p>Now run Windows Setup.</p>\n\n<p>Download Sil3124 driver for Windows 7 x86. Copy it to a network share and mount it from the Windows 2008 Server and run:</p>\n\n<div><div><pre><code>pnputil -i -a *.inf\n</code></pre></div></div>\n\n<p>Then use DISKPART.EXE again, similar to above</p>\n\n<div><div><pre><code>SELECT DISK 1\nCREATE PART PRI\nSELECT VOLUME 1\nASSIGN\nFORMAT FS=NTFS QUICK\n</code></pre></div></div>\n\n<p>Now we need Windows Updates I suppose</p>\n\n<div><div><pre><code>cscript c:\\windows\\system32\\scregedit.wsf /au 4\nnet stop wuauserv\nnet start wuauserv\nwuauclt /detectnow\n</code></pre></div></div>\n\n<p>Enable Remote Desktop with</p>\n\n<div><div><pre><code>cscript c:\\windows\\system32\\scregedit.wsf /ar 0\n</code></pre></div></div>\n\n<p>Create a share</p>\n\n<div><div><pre><code>net share sharename=d:\\share /grant:everyone,full\n</code></pre></div></div>\n\n<p>Make it visible</p>\n\n<div><div><pre><code>netsh firewall set service fileandprint enable\n</code></pre></div></div>",
9 "content_type": "html",
10 "author": {
11 "name": "Mark Elvers",
12 "email": "mark.elvers@tunbury.org",
13 "uri": null
14 },
15 "categories": [
16 "raspberrypi",
17 "obs"
18 ],
19 "source": "https://www.tunbury.org/atom.xml"
20}