author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 09 Nov 2010 21:45:42 +0200 | |
changeset 683 | 94d031debe17 |
parent 650 | a1c4d8b5711b |
child 660 | a867e08c7289 |
permissions | -rw-r--r-- |
33 | 1 |
-*- outline -*- |
2 |
||
315
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
3 |
* Determining windows version. |
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
4 |
|
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
5 |
Run winver.exe: <Win> + R winver <RET>. |
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
6 |
|
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
7 |
Or type: <Win> + <Break>. |
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
8 |
|
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
9 |
Under cmd.exe use built-in command ver. |
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
10 |
|
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
11 |
For Win 2000 and upper check registry key: |
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
12 |
|
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
13 |
cmd> reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion |
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
14 |
|
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
15 |
To check 32/64-bit OS use PROCESSOR_ARCHITECTURE env var (it has such values: |
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
16 |
x86, AMD64, IA64). |
dd4cb03b6b46
Determining windows version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
308
diff
changeset
|
17 |
|
361 | 18 |
* Windows update. |
19 |
||
20 |
To find updates and drivers visit (подлинность Windows not checked): |
|
21 |
||
22 |
http://catalog.update.microsoft.com/ |
|
23 |
||
24 |
You can search driver by keywords from Device Manager like: |
|
25 |
||
26 |
VEN_10DE DEV_0247 |
|
27 |
VID_22B8 PID_2A62 |
|
28 |
||
427 | 29 |
Also you can find updates on: |
30 |
||
31 |
http://www.microsoft.com/downloads/ru-ru/default.aspx |
|
32 |
||
178 | 33 |
* XP. |
34 |
||
290
8bab7e733eb0
Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
178
diff
changeset
|
35 |
** Check system files integrity. |
178 | 36 |
|
37 |
cmd> sfc /Scannow |
|
38 |
||
290
8bab7e733eb0
Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
178
diff
changeset
|
39 |
To complete repair you may need original installation CD (you can mount it |
8bab7e733eb0
Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
178
diff
changeset
|
40 |
from .iso image for example with DemonTools). |
8bab7e733eb0
Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
178
diff
changeset
|
41 |
|
8bab7e733eb0
Check system files integrity.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
178
diff
changeset
|
42 |
Works for Windows 2000, Windows XP, Windows 2003. |
178 | 43 |
|
44 |
See |
|
45 |
||
46 |
http://support.microsoft.com/kb/222471/ |
|
47 |
http://support.microsoft.com/kb/310747/ru |
|
48 |
||
291 | 49 |
** Repair boot. |
50 |
||
51 |
If you only damage boot sector of master or system partition boot from Windows |
|
52 |
XP installation CD, enter to recovery console and run: |
|
53 |
||
54 |
cmd> fixboot |
|
55 |
cmd> fixmbr |
|
56 |
||
57 |
See |
|
58 |
||
59 |
http://support.microsoft.com/kb/307654/ru |
|
60 |
||
292
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
61 |
** Automatically connect to shared resource. |
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
62 |
|
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
63 |
Add to autorun such .bat file: |
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
64 |
|
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
65 |
net use x: \\server\share /user:username password |
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
66 |
|
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
67 |
See |
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
68 |
|
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
69 |
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_use.mspx |
45eb835dde51
Automatically connect to shared resource.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
291
diff
changeset
|
70 |
|
316 | 71 |
** Activate windows. |
72 |
||
73 |
http://www.microsoft.com/genuine/selfhelp/XPPkuinst.aspx?sGuid=bab9e103-6365-44dd-9337-93f0cd9dd4b7&displaylang=en |
|
74 |
Windows Product Key Update Tool Instructions |
|
75 |
||
178 | 76 |
* Vista |
77 |
||
78 |
** Samba. |
|
33 | 79 |
|
80 |
By default, you cannot authenticate and share files to and from Mac OS X or |
|
81 |
Linux Samba due to a well known authentication method turned off by default. |
|
82 |
To enable this, |
|
83 |
||
178 | 84 |
*** Only for Windows Vista Ultimate/Business/Enterprise Editions. |
33 | 85 |
|
178 | 86 |
Goto Start->Run and open gpedit.msc or secpol.msc |
33 | 87 |
|
88 |
Select Continue on the User Account Control prompt. This will launch the Group |
|
89 |
Policy Object Editor for the Local Computer Policy. |
|
90 |
||
91 |
In the Group Policy Object Editor, expand: |
|
92 |
||
93 |
-> Computer Configuration |
|
94 |
-> Windows Settings |
|
95 |
-> Security Settings |
|
96 |
-> Local Policies |
|
97 |
-> Security Options |
|
98 |
||
178 | 99 |
Open the "Network security: LAN Manager authentication level" policy and |
34 | 100 |
change the Security Setting to: |
33 | 101 |
|
102 |
Send LM & NTLM - use NTLMv2 session security if negotiated |
|
103 |
||
178 | 104 |
*** Windows Vista Home Edition. |
33 | 105 |
|
106 |
Since Windows Vista Home Edition does not feature the Group Policy Editor, you |
|
107 |
may do the following to enable this feature: |
|
108 |
||
178 | 109 |
Goto Start->Run-> and type regedit. |
33 | 110 |
|
111 |
Select Continue on the User Account Control prompt. |
|
112 |
||
113 |
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa |
|
114 |
||
178 | 115 |
Create the following DWORD value (if it doesn't exist): LmCompatibilityLevel |
33 | 116 |
|
117 |
And set its value to: 1 |
|
317
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
118 |
|
307 | 119 |
* Map dir to disk. |
120 |
||
308 | 121 |
To create: |
122 |
||
123 |
cmd> subst [to-disk: [from-disk:]path] |
|
124 |
||
125 |
To remove: |
|
126 |
||
127 |
cmd> subst disk: /d |
|
318 | 128 |
|
317
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
129 |
* CMD. |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
130 |
|
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
131 |
** How run cmd on 64-bit OS. |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
132 |
|
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
133 |
From 64-bit process: |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
134 |
|
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
135 |
%windir%\System32\cmd.exe (for 64-bit) |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
136 |
%windir%\SysWOW64\cmd.exe (for 32-bit) |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
137 |
|
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
138 |
From 32-bit process: |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
139 |
|
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
140 |
%windir%\System32\cmd.exe (for 32-bit) |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
141 |
%windir%\Sysnative\cmd.exe (for 64-bit) |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
142 |
|
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
143 |
http://msdn.microsoft.com/en-us/library/aa384187%28VS.85%29.aspx |
c9d11ccc0953
How run cmd on 64-bit OS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
316
diff
changeset
|
144 |
File System Redirector |
322 | 145 |
|
146 |
* Standard scripts. |
|
147 |
||
148 |
compmgmt.msc - Computer management |
|
149 |
devmgmt.msc - Device manager |
|
150 |
diskmgmt.msc - Disk management |
|
151 |
dfrg.msc - Disk defrag |
|
152 |
eventvwr.msc - Event viewer |
|
153 |
fsmgmt.msc - Shared folders |
|
154 |
gpedit.msc - Group policies |
|
155 |
lusrmgr.msc - Local users and groups |
|
156 |
perfmon.msc - Performance monitor |
|
157 |
rsop.msc - Resultant set of policies |
|
158 |
secpol.msc - Local security settings |
|
159 |
services.msc - Various Services |
|
160 |
msconfig - System Configuration Utility |
|
161 |
regedit - Registry Editor |
|
162 |
msinfo32 - System Information |
|
163 |
sysedit - System Configuration Editor |
|
164 |
win.ini - windows loading information(also system.ini) |
|
165 |
winver - Shows current version of windows |
|
166 |
mailto: - Opens default email client |
|
167 |
command - Opens command prompt |
|
168 |
||
169 |
appwiz.cpl - Add & Remove Programs |
|
170 |
timedate.cpl - Date/Time Properties |
|
171 |
desk.cpl - Display Properties |
|
172 |
inetcpl.cpl - Internet Options |
|
173 |
mmsys.cpl - Sound Settings |
|
174 |
sysdm.cpl - System Properties |
|
175 |
password.cpl - Password Options |
|
176 |
main.cpl - Mouse and Keyboard Options |
|
177 |
control fonts - Fonts Folder |
|
178 |
control printers Printers Folder |
|
360
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
179 |
|
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
180 |
* Path. |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
181 |
|
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
182 |
** Max path length. |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
183 |
|
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
184 |
260 chars. Use MAX_PATH macros from 'windows.h'. |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
185 |
|
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
186 |
** Allowed characters. |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
187 |
|
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
188 |
Not allowed: |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
189 |
* characters from 0 to 31 |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
190 |
* < (less than) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
191 |
* > (greater than) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
192 |
* : (colon) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
193 |
* " (double quote) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
194 |
* / (forward slash) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
195 |
* \ (backslash) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
196 |
* | (vertical bar or pipe) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
197 |
* ? (question mark) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
198 |
* * (asterisk) |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
199 |
|
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
200 |
http://msdn.microsoft.com/en-us/library/aa365247.aspx |
ddf042e3a518
Path limitation on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
201 |
Naming Files, Paths, and Namespaces |
428
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
202 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
203 |
* Memory. |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
204 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
205 |
http://msdn.microsoft.com/en-us/library/ff542275%28v=VS.85%29.aspx |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
206 |
Boot Parameters to Configure DEP and PAE |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
207 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
208 |
** PAE. |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
209 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
210 |
All 32-bit Windows XP support only 4 GiB RAM. To enable PAE (Physical Address |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
211 |
Extension) edit 'c:\boot.ini', add option '/pae': |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
212 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
213 |
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /pae |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
214 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
215 |
http://msdn.microsoft.com/en-us/library/ff557168%28v=VS.85%29.aspx |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
216 |
/pae option |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
217 |
http://www.microsoft.com/whdc/system/platform/server/pae/paedrv.mspx |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
218 |
PAE support |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
219 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
220 |
** NX. |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
221 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
222 |
NX (no execute) in Windows realised in Data Execution Prevention (DEP) |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
223 |
technology. |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
224 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
225 |
On 64-bit processes, DEP is enabled by default and cannot be disabled. For |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
226 |
32-bit Windows DEP is supported in Windows Server 2003 with SP1, Windows XP |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
227 |
with SP2, Windows Vista, and later versions of Windows. |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
228 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
229 |
To enable NX on 32-bit Windows edit 'c:\boot.ini', add option |
455
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
230 |
'/noexecute=...' (alwayson/optout/optin/alwaysoff): |
428
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
231 |
|
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
232 |
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /noexecute=alwayson |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
233 |
|
473
6ecff173dda7
How to determine that hardware DEP is available and configured on your computer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
457
diff
changeset
|
234 |
To see current DEP status run: |
6ecff173dda7
How to determine that hardware DEP is available and configured on your computer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
457
diff
changeset
|
235 |
|
6ecff173dda7
How to determine that hardware DEP is available and configured on your computer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
457
diff
changeset
|
236 |
cmd> wmic OS Get DataExecutionPrevention_Available |
6ecff173dda7
How to determine that hardware DEP is available and configured on your computer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
457
diff
changeset
|
237 |
cmd> wmic OS Get DataExecutionPrevention_SupportPolicy |
6ecff173dda7
How to determine that hardware DEP is available and configured on your computer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
457
diff
changeset
|
238 |
cmd> wmic OS Get DataExecutionPrevention_Drivers |
6ecff173dda7
How to determine that hardware DEP is available and configured on your computer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
457
diff
changeset
|
239 |
|
428
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
240 |
http://msdn.microsoft.com/en-us/library/ff557134%28VS.85%29.aspx |
073784e56581
Memory protection on Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
427
diff
changeset
|
241 |
/noexecute parameter |
473
6ecff173dda7
How to determine that hardware DEP is available and configured on your computer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
457
diff
changeset
|
242 |
http://support.microsoft.com/kb/912923 |
6ecff173dda7
How to determine that hardware DEP is available and configured on your computer.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
457
diff
changeset
|
243 |
How to determine that hardware DEP is available and configured on your computer |
455
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
244 |
|
437 | 245 |
* Life cycle. |
246 |
||
494
e0fa3c7c920a
End of support for Windows 98, Windows Me, and Windows XP Service Pack 1.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
473
diff
changeset
|
247 |
http://www.microsoft.com/windows/support/endofsupport.mspx |
e0fa3c7c920a
End of support for Windows 98, Windows Me, and Windows XP Service Pack 1.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
473
diff
changeset
|
248 |
End of support for Windows 98, Windows Me, and Windows XP Service Pack 1 |
437 | 249 |
http://www.microsoft.com/windows/lifecycle/servicepacks.mspx |
250 |
Windows Service Pack Road Map |
|
251 |
http://www.microsoft.com/windows/lifecycle/default.mspx |
|
252 |
Windows Life-Cycle Policy |
|
253 |
http://support.microsoft.com/gp/lifeselect |
|
254 |
Life-Cycle Policy by product |
|
456 | 255 |
|
455
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
256 |
* NTFS junction points. |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
257 |
|
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
258 |
To craete use 'junction.exe' from Mark Russinovich or 'linkd.exe' from |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
259 |
Microsoft Windows 2000 Resource Kit. |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
260 |
|
457
37e24958dca4
Microsoft Windows 2000 Resource Kit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
261 |
'junction.exe' included with Sysinternals suite. |
37e24958dca4
Microsoft Windows 2000 Resource Kit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
262 |
|
455
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
263 |
cmd> md c:\Program-Files |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
264 |
cmd> junction c:\Program-Files "c:\Program Files" |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
265 |
|
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
266 |
http://technet.microsoft.com/en-gb/sysinternals/bb896768.aspx |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
267 |
Junction v1.05, Published: July 24, 2007 |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
268 |
http://support.microsoft.com/?kbid=205524 |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
269 |
How to create and manipulate NTFS junction points |
37d810075a7b
NTFS junction points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
428
diff
changeset
|
270 |
http://en.wikipedia.org/wiki/NTFS_junction_point |
457
37e24958dca4
Microsoft Windows 2000 Resource Kit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
271 |
|
37e24958dca4
Microsoft Windows 2000 Resource Kit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
272 |
* Microsoft Windows 2000 Resource Kit. |
37e24958dca4
Microsoft Windows 2000 Resource Kit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
273 |
|
37e24958dca4
Microsoft Windows 2000 Resource Kit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
274 |
http://support.microsoft.com/kb/927229 |
37e24958dca4
Microsoft Windows 2000 Resource Kit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
275 |
Windows 2000 Resource Kit Tools for administrative tasks |
37e24958dca4
Microsoft Windows 2000 Resource Kit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
276 |
separate tools downloads |
496
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
277 |
|
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
278 |
* Microsoft security tools. |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
279 |
|
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
280 |
http://www.microsoft.com/downloads/details.aspx?FamilyID=CD057D9D-86B9-4E35-9733-7ACB0B2A3CA1&displayLang=en |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
281 |
|
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
282 |
http://www.microsoft.com/downloads/details.aspx?FamilyID=B1E76BBE-71DF-41E8-8B52-C871D012BA78&displayLang=en |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
283 |
Microsoft Baseline Security Analyzer 2.1.1 (for IT |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
284 |
Professionals) |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
285 |
|
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
286 |
http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=4a2346ac-b772-4d40-a750-9046542f343d&displayLang=en |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
287 |
Enhanced Mitigation Evaluation Toolkit |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
288 |
|
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
289 |
http://blogs.technet.com/b/srd/archive/2009/10/27/announcing-the-release-of-the-enhanced-mitigation-evaluation-toolkit.aspx |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
290 |
Announcing the release of the Enhanced Mitigation Evaluation |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
291 |
Toolkit (old version 1.0) |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
292 |
|
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
293 |
http://blogs.technet.com/b/srd/archive/2010/07/28/announcing-the-upcoming-release-of-emet-v2.aspx |
5fee9f3276aa
Microsoft security tools.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
494
diff
changeset
|
294 |
|
639 | 295 |
* Disabling UAC. |
296 |
||
297 |
To disable UAC on the test computer, you must be able to log on with or provide the credentials of a |
|
298 |
member of the local Administrators group. |
|
299 |
||
300 |
Starting with Windows 7, UAC is disabled by following these steps: |
|
301 |
||
302 |
1. On the Start menu, type "UAC" and then click Change User Account settings. |
|
303 |
2. Move the slide bar to the bottom (Never Notify) and then click OK. |
|
304 |
||
305 |
On Windows Vista and Windows Server 2008, UAC is disabled by following these steps: |
|
306 |
||
307 |
1. Start Control Panel and double-click User Accounts. |
|
308 |
2. In the User Accounts tasks window, click Turn User Account Control on or off. |
|
309 |
3. Clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK. |
|
650
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
310 |
|
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
311 |
* Fix file association. |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
312 |
|
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
313 |
Check current association: |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
314 |
|
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
315 |
$ cmd /c assoc | grep -i "^\.mp3" |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
316 |
.mp3=mp3file |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
317 |
|
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
318 |
Get list of all available commands: |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
319 |
|
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
320 |
$ cmd /c ftype |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
321 |
... |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
322 |
AIMP.mp3="C:\Program Files\AIMP2\AIMP2.exe" "%1" |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
323 |
... |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
324 |
|
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
325 |
and select one on them: |
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
326 |
|
a1c4d8b5711b
Fix file association.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
639
diff
changeset
|
327 |
$ cmd /c assoc .mp3=AIMP.mp3 |