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-- |
940 | 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 | 3 |
|
4 |
============= |
|
5 |
Windows OS. |
|
6 |
============= |
|
7 |
.. contents:: |
|
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 |
||
47 |
Also you can find updates on: |
|
48 |
||
49 |
http://www.microsoft.com/downloads/ru-ru/default.aspx |
|
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 | 57 |
Check system files integrity. |
58 |
============================= |
|
59 |
:: |
|
60 |
||
61 |
cmd> sfc /Scannow |
|
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 | 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 | 68 |
|
1505
8f63432518d2
Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1500
diff
changeset
|
69 |
See: |
940 | 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 | 74 |
|
75 |
Repair boot. |
|
76 |
============ |
|
77 |
||
78 |
If you only damage boot sector of master or system partition boot from Windows |
|
1827 | 79 |
XP installation CD, enter to recovery console and run:: |
940 | 80 |
|
81 |
cmd> fixboot |
|
82 |
cmd> fixmbr |
|
83 |
||
1827 | 84 |
See: |
940 | 85 |
|
1827 | 86 |
* http://support.microsoft.com/kb/307654/ru |
940 | 87 |
|
88 |
Automatically connect to shared resource. |
|
89 |
========================================= |
|
90 |
||
1827 | 91 |
Add to autorun such .bat file:: |
940 | 92 |
|
93 |
net use x: \\server\share /user:username password |
|
94 |
||
1827 | 95 |
See: |
940 | 96 |
|
1827 | 97 |
* http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_use.mspx |
940 | 98 |
|
1161
4b6c690eef22
Activate Windows from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1160
diff
changeset
|
99 |
Activate Windows. |
940 | 100 |
================= |
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 | 111 |
Check activation:: |
112 |
||
113 |
cmd> slmgr /xpr |
|
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 | 117 |
http://www.microsoft.com/genuine/selfhelp/XPPkuinst.aspx?sGuid=bab9e103-6365-44dd-9337-93f0cd9dd4b7&displaylang=en |
1827 | 118 |
Windows Product Key Update Tool Instructions |
940 | 119 |
|
120 |
Activate Windows XP. |
|
121 |
-------------------- |
|
122 |
||
123 |
Replace %WINDIR%/system32/winlogon.exe with valid in Safe Mode and run Windows Product Key Update |
|
124 |
Tool. |
|
125 |
||
126 |
Windows images. |
|
127 |
=============== |
|
128 |
||
129 |
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2fcde6ce-b5fb-4488-8c50-fe22559d164e |
|
1827 | 130 |
Windows XP Service Pack 3 - ISO-9660 CD Image File |
940 | 131 |
|
1803 | 132 |
hosts file. |
133 |
=========== |
|
134 |
||
135 |
Edit ``%windir%/system32/Drivers/etc/hosts``. Under Windows 7/8/10 you need to |
|
136 |
run editor with "Run as administrator". |
|
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 | 140 |
|
141 |
By default, you cannot authenticate and share files to and from Mac OS X or |
|
142 |
Linux Samba due to a well known authentication method turned off by default. |
|
143 |
To enable this, |
|
144 |
||
145 |
Only for Windows Vista Ultimate/Business/Enterprise Editions. |
|
146 |
------------------------------------------------------------- |
|
147 |
||
148 |
Goto Start->Run and open gpedit.msc or secpol.msc |
|
149 |
||
150 |
Select Continue on the User Account Control prompt. This will launch the Group |
|
151 |
Policy Object Editor for the Local Computer Policy. |
|
152 |
||
153 |
In the Group Policy Object Editor, expand: |
|
154 |
||
155 |
-> Computer Configuration |
|
156 |
-> Windows Settings |
|
157 |
-> Security Settings |
|
158 |
-> Local Policies |
|
159 |
-> Security Options |
|
160 |
||
161 |
Open the "Network security: LAN Manager authentication level" policy and |
|
162 |
change the Security Setting to: |
|
163 |
||
164 |
Send LM & NTLM - use NTLMv2 session security if negotiated |
|
165 |
||
166 |
Windows Vista Home Edition. |
|
167 |
--------------------------- |
|
168 |
||
169 |
Since Windows Vista Home Edition does not feature the Group Policy Editor, you |
|
170 |
may do the following to enable this feature: |
|
171 |
||
172 |
Goto Start->Run-> and type regedit. |
|
173 |
||
174 |
Select Continue on the User Account Control prompt. |
|
175 |
||
176 |
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa |
|
177 |
||
178 |
Create the following DWORD value (if it doesn't exist): LmCompatibilityLevel |
|
179 |
||
180 |
And set its value to: 1 |
|
181 |
||
182 |
Map dir to disk. |
|
183 |
================ |
|
184 |
||
185 |
To create:: |
|
186 |
||
187 |
cmd> subst [to-disk: [from-disk:]path] |
|
188 |
||
189 |
To remove:: |
|
190 |
||
191 |
cmd> subst disk: /d |
|
192 |
||
193 |
Standard scripts. |
|
194 |
================= |
|
195 |
||
196 |
compmgmt.msc - Computer management |
|
197 |
devmgmt.msc - Device manager |
|
198 |
diskmgmt.msc - Disk management |
|
199 |
dfrg.msc - Disk defrag |
|
200 |
eventvwr.msc - Event viewer |
|
201 |
fsmgmt.msc - Shared folders |
|
202 |
gpedit.msc - Group policies |
|
203 |
lusrmgr.msc - Local users and groups |
|
204 |
perfmon.msc - Performance monitor |
|
205 |
rsop.msc - Resultant set of policies |
|
206 |
secpol.msc - Local security settings |
|
207 |
services.msc - Various Services |
|
208 |
msconfig - System Configuration Utility |
|
209 |
regedit - Registry Editor |
|
210 |
msinfo32 - System Information |
|
211 |
sysedit - System Configuration Editor |
|
212 |
win.ini - windows loading information(also system.ini) |
|
213 |
winver - Shows current version of windows |
|
214 |
mailto: - Opens default email client |
|
215 |
command - Opens command prompt |
|
216 |
||
217 |
appwiz.cpl - Add & Remove Programs |
|
218 |
timedate.cpl - Date/Time Properties |
|
219 |
desk.cpl - Display Properties |
|
220 |
inetcpl.cpl - Internet Options |
|
221 |
mmsys.cpl - Sound Settings |
|
222 |
sysdm.cpl - System Properties |
|
223 |
password.cpl - Password Options |
|
224 |
main.cpl - Mouse and Keyboard Options |
|
225 |
control fonts - Fonts Folder |
|
226 |
control printers Printers Folder |
|
227 |
||
997 | 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 | 233 |
Path. |
234 |
===== |
|
235 |
||
236 |
Max path length. |
|
237 |
---------------- |
|
238 |
||
239 |
260 chars. Use MAX_PATH macros from 'windows.h'. |
|
240 |
||
241 |
Allowed characters. |
|
242 |
------------------- |
|
243 |
||
244 |
Not allowed: |
|
245 |
* characters from 0 to 31 |
|
246 |
* < (less than) |
|
247 |
* > (greater than) |
|
248 |
* : (colon) |
|
249 |
* " (double quote) |
|
250 |
* / (forward slash) |
|
251 |
* \ (backslash) |
|
252 |
* | (vertical bar or pipe) |
|
253 |
* ? (question mark) |
|
254 |
* * (asterisk) |
|
255 |
||
256 |
http://msdn.microsoft.com/en-us/library/aa365247.aspx |
|
257 |
Naming Files, Paths, and Namespaces |
|
258 |
||
259 |
Memory. |
|
260 |
======= |
|
261 |
||
262 |
http://msdn.microsoft.com/en-us/library/ff542275%28v=VS.85%29.aspx |
|
263 |
Boot Parameters to Configure DEP and PAE |
|
264 |
||
265 |
PAE. |
|
266 |
---- |
|
267 |
||
268 |
All 32-bit Windows XP support only 4 GiB RAM. To enable PAE (Physical Address |
|
269 |
Extension) edit 'c:\boot.ini', add option '/pae': |
|
270 |
||
271 |
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /pae |
|
272 |
||
273 |
http://msdn.microsoft.com/en-us/library/ff557168%28v=VS.85%29.aspx |
|
274 |
/pae option |
|
275 |
http://www.microsoft.com/whdc/system/platform/server/pae/paedrv.mspx |
|
276 |
PAE support |
|
277 |
||
278 |
NX. |
|
279 |
--- |
|
280 |
||
281 |
NX (no execute) in Windows realised in Data Execution Prevention (DEP) |
|
282 |
technology. |
|
283 |
||
284 |
On 64-bit processes, DEP is enabled by default and cannot be disabled. For |
|
285 |
32-bit Windows DEP is supported in Windows Server 2003 with SP1, Windows XP |
|
286 |
with SP2, Windows Vista, and later versions of Windows. |
|
287 |
||
288 |
To enable NX on 32-bit Windows edit 'c:\boot.ini', add option |
|
289 |
'/noexecute=...' (alwayson/optout/optin/alwaysoff):: |
|
290 |
||
291 |
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /noexecute=alwayson |
|
292 |
||
293 |
To see current DEP status run:: |
|
294 |
||
295 |
cmd> wmic OS Get DataExecutionPrevention_Available |
|
296 |
cmd> wmic OS Get DataExecutionPrevention_SupportPolicy |
|
297 |
cmd> wmic OS Get DataExecutionPrevention_Drivers |
|
298 |
||
299 |
http://msdn.microsoft.com/en-us/library/ff557134%28VS.85%29.aspx |
|
300 |
/noexecute parameter |
|
301 |
http://support.microsoft.com/kb/912923 |
|
302 |
How to determine that hardware DEP is available and configured on your computer |
|
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 | 310 |
Life cycle. |
311 |
=========== |
|
312 |
||
313 |
http://www.microsoft.com/windows/lifecycle/servicepacks.mspx |
|
314 |
Windows Service Pack Road Map |
|
315 |
http://www.microsoft.com/windows/lifecycle/default.mspx |
|
316 |
Windows Life-Cycle Policy |
|
317 |
http://support.microsoft.com/gp/lifeselect |
|
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 | 323 |
|
324 |
NTFS junction points. |
|
325 |
===================== |
|
326 |
||
327 |
To craete use 'junction.exe' from Mark Russinovich or 'linkd.exe' from |
|
328 |
Microsoft Windows 2000 Resource Kit. |
|
329 |
||
330 |
'junction.exe' included with Sysinternals suite. |
|
331 |
||
332 |
cmd> md c:\Program-Files |
|
333 |
cmd> junction c:\Program-Files "c:\Program Files" |
|
334 |
||
335 |
http://technet.microsoft.com/en-gb/sysinternals/bb896768.aspx |
|
336 |
Junction v1.05, Published: July 24, 2007 |
|
337 |
http://support.microsoft.com/?kbid=205524 |
|
338 |
How to create and manipulate NTFS junction points |
|
339 |
http://en.wikipedia.org/wiki/NTFS_junction_point |
|
951 | 340 |
NTFS junction point |
940 | 341 |
|
342 |
Microsoft Windows 2000 Resource Kit. |
|
343 |
==================================== |
|
344 |
||
345 |
http://support.microsoft.com/kb/927229 |
|
346 |
Windows 2000 Resource Kit Tools for administrative tasks |
|
347 |
separate tools downloads |
|
348 |
||
349 |
Microsoft security tools. |
|
350 |
========================= |
|
351 |
||
352 |
http://www.microsoft.com/downloads/details.aspx?FamilyID=CD057D9D-86B9-4E35-9733-7ACB0B2A3CA1&displayLang=en |
|
353 |
||
354 |
http://www.microsoft.com/downloads/details.aspx?FamilyID=B1E76BBE-71DF-41E8-8B52-C871D012BA78&displayLang=en |
|
355 |
Microsoft Baseline Security Analyzer 2.1.1 (for IT |
|
356 |
Professionals) |
|
357 |
||
358 |
http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=4a2346ac-b772-4d40-a750-9046542f343d&displayLang=en |
|
359 |
Enhanced Mitigation Evaluation Toolkit |
|
360 |
||
361 |
http://blogs.technet.com/b/srd/archive/2009/10/27/announcing-the-release-of-the-enhanced-mitigation-evaluation-toolkit.aspx |
|
362 |
Announcing the release of the Enhanced Mitigation Evaluation |
|
363 |
Toolkit (old version 1.0) |
|
364 |
||
365 |
http://blogs.technet.com/b/srd/archive/2010/07/28/announcing-the-upcoming-release-of-emet-v2.aspx |
|
366 |
||
367 |
Enable/Disabling UAC. |
|
368 |
===================== |
|
369 |
||
370 |
To disable UAC on the computer, you must be able to log on with or provide the |
|
371 |
credentials of a member of the local Administrators group. |
|
372 |
||
373 |
Starting with Windows 7, UAC is disabled by following these steps: |
|
374 |
||
375 |
1. On the Start menu, type "UAC" and then click Change User Account settings. |
|
376 |
2. Move the slide bar to the bottom (Never Notify) and then click OK. |
|
377 |
||
378 |
On Windows Vista and Windows Server 2008, UAC is disabled by following these steps: |
|
379 |
||
380 |
1. Start Control Panel and double-click User Accounts. |
|
381 |
2. In the User Accounts tasks window, click Turn User Account Control on or off. |
|
382 |
3. Clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK. |
|
383 |
||
384 |
http://windows.microsoft.com/en-US/windows-vista/Turn-User-Account-Control-on-or-off |
|
385 |
Turn User Account Control on or off |
|
386 |
||
387 |
Fix file association. |
|
388 |
===================== |
|
389 |
||
390 |
Check current association:: |
|
391 |
||
392 |
$ cmd /c assoc | grep -i "^\.mp3" |
|
393 |
.mp3=mp3file |
|
394 |
||
395 |
Get list of all available commands:: |
|
396 |
||
397 |
$ cmd /c ftype |
|
398 |
... |
|
399 |
AIMP.mp3="C:\Program Files\AIMP2\AIMP2.exe" "%1" |
|
400 |
... |
|
401 |
||
402 |
and select one on them:: |
|
403 |
||
404 |
$ cmd /c assoc .mp3=AIMP.mp3 |
|
405 |
||
406 |
Clean up Windows system directories. |
|
407 |
==================================== |
|
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 | 411 |
You can safely remove SP restore files:: |
412 |
||
413 |
%Systemroot%\$NtServicePackUninstall$ |
|
414 |
||
415 |
Also check such directories:: |
|
416 |
||
417 |
%SYSTEMDRIVE%\Program Files\Common Files |
|
418 |
%SYSTEMDRIVE%\Documents and Settings\USER\Application Data |
|
419 |
%SYSTEMDRIVE%\Documents and Settings\USER\Local Settings |
|
420 |
||
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 | 426 |
|
427 |
Schedule Tasks in Windows. |
|
428 |
========================== |
|
429 |
||
430 |
List registered of task. |
|
431 |
------------------------ |
|
432 |
:: |
|
433 |
||
434 |
$ schtasks /query |
|
435 |
||
436 |
Create task. |
|
437 |
------------ |
|
438 |
:: |
|
439 |
||
440 |
$ schtasks /create /tn %TASK_NAME% /ru %ROOT% /sc daily /st 23:00:00 /tr "rundll32.exe user32.dll,LockWorkStation" |
|
441 |
||
442 |
/sc can be one of:: |
|
443 |
||
444 |
MINUTE HOURLY DAILY WEEKLY MONTHLY ONCE ONSTART ONLOGON ONIDLE |
|
445 |
||
446 |
Delete task. |
|
447 |
------------ |
|
448 |
:: |
|
449 |
||
450 |
schtasks /delete /tn %TASK_NAME% /f |
|
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 | 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 | 481 |
cmd> icacls %dir% /t /grant:r %user%:(f) |
994 | 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 | 558 |
Format drive. |
559 |
============= |
|
1082
ffb3f274b8fe
Automatically logon to Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1071
diff
changeset
|
560 |
|
1147 | 561 |
Replace with own disk letter:: |
562 |
||
563 |
cmd# format E: /q /fs:ntfs |
|
564 |
||
1148 | 565 |
See: |
566 |
||
567 |
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/format.mspx |
|
568 |
Formats the disk in the specified volume to accept Windows |
|
569 |
files. |
|
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 |