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