PermaLink Windows 2008 Core Install Is Only 3.7GB in a VM08/03/2011 06:03 PM
Wow...it really is a minimal install.  I got it to a minimal 3.7GB VM file (compared to about 14GB for a Win2008 Standard install) by doing the reboot/compact trick (after the files are installed by the installer, reboot using the CD and go to Repair mode to get a command line and execute "\windows\system32\compact.exe /c /s /i" to compact everything on the C: drive).
After the first Windows Update, you can also delete all the files out of the download cache which is in \windows\SoftwareDistribution\Download (why Windows doesn't do this automatically after it installs them, I have no idea)-:
If you had IE installed (not installed if you installed Core server), you can also disable IE ESC by doing "“\Windows\system32\rundll32.exe” \Windows\system32\iesetup.dll,IEShowHardeningDialog" to bring up the dialog or you can do it the hard way by mucking with the registry.  If you don't do this, you get all sorts of aggravating behavior like not being able run executables off a network share, not being able browse any untrusted sites, etc.  Unfortunately, this doesn't affect .msi files which cannot be run off network shares.
And if you don't want to remember all the arcane (yes, arcane, and I'm very used to using Linux so I actually like command line tools) Win2008 Core commands, you can grab CoreConfigurator to make your life easier.  Win2008 Core isn't really command line because it brings up the graphics subsystem).
Install vim (add it to the path by modifying the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment), wget and KpyM SSH and allow ssh through the Windows Firewall (netsh advfirewall firewall add rule name="SSH" dir=in action=allow protocol=TCP localport=22) and you're all set for remote admin of a minimal server.

Comments :v
No comments.
Start Pages
RSS News Feed RSS Comments Feed CoComment Integrated
The BlogRoll
Calendar
April 2024
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Search
Contact Me
About Ken
Full-stack developer (consultant) working with .Net, Java, Android, Javascript (jQuery, Meteor.js, AngularJS), Lotus Domino