Linux Windows

Getting Windows Vista/2008 to interact with older Samba installations

Newer versions of Windows have implemented a newer version of MS-LAN Manager communication, this is not supported by older Samba installations (below 3.2.1). So in order to fix this, you have to make your Windows client keep to the older version of MS-LAN manager.

You cannot do this if you are running a Windows 2008 server!

1) Open run

2) Start secpol.msc

3) Browse to  Local Policies, Security Options, Network security: LAN Manager authentication level

4) Set it to“Send LM & NTLM responses”

5) Fixed 🙂

(Another option would of course be to simply upgrade Samba)


Shutting down Windows 2003 / 2008 server with virsh shutdown

virsh shutdown can be compared to pushing the power button on a server, that will normally tell the OS to shut down gracefully. Microsoft on the other hand looks on that as a security issue and have per default disabled the ability to shut down the server if no admin is logged in on the server. (Aparantly you cant do anything naughty if you have access to the server..)

This causes virsh shutdown to not function as intended for Windows servers.

Luckily, You can fix this by setting the following registry key to 1:


PS: If that does not help, check out the power settings i gpedit.msc, some information about that can be found @