windows.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 20 Feb 2016 23:13:00 +0200
changeset 1894 2e3bc2435d68
parent 1827 57e7f7232b70
child 1905 fba288d59662
permissions -rw-r--r--
Convert all files from TXT to RST.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1203
diff changeset
     2
.. include:: HEADER.rst
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
=============
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 Windows OS.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
=============
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Determining windows version.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
============================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
Run winver.exe: <Win> + R winver <RET>.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
Or type: <Win> + <Break>.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
Under cmd.exe use built-in command ver.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
For Win 2000 and upper check registry key::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
  cmd> reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
To check 32/64-bit OS use PROCESSOR_ARCHITECTURE env var (it has such values:
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
x86, AMD64, IA64).
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
1160
1e36e3b98d35 Full info about Windows edition available from this .vbs
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
    25
Full info about Windows edition available from this .vbs::
1e36e3b98d35 Full info about Windows edition available from this .vbs
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
    26
1e36e3b98d35 Full info about Windows edition available from this .vbs
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
    27
  cmd> slmgr -dli
1e36e3b98d35 Full info about Windows edition available from this .vbs
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
    28
1541
80a1fea1fd7e Windows history.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1540
diff changeset
    29
Windows history.
80a1fea1fd7e Windows history.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1540
diff changeset
    30
================
80a1fea1fd7e Windows history.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1540
diff changeset
    31
80a1fea1fd7e Windows history.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1540
diff changeset
    32
  http://windows.microsoft.com/en-us/windows/history
80a1fea1fd7e Windows history.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1540
diff changeset
    33
                A history of Windows
80a1fea1fd7e Windows history.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1540
diff changeset
    34
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
Windows update.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
===============
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
To find updates and drivers visit (подлинность Windows not checked):
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
  http://catalog.update.microsoft.com/
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
You can search driver by keywords from Device Manager like::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
  VEN_10DE DEV_0247
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
  VID_22B8 PID_2A62
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
Also you can find updates on:
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
  http://www.microsoft.com/downloads/ru-ru/default.aspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
1163
a2cb3ae7117d Updates that reset pirate copy of Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1162
diff changeset
    51
Updates that reset pirate copy of Windows: КВ971033.
a2cb3ae7117d Updates that reset pirate copy of Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1162
diff changeset
    52
1500
fc0212fe5080 List of installed updates.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
    53
List of installed updates::
fc0212fe5080 List of installed updates.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
    54
fc0212fe5080 List of installed updates.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
    55
  cmd> wmic qfe
fc0212fe5080 List of installed updates.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
    56
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
Check system files integrity.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
=============================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    60
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    61
  cmd> sfc /Scannow
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    62
1506
2e9315ecb38a c:/Windows/Logs/CBS/CBS.log
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1505
diff changeset
    63
To complete repair you may need original installation CD (you can mount it from
2e9315ecb38a c:/Windows/Logs/CBS/CBS.log
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1505
diff changeset
    64
.iso image for example with DemonTools). Look to ``c:/Windows/Logs/CBS/CBS.log``
2e9315ecb38a c:/Windows/Logs/CBS/CBS.log
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1505
diff changeset
    65
for errors and warnings.
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    66
1506
2e9315ecb38a c:/Windows/Logs/CBS/CBS.log
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1505
diff changeset
    67
Works starting from Windows 2000.
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    68
1505
8f63432518d2 Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1500
diff changeset
    69
See:
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    70
1505
8f63432518d2 Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1500
diff changeset
    71
 * http://support.microsoft.com/kb/929833
8f63432518d2 Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1500
diff changeset
    72
 * http://support.microsoft.com/kb/222471
8f63432518d2 Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1500
diff changeset
    73
 * http://support.microsoft.com/kb/310747/ru
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    74
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    75
Repair boot.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    76
============
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    77
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    78
If you only damage boot sector of master or system partition boot from Windows
1827
57e7f7232b70 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1803
diff changeset
    79
XP installation CD, enter to recovery console and run::
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    80
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    81
  cmd> fixboot
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    82
  cmd> fixmbr
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    83
1827
57e7f7232b70 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1803
diff changeset
    84
See:
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    85
1827
57e7f7232b70 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1803
diff changeset
    86
 * http://support.microsoft.com/kb/307654/ru
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    87
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    88
Automatically connect to shared resource.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    89
=========================================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    90
1827
57e7f7232b70 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1803
diff changeset
    91
Add to autorun such .bat file::
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    92
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    93
  net use x: \\server\share /user:username password
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    94
1827
57e7f7232b70 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1803
diff changeset
    95
See:
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    96
1827
57e7f7232b70 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1803
diff changeset
    97
 * http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_use.mspx
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    98
1161
4b6c690eef22 Activate Windows from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1160
diff changeset
    99
Activate Windows.
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   100
=================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   101
1161
4b6c690eef22 Activate Windows from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1160
diff changeset
   102
Activate Windows from command line::
4b6c690eef22 Activate Windows from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1160
diff changeset
   103
4b6c690eef22 Activate Windows from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1160
diff changeset
   104
  cmd> slmgr -ipk YGR45-THIS9-WONT5–0WORK-D7667
4b6c690eef22 Activate Windows from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1160
diff changeset
   105
1162
f5c42c3804d6 Reset the evaluation period/licensing status and activation state of the
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1161
diff changeset
   106
Reset the evaluation period/licensing status and activation state of the
f5c42c3804d6 Reset the evaluation period/licensing status and activation state of the
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1161
diff changeset
   107
machine::
f5c42c3804d6 Reset the evaluation period/licensing status and activation state of the
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1161
diff changeset
   108
f5c42c3804d6 Reset the evaluation period/licensing status and activation state of the
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1161
diff changeset
   109
  cmd> slmgr -rearm
f5c42c3804d6 Reset the evaluation period/licensing status and activation state of the
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1161
diff changeset
   110
1751
49ebc27e6954 Check activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1670
diff changeset
   111
Check activation::
49ebc27e6954 Check activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1670
diff changeset
   112
49ebc27e6954 Check activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1670
diff changeset
   113
  cmd> slmgr /xpr
49ebc27e6954 Check activation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1670
diff changeset
   114
1161
4b6c690eef22 Activate Windows from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1160
diff changeset
   115
See:
4b6c690eef22 Activate Windows from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1160
diff changeset
   116
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   117
  http://www.microsoft.com/genuine/selfhelp/XPPkuinst.aspx?sGuid=bab9e103-6365-44dd-9337-93f0cd9dd4b7&displaylang=en
1827
57e7f7232b70 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1803
diff changeset
   118
    Windows Product Key Update Tool Instructions
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   119
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   120
Activate Windows XP.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   121
--------------------
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   122
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   123
Replace %WINDIR%/system32/winlogon.exe with valid in Safe Mode and run Windows Product Key Update
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   124
Tool.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   125
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   126
Windows images.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   127
===============
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   128
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   129
  http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2fcde6ce-b5fb-4488-8c50-fe22559d164e
1827
57e7f7232b70 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1803
diff changeset
   130
    Windows XP Service Pack 3 - ISO-9660 CD Image File
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   131
1803
8c5041bab6fa hosts file.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1751
diff changeset
   132
hosts file.
8c5041bab6fa hosts file.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1751
diff changeset
   133
===========
8c5041bab6fa hosts file.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1751
diff changeset
   134
8c5041bab6fa hosts file.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1751
diff changeset
   135
Edit ``%windir%/system32/Drivers/etc/hosts``. Under Windows 7/8/10 you need to
8c5041bab6fa hosts file.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1751
diff changeset
   136
run editor with "Run as administrator".
8c5041bab6fa hosts file.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1751
diff changeset
   137
992
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   138
Access to Samba from Vista/7.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   139
=============================
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   140
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   141
By default, you cannot authenticate and share files to and from Mac OS X or
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   142
Linux Samba due to a well known authentication method turned off by default.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   143
To enable this,
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   144
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   145
Only for Windows Vista Ultimate/Business/Enterprise Editions.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   146
-------------------------------------------------------------
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   147
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   148
Goto Start->Run and open gpedit.msc or secpol.msc
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   149
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   150
Select Continue on the User Account Control prompt. This will launch the Group
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   151
Policy Object Editor for the Local Computer Policy.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   152
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   153
In the Group Policy Object Editor, expand:
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   154
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   155
-> Computer Configuration
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   156
-> Windows Settings
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   157
-> Security Settings
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   158
-> Local Policies
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   159
-> Security Options
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   160
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   161
Open the "Network security: LAN Manager authentication level" policy and
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   162
change the Security Setting to:
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   163
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   164
Send LM & NTLM - use NTLMv2 session security if negotiated
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   165
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   166
Windows Vista Home Edition.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   167
---------------------------
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   168
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   169
Since Windows Vista Home Edition does not feature the Group Policy Editor, you
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   170
may do the following to enable this feature:
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   171
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   172
Goto Start->Run-> and type regedit.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   173
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   174
Select Continue on the User Account Control prompt.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   175
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   176
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   177
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   178
Create the following DWORD value (if it doesn't exist): LmCompatibilityLevel
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   179
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   180
And set its value to: 1
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   181
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   182
Map dir to disk.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   183
================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   184
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   185
To create::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   186
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   187
  cmd> subst [to-disk: [from-disk:]path]
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   188
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   189
To remove::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   190
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   191
  cmd> subst disk: /d
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   192
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   193
Standard scripts.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   194
=================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   195
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   196
  compmgmt.msc - Computer management
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   197
  devmgmt.msc - Device manager
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   198
  diskmgmt.msc - Disk management
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   199
  dfrg.msc - Disk defrag
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   200
  eventvwr.msc - Event viewer
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   201
  fsmgmt.msc - Shared folders
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   202
  gpedit.msc - Group policies
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   203
  lusrmgr.msc - Local users and groups
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   204
  perfmon.msc - Performance monitor
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   205
  rsop.msc - Resultant set of policies
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   206
  secpol.msc - Local security settings
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   207
  services.msc - Various Services
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   208
  msconfig - System Configuration Utility
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   209
  regedit - Registry Editor
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   210
  msinfo32 - System Information
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   211
  sysedit - System Configuration Editor
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   212
  win.ini - windows loading information(also system.ini)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   213
  winver - Shows current version of windows
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   214
  mailto: - Opens default email client
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   215
  command - Opens command prompt
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   216
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   217
  appwiz.cpl - Add & Remove Programs
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   218
  timedate.cpl - Date/Time Properties
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   219
  desk.cpl - Display Properties
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   220
  inetcpl.cpl - Internet Options
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   221
  mmsys.cpl - Sound Settings
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   222
  sysdm.cpl - System Properties
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   223
  password.cpl - Password Options
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   224
  main.cpl - Mouse and Keyboard Options
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   225
  control fonts - Fonts Folder
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   226
  control printers Printers Folder
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   227
997
9ad795c655dc Fix all to '.cpl'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 996
diff changeset
   228
'.cpl' scripts can be run from command line as:
996
bc510bb02ba6 .msc and .cpl run from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 995
diff changeset
   229
bc510bb02ba6 .msc and .cpl run from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 995
diff changeset
   230
  cmd> Rundll32 Shell32.dll,Control_RunDLL
bc510bb02ba6 .msc and .cpl run from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 995
diff changeset
   231
  cmd> Rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,0
bc510bb02ba6 .msc and .cpl run from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 995
diff changeset
   232
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   233
Path.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   234
=====
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   235
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   236
Max path length.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   237
----------------
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   238
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   239
260 chars. Use MAX_PATH macros from 'windows.h'.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   240
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   241
Allowed characters.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   242
-------------------
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   243
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   244
Not allowed:
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   245
 * characters from 0 to 31
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   246
 * < (less than)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   247
 * > (greater than)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   248
 * : (colon)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   249
 * " (double quote)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   250
 * / (forward slash)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   251
 * \ (backslash)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   252
 * | (vertical bar or pipe)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   253
 * ? (question mark)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   254
 * * (asterisk)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   255
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   256
  http://msdn.microsoft.com/en-us/library/aa365247.aspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   257
                Naming Files, Paths, and Namespaces
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   258
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   259
Memory.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   260
=======
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   261
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   262
  http://msdn.microsoft.com/en-us/library/ff542275%28v=VS.85%29.aspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   263
                Boot Parameters to Configure DEP and PAE
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   264
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   265
PAE.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   266
----
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   267
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   268
All 32-bit Windows XP support only 4 GiB RAM. To enable PAE (Physical Address
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   269
Extension) edit 'c:\boot.ini', add option '/pae':
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   270
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   271
  multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /pae
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   272
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   273
  http://msdn.microsoft.com/en-us/library/ff557168%28v=VS.85%29.aspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   274
                /pae option
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   275
  http://www.microsoft.com/whdc/system/platform/server/pae/paedrv.mspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   276
                PAE support
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   277
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   278
NX.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   279
---
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   280
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   281
NX (no execute) in Windows realised in Data Execution Prevention (DEP)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   282
technology.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   283
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   284
On 64-bit processes, DEP is enabled by default and cannot be disabled. For
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   285
32-bit Windows DEP is supported in Windows Server 2003 with SP1, Windows XP
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   286
with SP2, Windows Vista, and later versions of Windows.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   287
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   288
To enable NX on 32-bit Windows edit 'c:\boot.ini', add option
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   289
'/noexecute=...' (alwayson/optout/optin/alwaysoff)::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   290
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   291
  multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /noexecute=alwayson
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   292
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   293
To see current DEP status run::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   294
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   295
  cmd> wmic OS Get DataExecutionPrevention_Available
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   296
  cmd> wmic OS Get DataExecutionPrevention_SupportPolicy
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   297
  cmd> wmic OS Get DataExecutionPrevention_Drivers
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   298
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   299
  http://msdn.microsoft.com/en-us/library/ff557134%28VS.85%29.aspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   300
                /noexecute parameter
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   301
  http://support.microsoft.com/kb/912923
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   302
                How to determine that hardware DEP is available and configured on your computer
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   303
1116
140ed8e4da7f Windows XP Service Pack 3 - ISO-9660 CD Image File
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1082
diff changeset
   304
Windows ISO images.
140ed8e4da7f Windows XP Service Pack 3 - ISO-9660 CD Image File
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1082
diff changeset
   305
===================
140ed8e4da7f Windows XP Service Pack 3 - ISO-9660 CD Image File
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1082
diff changeset
   306
140ed8e4da7f Windows XP Service Pack 3 - ISO-9660 CD Image File
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1082
diff changeset
   307
  http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=25129
140ed8e4da7f Windows XP Service Pack 3 - ISO-9660 CD Image File
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1082
diff changeset
   308
                Windows XP Service Pack 3 - ISO-9660 CD Image File
140ed8e4da7f Windows XP Service Pack 3 - ISO-9660 CD Image File
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1082
diff changeset
   309
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   310
Life cycle.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   311
===========
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   312
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   313
  http://www.microsoft.com/windows/lifecycle/servicepacks.mspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   314
                Windows Service Pack Road Map
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   315
  http://www.microsoft.com/windows/lifecycle/default.mspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   316
                Windows Life-Cycle Policy
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   317
  http://support.microsoft.com/gp/lifeselect
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   318
                Life-Cycle Policy by product
1540
9794cd0c8faf Microsoft Product Lifecycle Search.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1539
diff changeset
   319
  http://support.microsoft.com/lifecycle/search
9794cd0c8faf Microsoft Product Lifecycle Search.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1539
diff changeset
   320
                Microsoft Product Lifecycle Search. Type product name into
9794cd0c8faf Microsoft Product Lifecycle Search.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1539
diff changeset
   321
                search box (like "Windows 95", "Windows XP", "Windows Server
9794cd0c8faf Microsoft Product Lifecycle Search.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1539
diff changeset
   322
                2003", etc)!
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   323
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   324
NTFS junction points.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   325
=====================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   326
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   327
To craete use 'junction.exe' from Mark Russinovich or 'linkd.exe' from
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   328
Microsoft Windows 2000 Resource Kit.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   329
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   330
'junction.exe' included with Sysinternals suite.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   331
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   332
  cmd> md c:\Program-Files
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   333
  cmd> junction c:\Program-Files "c:\Program Files"
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   334
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   335
  http://technet.microsoft.com/en-gb/sysinternals/bb896768.aspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   336
                Junction v1.05, Published: July 24, 2007
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   337
  http://support.microsoft.com/?kbid=205524
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   338
                How to create and manipulate NTFS junction points
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   339
  http://en.wikipedia.org/wiki/NTFS_junction_point
951
85eead1fb2a8 Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 940
diff changeset
   340
                NTFS junction point
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   341
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   342
Microsoft Windows 2000 Resource Kit.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   343
====================================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   344
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   345
  http://support.microsoft.com/kb/927229
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   346
                Windows 2000 Resource Kit Tools for administrative tasks
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   347
                separate tools downloads
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   348
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   349
Microsoft security tools.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   350
=========================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   351
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   352
  http://www.microsoft.com/downloads/details.aspx?FamilyID=CD057D9D-86B9-4E35-9733-7ACB0B2A3CA1&displayLang=en
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   353
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   354
  http://www.microsoft.com/downloads/details.aspx?FamilyID=B1E76BBE-71DF-41E8-8B52-C871D012BA78&displayLang=en
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   355
                Microsoft Baseline Security Analyzer 2.1.1 (for IT
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   356
                Professionals)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   357
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   358
  http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=4a2346ac-b772-4d40-a750-9046542f343d&displayLang=en
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   359
                Enhanced Mitigation Evaluation Toolkit
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   360
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   361
  http://blogs.technet.com/b/srd/archive/2009/10/27/announcing-the-release-of-the-enhanced-mitigation-evaluation-toolkit.aspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   362
                Announcing the release of the Enhanced Mitigation Evaluation
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   363
                Toolkit (old version 1.0)
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   364
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   365
  http://blogs.technet.com/b/srd/archive/2010/07/28/announcing-the-upcoming-release-of-emet-v2.aspx
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   366
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   367
Enable/Disabling UAC.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   368
=====================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   369
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   370
To disable UAC on the computer, you must be able to log on with or provide the
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   371
credentials of a member of the local Administrators group.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   372
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   373
Starting with Windows 7, UAC is disabled by following these steps:
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   374
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   375
  1. On the Start menu, type "UAC" and then click Change User Account settings.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   376
  2. Move the slide bar to the bottom (Never Notify) and then click OK.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   377
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   378
On Windows Vista and Windows Server 2008, UAC is disabled by following these steps:
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   379
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   380
  1. Start Control Panel and double-click User Accounts.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   381
  2. In the User Accounts tasks window, click Turn User Account Control on or off.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   382
  3. Clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   383
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   384
  http://windows.microsoft.com/en-US/windows-vista/Turn-User-Account-Control-on-or-off
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   385
                Turn User Account Control on or off
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   386
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   387
Fix file association.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   388
=====================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   389
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   390
Check current association::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   391
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   392
  $ cmd /c assoc | grep -i "^\.mp3"
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   393
  .mp3=mp3file
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   394
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   395
Get list of all available commands::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   396
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   397
  $ cmd /c ftype
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   398
  ...
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   399
  AIMP.mp3="C:\Program Files\AIMP2\AIMP2.exe" "%1"
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   400
  ...
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   401
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   402
and select one on them::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   403
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   404
  $ cmd /c assoc .mp3=AIMP.mp3
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   405
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   406
Clean up Windows system directories.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   407
====================================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   408
1507
6439bd05d09a Automating Disk Cleanup Tool in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1506
diff changeset
   409
Run ``cleanmgr.exe``.
6439bd05d09a Automating Disk Cleanup Tool in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1506
diff changeset
   410
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   411
You can safely remove SP restore files::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   412
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   413
  %Systemroot%\$NtServicePackUninstall$
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   414
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   415
Also check such directories::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   416
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   417
  %SYSTEMDRIVE%\Program Files\Common Files
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   418
  %SYSTEMDRIVE%\Documents and Settings\USER\Application Data
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   419
  %SYSTEMDRIVE%\Documents and Settings\USER\Local Settings
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   420
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   421
  http://support.microsoft.com/kb/290402
1507
6439bd05d09a Automating Disk Cleanup Tool in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1506
diff changeset
   422
                HOW TO: Remove the Service Pack Restore Files and Folders in
6439bd05d09a Automating Disk Cleanup Tool in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1506
diff changeset
   423
                Windows
6439bd05d09a Automating Disk Cleanup Tool in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1506
diff changeset
   424
  http://support.microsoft.com/kb/253597
6439bd05d09a Automating Disk Cleanup Tool in Windows
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1506
diff changeset
   425
                Automating Disk Cleanup Tool in Windows
940
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   426
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   427
Schedule Tasks in Windows.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   428
==========================
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   429
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   430
List registered of task.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   431
------------------------
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   432
::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   433
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   434
  $ schtasks /query
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   435
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   436
Create task.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   437
------------
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   438
::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   439
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   440
  $ schtasks /create /tn %TASK_NAME% /ru %ROOT% /sc daily /st 23:00:00 /tr "rundll32.exe user32.dll,LockWorkStation"
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   441
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   442
/sc can be one of::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   443
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   444
  MINUTE HOURLY DAILY WEEKLY MONTHLY ONCE ONSTART ONLOGON ONIDLE
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   445
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   446
Delete task.
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   447
------------
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   448
::
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   449
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   450
  schtasks /delete /tn %TASK_NAME% /f
b40fa8033819 Enable/Disabling UAC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   451
992
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   452
Change NTFS permission.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   453
=======================
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   454
1071
d06823550de7 takeown /r /f %file%
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1043
diff changeset
   455
  http://support.microsoft.com/kb/919240
d06823550de7 takeown /r /f %file%
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1043
diff changeset
   456
                The Icacls.exe utility is available for Windows Server 2003 with
d06823550de7 takeown /r /f %file%
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1043
diff changeset
   457
                Service Pack 2
d06823550de7 takeown /r /f %file%
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1043
diff changeset
   458
992
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   459
Change NTFS permission with 'icacls'.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   460
-------------------------------------
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   461
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   462
'icacls' allow option:
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   463
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   464
 * /c - Continues the operation despite any file errors. Error messages will
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   465
   still be displayed.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   466
 * /t - Performs the operation on all specified files in the current directory
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   467
   and its subdirectories.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   468
 * /l - Performs the operation on a symbolic link versus its destination.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   469
 * /q - Suppresses success messages.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   470
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   471
Recursively change the owner of all matching files to the specified user::
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   472
1043
3785e14cca53 Fix utils usage.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 999
diff changeset
   473
  cmd> icacls %dir% /setowner %user% /t /c
992
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   474
1071
d06823550de7 takeown /r /f %file%
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1043
diff changeset
   475
or simply::
d06823550de7 takeown /r /f %file%
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1043
diff changeset
   476
d06823550de7 takeown /r /f %file%
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1043
diff changeset
   477
  cmd> takeown /r /f %file%
d06823550de7 takeown /r /f %file%
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1043
diff changeset
   478
993
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   479
Recursively grand full access for everyone::
992
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   480
995
cbbd5041b0ed Add example.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 994
diff changeset
   481
  cmd> icacls %dir% /t /grant:r %user%:(f)
994
ead439eec6e1 Fix command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 993
diff changeset
   482
  cmd> icacls %dir% /t /grant:r *S-1-1-0:(f)
992
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   483
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   484
Well-known security identifiers (SID).
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   485
======================================
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   486
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   487
  S-1-0-0
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   488
                Null SID. A group with no members. This is often used when a SID
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   489
                value is not known.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   490
  S-1-1-0
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   491
                World/Everyone. A group that includes all users.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   492
  S-1-3-0
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   493
                Creator Owner ID. A security identifier to be replaced by the
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   494
                security identifier of the user who created a new object. This
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   495
                SID is used in inheritable ACEs.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   496
  S-1-3-1
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   497
                Creator Group ID. A security identifier to be replaced by the
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   498
                primary-group SID of the user who created a new object. Use this
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   499
                SID in inheritable ACEs.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   500
  S-1-5-6
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   501
                Service. A group that includes all security principals that have
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   502
                logged on as a service. Membership is controlled by the
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   503
                operating system.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   504
  S-1-5-7
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   505
                Anonymous. A group that includes all users that have logged on
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   506
                anonymously. Membership is controlled by the operating system.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   507
  S-1-5-32-544
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   508
                Administrators group.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   509
  S-1-5-32-545
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   510
                Users group.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   511
  S-1-5-32-546
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   512
                Guests. By default, the only member is the Guest account. The
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   513
                Guests group allows occasional or one-time users to log on with
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   514
                limited privileges to a computer's built-in Guest account.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   515
  S-1-5-32-547
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   516
                Power Users. Power users can create local users and groups;
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   517
                modify and delete accounts that they have created; and remove
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   518
                users from the Power Users, Users, and Guests groups. Power
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   519
                users also can install programs; create, manage, and delete
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   520
                local printers; and create and delete file shares.
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   521
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   522
  http://msdn.microsoft.com/en-us/library/aa379649.aspx
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   523
                Well-known SIDs
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   524
  http://support.microsoft.com/kb/243330
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   525
                Хорошо известные идентификаторы безопасности в операционных
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   526
                системах Windows
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   527
  http://en.wikipedia.org/wiki/Security_Identifier
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   528
                Security Identifier
3f8b5c0ba822 Change NTFS permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 951
diff changeset
   529
993
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   530
Converting SID to names and inside out.
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   531
=======================================
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   532
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   533
Use 'PsGetSid' utility from Sysinternals::
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   534
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   535
  cmd> PsGetSid S-1-3-0
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   536
  cmd> PsGetSid "\NULL SID"
e3fefdeb1cbf Converting SID to names and inside out.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 992
diff changeset
   537
999
dc74e11a1686 Gathering info about Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 997
diff changeset
   538
Gathering info about Windows.
dc74e11a1686 Gathering info about Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 997
diff changeset
   539
=============================
dc74e11a1686 Gathering info about Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 997
diff changeset
   540
::
dc74e11a1686 Gathering info about Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 997
diff changeset
   541
dc74e11a1686 Gathering info about Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 997
diff changeset
   542
  cmd> systeminfo
dc74e11a1686 Gathering info about Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 997
diff changeset
   543
1203
bd2a6d024b5f hcp://system/sysinfo/msinfo.xml
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1183
diff changeset
   544
From ``Win+R``::
bd2a6d024b5f hcp://system/sysinfo/msinfo.xml
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1183
diff changeset
   545
bd2a6d024b5f hcp://system/sysinfo/msinfo.xml
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1183
diff changeset
   546
  helpctr.exe -mode hcp://system/sysinfo/msinfo.xml
bd2a6d024b5f hcp://system/sysinfo/msinfo.xml
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1183
diff changeset
   547
bd2a6d024b5f hcp://system/sysinfo/msinfo.xml
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1183
diff changeset
   548
or by::
bd2a6d024b5f hcp://system/sysinfo/msinfo.xml
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1183
diff changeset
   549
bd2a6d024b5f hcp://system/sysinfo/msinfo.xml
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1183
diff changeset
   550
  cmd> %SystemRoot%\pchealth\helpctr\binaries\helpctr.exe -mode hcp://system/sysinfo/msinfo.xml
bd2a6d024b5f hcp://system/sysinfo/msinfo.xml
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1183
diff changeset
   551
1082
ffb3f274b8fe Automatically logon to Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1071
diff changeset
   552
Automatically logon to Windows.
ffb3f274b8fe Automatically logon to Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1071
diff changeset
   553
===============================
ffb3f274b8fe Automatically logon to Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1071
diff changeset
   554
::
ffb3f274b8fe Automatically logon to Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1071
diff changeset
   555
ffb3f274b8fe Automatically logon to Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1071
diff changeset
   556
  cmd# control userpasswords2
ffb3f274b8fe Automatically logon to Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1071
diff changeset
   557
1147
29a209ade045 Format drive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
   558
Format drive.
29a209ade045 Format drive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
   559
=============
1082
ffb3f274b8fe Automatically logon to Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1071
diff changeset
   560
1147
29a209ade045 Format drive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
   561
Replace with own disk letter::
29a209ade045 Format drive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
   562
29a209ade045 Format drive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
   563
  cmd# format E: /q /fs:ntfs
29a209ade045 Format drive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1116
diff changeset
   564
1148
34d44e540328 Add url.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1147
diff changeset
   565
See:
34d44e540328 Add url.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1147
diff changeset
   566
34d44e540328 Add url.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1147
diff changeset
   567
  http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/format.mspx
34d44e540328 Add url.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1147
diff changeset
   568
                Formats the disk in the specified volume to accept Windows
34d44e540328 Add url.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1147
diff changeset
   569
                files.
34d44e540328 Add url.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1147
diff changeset
   570
1894
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   571
Login/logout user scripts
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   572
=========================
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   573
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   574
``%SystemRoot%\system32\GroupPolicy\User\Scripts\Logoff`` and
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   575
``%SystemRoot%\system32\GroupPolicy\User\Scripts\Logon``.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   576
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   577
Rebooting Windows
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   578
=================
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   579
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   580
Для возможости перезагружать ОС без входа в систему::
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   581
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   582
  "Параметры безопасности."->"Локальные политики."->"Параметры безопасности."
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   583
  ->"Завершение работы: разрешить..."->"Включить."
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   584
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   585
Данная политика доступна начиная с Windows 2000.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   586
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   587
Настройка автоматического входа в систему.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   588
==========================================
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   589
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   590
Графический интерфейс операционной системы.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   591
-------------------------------------------
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   592
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   593
  1. Пуск -> Выполнить -> в поле Открыть напишите команду control userpasswords2 и нажмите OK.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   594
     Откроется окно Учетные записи пользователей.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   595
  2. Установите курсор на том имени пользователя для которого вы хотите
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   596
     настроить автоматический вход в Windows (это избавит от написания имени
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   597
     пользователя в следующем окне - оно будет подставлено автоматически) и
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   598
     снимите птичку с параметра "Требовать ввод имени пользователя и пароля",
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   599
     затем введите пароль учетной записи (если используется) и нажмите OK.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   600
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   601
Редактирование реестра.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   602
-----------------------
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   603
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   604
  1. Пуск -> Выполнить -> введите коману regedit и нажмите ОК.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   605
  2. Найдите следующий раздел реестра::
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   606
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   607
       HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   608
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   609
  3. Дважды щелкните параметр DefaultUserName (если такого параметра нет,
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   610
     создайте Строковый параметр с этим именем), введите свое имя пользователя и нажмите кнопку OK.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   611
  4. Дважды щелкните параметр DefaultPassword, введите в поле «Значение» свой пароль и нажмите кнопку OK.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   612
  5. Дважды щелкните параметр AutoAdminLogon, введите в поле Значение число 1 и нажмите кнопку OK.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   613
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   614
.. NOTE:: В случае если компьютер является членом домена перечисленные выше
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   615
          способы не будут работать, необходимо немного модифицировать второй
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   616
          способ прописав значения входа в домен:
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   617
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   618
В реестре в разделе::
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   619
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   620
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   621
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   622
    * параметру AutoAdminLogon установите значение 1
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   623
    * параметру DefaultUserName установите значение равное имени пользователя для которого
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   624
      настраиваете автоматический вход в систему
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   625
    * параметру DefaultDomainName установите значение равное имени домена для входа
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   626
    * параметру DefaultPassword установите значение равное паролю пользователя для
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   627
      которого настраиваете автоматический вход в систему
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   628
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   629
Если какого-либо параметра нет, его нужно создать, для всех параметров тип
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   630
Строковый (REG_SZ).
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   631
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   632
How to Exit Windows 98/Me Automatically Using a Batch File
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   633
----------------------------------------------------------
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   634
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   635
You can use either of the following commands in a batch file to restart Windows 98/Me automatically:
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   636
•   runonce.exe -q
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   637
•   rundll32.exe shell32.dll,SHExitWindowsEx n
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   638
where n is one, or a combination of, the following numbers:
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   639
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   640
•   0 - LOGOFF
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   641
•   1 - SHUTDOWN
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   642
•   2 - REBOOT
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   643
•   4 - FORCE
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   644
•   8 - POWEROFF
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   645
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   646
The above options can be combined into one value to achieve different results.
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   647
For example, to restart Windows forcefully, without querying any running
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   648
programs, use the following command line::
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   649
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   650
  rundll32.exe shell32.dll,SHExitWindowsEx 6
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1827
diff changeset
   651