windows.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 27 Jan 2010 21:29:04 +0200
changeset 292 45eb835dde51
parent 291 2c347c37673a
child 307 f44439d365fa
child 316 e43dd1b38149
permissions -rw-r--r--
Automatically connect to shared resource.

-*- outline -*-

* XP.

** Check system files integrity.

  cmd> sfc /Scannow

To complete repair you may need original installation CD (you can mount it
from .iso image for example with DemonTools).

Works for Windows 2000, Windows XP, Windows 2003.

See

  http://support.microsoft.com/kb/222471/
  http://support.microsoft.com/kb/310747/ru

** Repair boot.

If you only damage boot sector of master or system partition boot from Windows
XP installation CD, enter to recovery console and run:

  cmd> fixboot
  cmd> fixmbr

See

  http://support.microsoft.com/kb/307654/ru

** Automatically connect to shared resource.

Add to autorun such .bat file:

  net use x: \\server\share /user:username password

See

  http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_use.mspx

* Vista

** Samba.

By default, you cannot authenticate and share files to and from Mac OS X or
Linux Samba due to a well known authentication method turned off by default.
To enable this,

*** Only for Windows Vista Ultimate/Business/Enterprise Editions.

Goto Start->Run and open gpedit.msc or secpol.msc

Select Continue on the User Account Control prompt. This will launch the Group
Policy Object Editor for the Local Computer Policy.

In the Group Policy Object Editor, expand:

-> Computer Configuration
-> Windows Settings
-> Security Settings
-> Local Policies
-> Security Options

Open the "Network security: LAN Manager authentication level" policy and
change the Security Setting to:

Send LM & NTLM - use NTLMv2 session security if negotiated

*** Windows Vista Home Edition.

Since Windows Vista Home Edition does not feature the Group Policy Editor, you
may do the following to enable this feature:

Goto Start->Run-> and type regedit.

Select Continue on the User Account Control prompt.

Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Create the following DWORD value (if it doesn't exist): LmCompatibilityLevel

And set its value to: 1