If you are always getting Access Denied errors when trying to connect to a XP computer, and you know you have the correct user names and passwords on the computer,
the solution may be a simple registry edit.
1. Start Regedit
2. Go to HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / Lsa
3. Change the value of a key called "restrictanonymous" to 0 instead of 1
4. Don't change "restrictanonymoussam" value.
5. Reboot
Saturday, August 28, 2010
Common Control Panel Applets
The follow are some common Control Panel Applets that are located in the \windows\system32 directory.
If you find yourself using any of these frequently, then you can simply make shortcuts to them on your desktop.
appwiz.cpl Add/Remove Programs
desk.cpl Display Properties
firewall.cpl Firewall Settings
inetcpl.cpl Internet Options
mmsys.cpl Sound and Audio
ncpa.cpl Network Connections
nusrmgr.cpl User Accounts
powercfg.cpl Power Options
sysdm.cpl System Properties
wscui.cpl Security Center
wuaucpl.cpl Automatic Updates Configuration
If you find yourself using any of these frequently, then you can simply make shortcuts to them on your desktop.
appwiz.cpl Add/Remove Programs
desk.cpl Display Properties
firewall.cpl Firewall Settings
inetcpl.cpl Internet Options
mmsys.cpl Sound and Audio
ncpa.cpl Network Connections
nusrmgr.cpl User Accounts
powercfg.cpl Power Options
sysdm.cpl System Properties
wscui.cpl Security Center
wuaucpl.cpl Automatic Updates Configuration
Not Viewing Zip Files as Folders
If you want to turn of WindowsXP showing Zip files as folders,
just run:
regsvr32 /u zipfldr.dll
just run:
regsvr32 /u zipfldr.dll
Enable / Disable the Task Manager
1. Start Regedit
2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies System
3. Create the Dword value DisableTaskMgr
4. Give it a value of 0 to enable it
5. Give it a vaule of 1 to disable it
2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies System
3. Create the Dword value DisableTaskMgr
4. Give it a value of 0 to enable it
5. Give it a vaule of 1 to disable it
ReInstalling WindowsXP
If you need to reinstall WindowsXP and want to keep all your current installed applications and settings:
1. Start WindowsXP
2. Go to the location of your source files
3. Run WINNT32 /unattend
1. Start WindowsXP
2. Go to the location of your source files
3. Run WINNT32 /unattend
Logging in as Administrator
If you want to log in as Administrator, but it is not show on the Welcome screen,
1. Hold the Ctrl-Alt key and press Del twice.
2. This will bring up the normal login and you can log on as Administrator
To unhide the Administrator account so it does show up:
1. Start Regedit
2. Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList
3. Unhide the Administrator key by giving it a value of 1
1. Hold the Ctrl-Alt key and press Del twice.
2. This will bring up the normal login and you can log on as Administrator
To unhide the Administrator account so it does show up:
1. Start Regedit
2. Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList
3. Unhide the Administrator key by giving it a value of 1
Reinstalling the TCP/IP Protocol
(Note: New user do not use this that may be risky for your internet connection)
If you've worked on previous versions of Windows,
there are times when you need to completely reinstall the TCP/IP protocol stack.
This is typically due to corrupted files.
To do this with XP,
you need to run a small script:
netsh int ip reset [ log_file_name ]
the log_file_name needs to be specified.
e.g.
netsh int ip reset ip_reset.txt
If you've worked on previous versions of Windows,
there are times when you need to completely reinstall the TCP/IP protocol stack.
This is typically due to corrupted files.
To do this with XP,
you need to run a small script:
netsh int ip reset [ log_file_name ]
the log_file_name needs to be specified.
e.g.
netsh int ip reset ip_reset.txt
Renaming the Start Button
To rename the start button, you will need a hex editor.
My preference is UltraEdit
1. Copy the \windows\explore.exe file to a new name (e.g. explorer_1.exe)
2. With the hex editor, open that file and go to offset 412b6
3. You will see the word start with blanks between each letter
4. Edit it be any 5 characters or less
5. Save the file
6. Boot to DOS
7. Copy the existing c:\windows\explorer.exe to explorer.org
8. Copy explorer_1.exe to explorer.exe
9. You will also need to replace the explorer.exe in the c:\windows\system32\dllcache file as well with the new one.
Note: If the partition is NTFS and you can't access the files from DOS:
1. Start Regedit
2. Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon.
3. Change the value of Shell from Explorer.exe to explorer_1.exe
My preference is UltraEdit
1. Copy the \windows\explore.exe file to a new name (e.g. explorer_1.exe)
2. With the hex editor, open that file and go to offset 412b6
3. You will see the word start with blanks between each letter
4. Edit it be any 5 characters or less
5. Save the file
6. Boot to DOS
7. Copy the existing c:\windows\explorer.exe to explorer.org
8. Copy explorer_1.exe to explorer.exe
9. You will also need to replace the explorer.exe in the c:\windows\system32\dllcache file as well with the new one.
Note: If the partition is NTFS and you can't access the files from DOS:
1. Start Regedit
2. Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon.
3. Change the value of Shell from Explorer.exe to explorer_1.exe
Creating a Shutdown/Reboot Icon
WindowsXP has a program called SHUTDOWN.EXE which allows you to easily create icons to shutdown or restart your computer.
To create a shutdown shortcut on the desktop:
1. Right click on an open area of the desktop
2. Select New / Shortcut
3. Enter in "shutdown -s -t 00" - no quotes
4. Press the Next button
5. For the name, enter in anything you like.
6. Click on the Finish button.
For a reboot, enter "shutdown -r -t 00"
Shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]
Parameters
* -l - Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
* -s - Shuts down the local computer.
* -r - Reboots after shutdown.
* -a - Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
* -f - Forces running applications to close.
* -m [\\ComputerName] - Specifies the computer that you want to shut down.
* -t xx - Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
* -c "message" - Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
To create a shutdown shortcut on the desktop:
1. Right click on an open area of the desktop
2. Select New / Shortcut
3. Enter in "shutdown -s -t 00" - no quotes
4. Press the Next button
5. For the name, enter in anything you like.
6. Click on the Finish button.
For a reboot, enter "shutdown -r -t 00"
Shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]
Parameters
* -l - Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
* -s - Shuts down the local computer.
* -r - Reboots after shutdown.
* -a - Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
* -f - Forces running applications to close.
* -m [\\ComputerName] - Specifies the computer that you want to shut down.
* -t xx - Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
* -c "message" - Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
Using the System File Checker
You can run the System File Checker to verify protected system files.
Command line switches are:
sfc [/scannow] [/scanonce] [/scanboot] [/revert] [/purgecache] [/cachesize=x]
* /scannow - Scans all protected system files immediately.
* /scanonce - Scans all protected system files once.
* /scanboot - Scans all protected system files every time the computer is restarted.
* /revert - Returns the scan to its default operation.
* /purgecache - Purges the Windows File Protection file cache and scans all protected system files immediately.
* /cachesize=x - Sets the size, in MB, of the Windows File Protection file cache.
Command line switches are:
sfc [/scannow] [/scanonce] [/scanboot] [/revert] [/purgecache] [/cachesize=x]
* /scannow - Scans all protected system files immediately.
* /scanonce - Scans all protected system files once.
* /scanboot - Scans all protected system files every time the computer is restarted.
* /revert - Returns the scan to its default operation.
* /purgecache - Purges the Windows File Protection file cache and scans all protected system files immediately.
* /cachesize=x - Sets the size, in MB, of the Windows File Protection file cache.
Opening an Explorer Window to the Directory
If you want to create a shortcut for the Explorer to a specific directory,
include the directory you want in the Target.
For example:
%SystemRoot%\explorer.exe /n, /e, d:\internet
This would open the Explorer to the D:\INTERNET directory
include the directory you want in the Target.
For example:
%SystemRoot%\explorer.exe /n, /e, d:\internet
This would open the Explorer to the D:\INTERNET directory
Command Console Utilities
bootcfg - Configures, queries, or changes Boot.ini file settings.
driverquery - Displays a list of all installed device drivers and their properties.
getmac - Returns the media access control
(MAC) address and list of network protocols associated with each address for all network cards in each computer
gpresult - Displays Group Policy settings and Resultant Set of Policy (RSOP) for a user or a computer
netsh - You can use commands in the Netsh Interface IP context to configure the TCP/IP protocol
schtasks - Schedules commands and programs to run periodically or at a specific time
systeminfo - Displays detailed configuration information about a computer and its operating system
Computer Management - compmgmt.msc
Disk Managment - diskmgmt.msc
Device Manager - devmgmt.msc
Disk Defrag - dfrg.msc
Event Viewer - eventvwr.msc
Shared Folders - fsmgmt.msc
Group Policies - gpedit.msc
Local Users and Groups - lusrmgr.msc
Performance Monitor - perfmon.msc
Resultant Set of Policies - rsop.msc
Local Security Settings - secpol.msc
Services - services.msc
Component Services - comexp.msc
driverquery - Displays a list of all installed device drivers and their properties.
getmac - Returns the media access control
(MAC) address and list of network protocols associated with each address for all network cards in each computer
gpresult - Displays Group Policy settings and Resultant Set of Policy (RSOP) for a user or a computer
netsh - You can use commands in the Netsh Interface IP context to configure the TCP/IP protocol
schtasks - Schedules commands and programs to run periodically or at a specific time
systeminfo - Displays detailed configuration information about a computer and its operating system
Computer Management - compmgmt.msc
Disk Managment - diskmgmt.msc
Device Manager - devmgmt.msc
Disk Defrag - dfrg.msc
Event Viewer - eventvwr.msc
Shared Folders - fsmgmt.msc
Group Policies - gpedit.msc
Local Users and Groups - lusrmgr.msc
Performance Monitor - perfmon.msc
Resultant Set of Policies - rsop.msc
Local Security Settings - secpol.msc
Services - services.msc
Component Services - comexp.msc
Subscribe to:
Posts (Atom)