Windows XP: The wireless keys are stored in the Registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\[Interface Guid].
Windows Vista: The wireless keys are stored in the file system, under c:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\[Interface Guid]. The encrypted keys are stored in .xml file.
Saturday, July 24, 2010
Tuesday, June 29, 2010
Using ShellRunas to run programs 'as different user' in Windows 7 without shift+right clicking
Download Sysinternals ShellRunas from http://technet.microsoft.com/en-us/sysinternals/cc300361.aspx, save it in C:\Windows\System32 (or %systemroot%\system32), and then prefix the 'Target' field in the application's shortcut with %systemroot%\System32\ShellRunas.exe.
Example:
%systemroot%\System32\ShellRunas.exe "C:\Program Files (x86)\testprogram\test.exe"
alternative method using the old 'runas' command:
runas.exe /user:Domain\Username "C:\Program Files (x86)\testprogram\test.exe"
you can throw /savecred when using runas to save the credentials the first time the shortcut is run, and then to launch using those saved credentials thereafter.
credit: http://social.technet.microsoft.com/Forums/en/w7itproui/thread/bb1480cf-c920-4d83-b889-4654f5713c8f
Example:
%systemroot%\System32\ShellRunas.exe "C:\Program Files (x86)\testprogram\test.exe"
alternative method using the old 'runas' command:
runas.exe /user:Domain\Username "C:\Program Files (x86)\testprogram\test.exe"
you can throw /savecred when using runas to save the credentials the first time the shortcut is run, and then to launch using those saved credentials thereafter.
credit: http://social.technet.microsoft.com/Forums/en/w7itproui/thread/bb1480cf-c920-4d83-b889-4654f5713c8f
Thursday, June 3, 2010
Accessing XP/Server 2003 network shares from Windows 7/Vista
The Windows 7/Vista LAN Manager Authentication Level must be changed to allow communication with the older NT/XP systems.
Start>Run>secpol.msc>Local Policies>Security Options>
set 'Network Security: LAN Manager Authentication level' to 'Sent LM & NTLM - use NTLMv2 session security if negotiated'
This can also be accomplished via the registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"LmCompatibilityLevel"=dword:00000001
Start>Run>secpol.msc>Local Policies>Security Options>
set 'Network Security: LAN Manager Authentication level' to 'Sent LM & NTLM - use NTLMv2 session security if negotiated'
This can also be accomplished via the registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"LmCompatibilityLevel"=dword:00000001
Monday, April 5, 2010
Do not automatically make redirected folders available offline
gpedit.msc>User>Administrative Templates>System>Folder Redirection>Do not automatically make redirected folders available offline>On
Thursday, December 31, 2009
Methods to disable Autorun and/or AutoPlay
Autorun: the execution of autorun.inf files on removable media. Windows XP allows automatic autorun.inf execution at media insertion and as the default double-click action for the media icon. Vista/7 disables automatic autorun.inf execution at media insertion, but allows autorun.inf execution as default double click action for the media icon.
AutoPlay: dialog box that presents options when mounting removable media/devices. In Vista/7, the dialog box includes an option corresponding to the autorun.inf file on the mounted media.
-Disable AutoPlay AND Autorun-
Group Policy Editor method:(available in XP/Vista/7 Professional editions and above)
XP: start>run>gpedit.msc, Computer/User Configuration\Administrative Templates\System\Turn off Autoplay, click enable, choose 'All Drives' from the combo box.
Vista/7: start>run>gpedit.msc, Computer/User Configuration\Administrative Templates\Windows Components\AutoPlay Policies\Turn off Autoplay, click enabled, choose 'All Drives' from the combo box
The above procedures set the "NoDriveTypeAutoRun" registry key, which can be manually set in the absence of Group Policy Editor (XP/Vista/7 Home/Basic editions)
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff - xp/vista requires patch to work properly (see first link)
"NoAutorun"=dword:00000001 - vista/7 - disables autorun on device insert/connection, but double clicking device still executes autorun.inf
The following updates are required for the above method to work properly (see first link)
**To disable the Autorun functionality in Windows Vista or in Windows Server 2008, you must have security update 950582 installed (security bulletin MS08-038).
To disable the Autorun functionality in Windows XP, Windows Server 2003, or Windows 2000, you must have security update 950582, 967715, or 953252 installed.**
-Other less ideal methods-
-Disables display of the AutoPlay option that corresponds to the autorun.inf file, but allows autorun.inf execution as default double click action for the media icon-
Vista/7: start>run>gpedit.msc, Computer/User Configuration\Administrative Templates\Windows Components\AutoPlay Policies\Default behavior for AutoRun, click enabled, choose 'Do not execute any autorun commands' from the combo box
The above procedure sets the "NoAutorun" registry key (see above), which can be manually set in the absence of Group Policy Editor (XP/Vista/7 Home/Basic editions)
-Disables AutoPlay dialog on media insertion in Vista/7,but allows autorun.inf execution as default double click action for the media icon-
Control Panel\All Control Panel Items\AutoPlay, uncheck "Use AutoPlay for all media and devices"
-Disables AutoPlay dialog in XP, but does not disable autorun.inf execution on media insertion or as default double click action for the media icon-
In 'My Computer', right-click on the desired device, select 'AutoPlay' and select 'Take no Action
-Disables Autorun by way of disabling MCN (Media Change Notifications) on the optical disk drive(s) only, also known as Auto Insert Notification, can cause other issues. (see links)-
[HKLM\SYSTEM\CurrentControlSet\Services\Cdrom]
"Autorun"=dword:00000000
"AutoRunAlwaysDisable"=hex: - (see links)
-Disables parsing of autorun.inf files-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"
-Disables AutoPlay notifications per drive letter-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveAutoRun"=dword: - (set by tweakui in XP, not set by group policy, see links)
-Disables "notifications for AutoPlay hardware events"-
start>run>services.msc, stop and disable the 'Shell Hardware Detection' service
Links:
http://support.microsoft.com/kb/967715
http://support.microsoft.com/kb/953252
http://www.insidetheregistry.com/regdatabase/viewvalue.aspx?valueid=172
http://technet.microsoft.com/en-us/library/cc976182.aspx
http://technet.microsoft.com/en-us/library/cc960238.aspx
http://technet.microsoft.com/en-us/library/cc959387.aspx
https://www.kb.cert.org/vuls/id/889747
http://www.us-cert.gov/cas/techalerts/TA09-020A.html
http://www.annoyances.org/exec/forum/winxp/1151603426
http://www.dslreports.com/forum/r21106365-Autorun-vs-Autoplay
http://ask-leo.com/how_do_i_really_disable_autoplay_in_windows_xp.html
http://ask-leo.com/is_autorun_really_that_evil_and_if_so_how_do_i_turn_autorun_off.html
http://www.howtogeek.com/howto/windows/disable-autoplay-of-audio-cds-and-usb-drives/
Isn't Windows frustrating?!?!
AutoPlay: dialog box that presents options when mounting removable media/devices. In Vista/7, the dialog box includes an option corresponding to the autorun.inf file on the mounted media.
-Disable AutoPlay AND Autorun-
Group Policy Editor method:(available in XP/Vista/7 Professional editions and above)
XP: start>run>gpedit.msc, Computer/User Configuration\Administrative Templates\System\Turn off Autoplay, click enable, choose 'All Drives' from the combo box.
Vista/7: start>run>gpedit.msc, Computer/User Configuration\Administrative Templates\Windows Components\AutoPlay Policies\Turn off Autoplay, click enabled, choose 'All Drives' from the combo box
The above procedures set the "NoDriveTypeAutoRun" registry key, which can be manually set in the absence of Group Policy Editor (XP/Vista/7 Home/Basic editions)
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff - xp/vista requires patch to work properly (see first link)
"NoAutorun"=dword:00000001 - vista/7 - disables autorun on device insert/connection, but double clicking device still executes autorun.inf
The following updates are required for the above method to work properly (see first link)
**To disable the Autorun functionality in Windows Vista or in Windows Server 2008, you must have security update 950582 installed (security bulletin MS08-038).
To disable the Autorun functionality in Windows XP, Windows Server 2003, or Windows 2000, you must have security update 950582, 967715, or 953252 installed.**
-Other less ideal methods-
-Disables display of the AutoPlay option that corresponds to the autorun.inf file, but allows autorun.inf execution as default double click action for the media icon-
Vista/7: start>run>gpedit.msc, Computer/User Configuration\Administrative Templates\Windows Components\AutoPlay Policies\Default behavior for AutoRun, click enabled, choose 'Do not execute any autorun commands' from the combo box
The above procedure sets the "NoAutorun" registry key (see above), which can be manually set in the absence of Group Policy Editor (XP/Vista/7 Home/Basic editions)
-Disables AutoPlay dialog on media insertion in Vista/7,but allows autorun.inf execution as default double click action for the media icon-
Control Panel\All Control Panel Items\AutoPlay, uncheck "Use AutoPlay for all media and devices"
-Disables AutoPlay dialog in XP, but does not disable autorun.inf execution on media insertion or as default double click action for the media icon-
In 'My Computer', right-click on the desired device, select 'AutoPlay' and select 'Take no Action
-Disables Autorun by way of disabling MCN (Media Change Notifications) on the optical disk drive(s) only, also known as Auto Insert Notification, can cause other issues. (see links)-
[HKLM\SYSTEM\CurrentControlSet\Services\Cdrom]
"Autorun"=dword:00000000
"AutoRunAlwaysDisable"=hex: - (see links)
-Disables parsing of autorun.inf files-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"
-Disables AutoPlay notifications per drive letter-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveAutoRun"=dword: - (set by tweakui in XP, not set by group policy, see links)
-Disables "notifications for AutoPlay hardware events"-
start>run>services.msc, stop and disable the 'Shell Hardware Detection' service
Links:
http://support.microsoft.com/kb/967715
http://support.microsoft.com/kb/953252
http://www.insidetheregistry.com/regdatabase/viewvalue.aspx?valueid=172
http://technet.microsoft.com/en-us/library/cc976182.aspx
http://technet.microsoft.com/en-us/library/cc960238.aspx
http://technet.microsoft.com/en-us/library/cc959387.aspx
https://www.kb.cert.org/vuls/id/889747
http://www.us-cert.gov/cas/techalerts/TA09-020A.html
http://www.annoyances.org/exec/forum/winxp/1151603426
http://www.dslreports.com/forum/r21106365-Autorun-vs-Autoplay
http://ask-leo.com/how_do_i_really_disable_autoplay_in_windows_xp.html
http://ask-leo.com/is_autorun_really_that_evil_and_if_so_how_do_i_turn_autorun_off.html
http://www.howtogeek.com/howto/windows/disable-autoplay-of-audio-cds-and-usb-drives/
Isn't Windows frustrating?!?!
Tuesday, December 29, 2009
Must enable 'accept third party cookies' in firefox for GMarks to work
Must enable 'accept third party cookies' in firefox for GMarks to work
Monday, December 28, 2009
MBR and Bootsector tools
boosect.exe - configures bootsectors/BCD stores
bootrec.exe - repairs MBR/bootsectors/BCD stores
http://neosmart.net/blog/2007/bootsectexe-modifies-the-bootsector-not-the-mbr/
bootrec.exe - repairs MBR/bootsectors/BCD stores
http://neosmart.net/blog/2007/bootsectexe-modifies-the-bootsector-not-the-mbr/
Subscribe to:
Posts (Atom)
