waik – unattended install – united kingdom (great britain) localization

I’ve struggled to get rid of the first screen (asking for language, time zone and keyboard) when performing an install of Windows 2008 R2, using an answer file created with WAIK. It looks like I wasn’t the first to hit this problem. Windows will display forms where it hasn’t got the right answers. In my case I had to pay attention to the following:

  • UILanguage which needs to be en-US
  • InputLocale = 0809:00000809
  • TimeZone = GMT Standard Time

once the answer file is complete an image can be generated using the deployment tools command prompt so it can be mounted together with the windows iso:
oscdimg -n c:answer c:answer.iso

windows 2008 R2 random notes

I want to get some of the basic MCSE certs this year. I have been working in IT for a while now, but never got the time or the energy or maybe the talent to get certified. So this summer I want to change all that. I tend to make notes when I read, but this time I’ll do this online, on this page.


– promotion -> converts member servers to DC’s

– demotion -> converts DC’s to member servers

Terminal Services -> are now called Remote Desktop Services

winrs – windows remote shell; can be retrofited in xp and W2k3 – Microsoft kb: 936059

wevtutil.exe – command line version of eventviewer

SMB – “Server Message Block” – name of windows file server service

SYSVOL – builtin file share on every DC – keeps AD information (group policy and logon scripts among other things)

printer drivers attach themselves to the printer spooler service. So if a driver fails, it takes down the whole of the spooler service and all the other drivers with it. W2k8 R2 allow to isolate printer drivers within their own individual process.

64-bit builds of Windows require digitally signed kernel mode drivers – the operating system will allow you to install them with a warning, but those drivers will never actually load (however this can be disabled by: press F8->Advanced Boot Options->Disable Driver Signature Enforcement

DVD installation allows only a clean install not an upgrade

winver.exe shows version of windows installation.

RODC does not store passwords

Import-Module Servermanager – enables servermanager in powershell

-restart – automates restart in powershell (a restart will happen automatically if necessary)

there are various shortcuts:
ncpa.cpl – brings up network configuration
ctrl+shift+esc -> task manager

command line reference guide: http://technet.microsoft.com/en-us/library/cc772390%28WS.10%29.aspx

Permission Override:
deny overrides allow
– explicit allow overrides deny

set-up networking:

netsh interface set interface name="local area connection" newname="Internal"
netsh interface ipv4 set address name="Internal" source=static address= mask= gateway= 
netsh interface ipv4 add dnsserver name="Internal" address= index=1 

rename the computer:
netdom renamecomputer /newname: /userd:[] [/passwordd:[ | *]] /usero:[] [/passwordo:[ | *]] [/reboot[:]] [{/help | /?}]

netdom renamecomputer %computername% /newname:newdc1

Graphics in Latex

I use Debian Squeeze (testing at time of writing) and for Latex work my setup is:
Kile – for the main coding
LatexDraw – for graphs.

Once I am happy with the drawing in LatexDraw, I take the code and paste it in Kile.
Then: Alt+2 (latex to dvi) , Alt+4 (dvi to ps), Alt+8 (ps to pdf) and Alt+7 to view the pdf.

debian squeeze (testing)

the install with lxde is much more of a breeze for the less technical amongst us. Just start the net-install cd, select advanced options and the choose alternative options. Select lxde and then install in the usual way. I have selected desktop and standard and this installs lxde rather than the standard gnome.
I left it like this because it offers the minimal install I would have chosen anyway. Copying libflashplayer.so to /usr/lib/mozilla/plugins works for i386 platform. I find this the easiest way to install flash 10.
same customisation for alsa like in lenny
and that’s about it.

debian lenny with lxde

I’ve installed lenny, despite a message talking about not using mmconfig (I have no idea what that means yet)


sudo apt-get install lxde

I have sorted my audio like in here
then restart alsa

sudo /etc/init.d/alsa-utils restart

I couldn’t find a perfect alternative to adobe flash player, so I have installed the adobe player like this:
cp libflashplayer.so /usr/lib/mozilla/plugins/
this worked in x64 (and in Squeeze), if you have i386 and iceweasel crashes with Adobe Flash Player 10, the you may want to use the deb package from the adobe site:
dpkg --install Desktop/install_flash_player_10_linux.deb
then go to synaptic and choose fix broken packages.
This may not be the best way, but it worked in my case

If you want to keep you install ‘clean’ this is how I set-up gnash before,
like in here

# apt-get remove --purge flashplugin-nonfree
# apt-get install gstreamer0.10-alsa gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnomevfs gstreamer0.10-plugins-base gstreamer0.10-plugins-good
# apt-get install gnash gnash-common gnash-common gnash-cygnal gnash-tools konqueror-plugin-gnash klash mozilla-plugin-gnash

restart iceweasel

install a media player.
apt-get install amarok

in order to mount ntfs drives (usb drives formated in windows)
apt-get install ntfs-3g

linux looks

My eyecandy adventures took me into OpenSuse land. I’ve installed OpenSuse11. I run for a couple of weeks, missed the debian apt-get too much. I just couldn’t get used to the mess that OpenSuse seems to present as package installation process.

So I am back on Debian Lenny, with good old xfce and a nice little dock, called cairo-dock.