Windows XP Tips and Tricks, Make XP as easier as never before |

Windows XP Tips and Tricks, Make XP as easier as never before

Windows XP Tricks & Tips!!!! Opening Ports or Adding Allowed Programs with SP2’s Firewall 1.Click on Start / Run 2.Enter in fir…


Windows XP Tricks & Tips!!!!Opening Ports or Adding Allowed Programs with SP2’s Firewall1.Click on Start / Run2.Enter in firewall.cpl3.Click on the Exceptions tabAdding a Port for Internet Access:1.Click on the Add Port button2.Name it whatever you want3.Enter in the ports you want to openAdding a Program for Internet Access1.Click on Add Program… button2.A list of all installed programs will be displayed3.Highlight the one you want to include for Internet access4.Click on the OK buttonAutoexec.nt or Config.nt ErrorsIf you are getting errors similar to:The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose ‘Close’ to terminate the application.Try copying the file from windowsrepair directory to the one that is in the windowssystem32 directory.Common Control Panel AppletsThe follow are some common Control Panel Applets that are located in the windowssystem32 directory.If you find yourself using any of these frequently, then you can simply make shortcu[/color]ts to them on your desktop.appwiz.cpl >>Add/Remove Programsdesk.cpl >> Display Propertiesfirewall.cpl >> Firewall Settingsinetcpl.cpl >> Internet Optionsmmsys.cpl >> Sound and Audioncpa.cpl >> Network Connectionsnusrmgr.cpl >> User Accountspowercfg.cpl >> Power Optionssysdm.cpl >>System Propertieswscui.cpl >> Security Centerwuaucpl.cpl >> Automatic Updates Configuration Go to TopWindows Explorer Opens Search Companion Rather than the FolderIf the Windows Explorer opens up the Search Companion rather than opening up the actual folder, the default setting for opening a folder is changed.To correct this:Start RegeditGo to HKEY_CLASSES_ROOT Directory shellEdit the default value to be explorer or noneGuest Only Network AccessIf you try and connect to an XP computer and are shown a logins screen with only the computername/Guest,You may need to change one of the Local Security Policies:Got to Control Panel – Administrative ToolsGo to Local Policies – Security OptionsCheck teh Network access: Sharing and security model for local accountsSet it to Classic – local users authenticate as themselvesHiding a XP Computer from Network NeighborhoodIf you want to share files from a XP computer,yet want to remove it from showing up in the Network Neighborhood,Run net config server /hidden:yesEasy Way to Share Multiple FoldersIf you need to share multiple folders, running the program SHRPUBW.EXE will bring up a simple dialog box to let you:Browse to the folder you want to shareEnter in a Share nameEnder in a Share descriptionSet permissions. Several choices are availableRestart the process from within the same program Go to topNot Viewing Zip Files as FoldersIf you want to turn of WindowsXP showing Zip files as folders,just run:regsvr32 /u zipfldr.dllSetting Capslock, Numlock, Scroll LockIf you want to set the startup state for any or all of these keys,you just need to edit the registry.Start RegeditGo to HKEY_CURRENT_USER Control Panel KeyboardOpen InitialKeyboardIndicatorsChange the value to one of the following numbers0 – All Keys off1 – Caps Lock on2 – Num Lock on4 – Scroll Lock onFor multiple keys, add their values:3 – Caps Lock and Num Lock on5 – Caps Lock and Scroll Lock on6 – Num Lock and Scroll Lock on7 – Caps Lock, Num Lock, and Scroll Lock onLog off and back on againRestoring Desktop Icon to the Quicklaunch BarIf you mistakenly deleted the icon for the Desktop on the Quicklaunch toolbarGo to C:Documents and Settingsuser_nameApplication DataMicrosoftInternet ExplorerQuick Launch(where user_name is replaced by your login name)Create a Text file called ShowDesktop.SCF with the following contents:[Shell]Command=2IconFile=explorer.exe,3[Taskbar]Command=ToggleDesktop Go to topNetwork Access After Norton Anti-Virus InstallSometimes you can’t access a WinXP computer after installing Norton Anti-Virus.There might be a variety of errors at the other computer depending on the operating system.On the XP computer, in the Event Viewer / System log, there will be the following error:The server’s configuration parameter “irpstacksize” is too small for the server to use a local device.Start RegeditGo to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanserverparametersEdit the IRPStackSizeGive it a value of 15Reboot the computerConfigure for Auto-LogonIf you are the only person using the computer and what to have it automatically log you on,Start / Run / “control userpasswords2” – no quotesUncheck User must enter a user name and password to use this computerServices You Can DisableThere are quite a few services you can disable from starting automatically.This would be to speed up your boot time and free resources.They are only suggestions so I suggestion you read the description of each one when you run Servicesand that you turn them off one at a time.Some possibilities are:Alerter – Sends alert messages to specified users that are connected to the server computer.Application Management – Allows software to tap directly into the Add/Remove Programs feature via the Windows Installer technology.Background Intelligent Transfer Service – The Background Intelligent Transferservice is used by programs (such as Windows AutoUpdate) to download files by using spare bandwidth.Clipbook – ClipBook permits you to cut and paste text and graphics over the network.Error Reporting Service – Allows applications to send error reports to Microsoft in the event of an application fault.Fast User Switching – Windows XP allows users to switch quickly between accounts, without requiring them to log off.Help and Support – Allows the XP Built-in Help and Support Center to run.IMAPI CD-Burning COM Service – You don’t need this if you have other software to create CDs.Indexing Service – Indexes contents and properties of files on local and remote computers; provides rapid access to files through flexible querying language.IP SEC – Manages IP security policy and starts the ISAKMP/Oakley (IKE) and the IP security driver. If you are not on a domain, you likely don’t need this running.Messenger – Transmits net send and Alerter service messages between clients and servers. This is how a lot of pop-up windows start appearing on your desktop.Net Logon – Supports pass-through authentication of account logon events for computers in a domain. If you are not on a domain, you don’t need this runningNetwork DDE – Provides network transport and security for Dynamic Data Exchange (DDE) for programs running on the same computer or on different computers.NT LM Security Support Provider – Provides security to remote procedure call (RPC) programs that use transports other than named pipes.Performance Logs and Alerts – Collects performance data from local or remote computers based on preconfigured schedule parameters, then writes the data to a log or triggers an alert. If you don’t need to monitor your performance logs, then you don’t need this service.Portable Media Serial Number – Retrieves the serial number of any portable music player connected to your computerQOS RSVP – Provides network signaling and local traffic control setup functionality for QoS-aware programs and control applets.Remote Desktop Help Session Manager – Manages and controls Remote Assistance. If you are not using Remote Desktop you don’t need this service.Remote Registry – Enables remote users to modify registry settings on this computer.Routing & Remote Access – Offers routing services to businesses in local area and wide area network environments. Allows dial-in access.Secondary Login – Enables starting processes under alternate credentials. This is what allows you to run an application as another user.Smart Card – Manages access to smart cards read by this computer.Smart Card Helper – Enables support for legacy non-plug and play smart-card readers used by this computer.SSDP Discovery Service – Enables discovery of UPnP devices on your home network.TCP/IP NetBIOS Helper – Enables support for NetBIOS over TCP/IP (NetBT) service and NetBIOS name resolution. This should not be needed in today’s network environment.Telnet – Enables a remote user to log on to this computer and run programs, and supports various TCP/IP Telnet clients.Uninterruptible Power Supply Service – Manages an uninterruptible power supply (UPS) connected to the computer.Universal Plug and Play Device Host – Provides support to host Universal Plug and Play devicesUpload Manager – Manages synchronous and asynchronous file transfers between clients and servers on the network.Volume Shadow Copy Service – Manages and implements Volume Shadow Copies used for backup and other purposes.Web Client – Enables Windows-based programs to create, access, and modify non-local files across the Internet.Wireless Zero Configuration – Provides automatic configuration for the 802.11 adaptersWMI Performance Adapter – Provides performance library information from WMI HiPerf providers.Cleaning the Prefetch DirectoryWindowsXP has a new feature called Prefetch. This keeps a shortcut to recently used programs.However it can fill up with old and obsolete programs.To clean this periodically go to:Star / Run / PrefetchPress Ctrl-A to highlight all the shorcutsDelete them Go to topNot Displaying Logon, Logoff, Startup and Shutdown Status MessagesTo turn these off:Start RegeditGo to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciessystemIf it is not already there, create a DWORD value named DisableStatusMessagesGive it a value of 1Repair InstallIf XP is corrupted to the point where none of the previous solutions get it to boot,you can do a Repair Install that might work as well as keep the current settings.Make sure you have your valid WindowsXP key.The whole process takes about half an hour depending on your computerIf you are being prompted for the administrator’s password, you need to choose the 2nd repair option, not the first.Insert and boot from your WindowsXP CDAt the second R=Repair option, press the R keyThis will start the repairPress F8 for I Agree at the Licensing AgreementPress R when the directory where WindowsXP is installed is shown. Typically this is C:WINDOWSIt will then check the C: drive and start copying filesIt will automatically reboot when needed. Keep the CD in the drive.You will then see the graphic part of the repair that is like during a normal install of XP (Collecting Information, Dynamic Update, Preparing Installation, Installing Windows, Finalizing Installation)When prompted, click on the Next buttonWhen prompted, enter your XP keyNormally you will want to keep the same Workgroup or Domain nameThe computer will rebootThen you will have the same screens as a normal XP InstallActivate if you want (usually a good idea)Register if you want (but not necessary)FinishAt this point you should be able to log in with any existing accounts. Go to topNTOSKRNL Missing or CorruptIf you get an error that NTOSKRNL not found:Insert and boot from your WindowsXP CD.At the first R=Repair option, press the R keyPress the number that corresponds to the correct location for the installation of Windows you want to repair.Typically this will be #1Change to the drive that has the CD ROM.CD i386expand ntkrnlmp.ex_ C:WindowsSystem32ntoskrnl.exeIf WindowsXP is installed in a different location, just make the necessary change to C:WindowsTake out the CD ROM and type exitHAL.DLL Missing or CorruptIf you get an error regarding a missing or corrupt hal.dll file, it might simply be the BOOT.INI file on the root of the C: drive that is misconfiguredInsert and boot from your WindowsXP CD.At the first R=Repair option, press the R keyPress the number that corresponds to the correct location for the installation of Windows you want to repair.Typically this will be #1Type bootcfg /list to show the current entries in the BOOT.INI fileType bootcfg /rebuild to repair itTake out the CD ROM and type exitCorrupted or Missing WINDOWSSYSTEM32CONFIGIf you get the error:Windows could not start because the following files is missing or corruptWINDOWSSYSTEM32CONFIGSYSTEM or WINDOWSSYSTEM32CONFIGSOFTWAREInsert and boot from your WindowsXP CD.At the first R=Repair option, press the R keyPress the number that corresponds to the correct location for the installation of Windows you want to repair.Typically this will be #1Enter in the administrator password when requestedcd windowssystem32configDepending on which section was corrupted:ren software software.bad or ren system system.badDepending on which section was corruptedcopy windowsrepairsystemcopy windowsrepairsoftwareTake out the CD ROM and type exit Go to topNTLDR or NTDETECT.COM Not FoundIf you get an error that NTLDR is not found during bootup,If you have FAT32 partitions, it is much simpler than with NTFS.Just boot with a Win98 floppy and copy the NTLDR or NTDETECT.COM filesfrom the i386 directory to the root of the C: drive.For NTFS:Insert and boot from your WindowsXP CD.At the first R=Repair option, press the R keyPress the number that corresponds to the correct location for the installation of Windows you want to repair.Typically this will be #1Enter in the administrator password when requestedEnter in the following commands (X: is replaced by the actual drive letter that is assigned to the CD ROM drive.COPY X:i386NTLDR C:COPY X:i386NTDETECT.COM C:Take out the CD ROM and type exitBringing Up the Shutdown Dialog BoxCreate a new txt file somewhere on your system, open it and put in this one line:(new ActiveXObject(“Shell.Application”)).ShutdownWindows();Save and Close the file. Change the extension to js and your got it.You can make a shortcut to that file to make it easy to shut down your system.Hiding the Last User Logged OnIf you use the standard NT style of login and want to hide the last user:Start the Group Policy Editor (gpedit.msc)Go to Computer Configuration / Windows Settings / Security Settings / Local Policies / Security OptionsScroll down to Interactive logon: Do not display last user nameSet it to Enable Go to topPoweroff at ShutdownIf your computer does not turn off the power when doing a shutdown,you may need to edit the registry. I have all the correct BIOS and Power settings and still needed to do this.Start RegeditGo to HKEY_CURRENT_USERControl PanelDesktopEdit the key PowerOffActive and give it a value of 1You can do the same in HKEY_USERS.DEFAULTControl PanelDesktopRemembering Folder SettingsIf XP does not remember your folder settings, delete or rename the following registry keys[HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellNoRoamBagMRU][HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellNoRoamBags]Preventing Applications from Stealing the FocusTo prevent applications from stealing the focus from the window you are workingStart RegeditGo to HKEY_CURRENT_USER Control Panel DesktopEdit the key ForegroundLockTimeoutGive it a value of 00030d40Disable Explorer Thumbnail ViewIf you want disable the Explorer’s ability to show the Thumbnail View ,Start RegeditGo to HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Explorer Advanced Change ClassicViewState to 1 Go to topDisable Shared DocumentsTo disable the Shared Documents folder that shows up on the networkStart RegeditGo to HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies Explorer Create a new DWORD ValueGive it the name NoSharedDocumentsGive it a value of 1Log off or rebootRemoving Thumbs.db FilesWhen viewing a folder with the Thumbnail view, WindowsXP creates a thumbs.db file.This is a cache of the current pictures in that directory.If you want to turn this feature off and save a little disk spaceStart the Windows ExplorerGo to Tools / Folder Options / ViewIn the first section under Files and Folders, check Do not cache thumbnailsNow you can search for the thumbs.db file on your computer and remove them. No more should be created.Enable / Disable the Task ManagerStart RegeditGo to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystemCreate the Dword value DisableTaskMgrGive it a value of 0 to enable itGive it a vaule of 1 to disable it Go to topClearing the Page File on ShutdownAnother way to set the computer to clear the pagefile without directly editing the registry is:Click on the Start buttonGo to the Control PanelAdministrative ToolsLocal Security PolicyLocal PoliciesClick on Security OptionsRight hand menu – right click on “Shutdown: Clear Virtual Memory Pagefile”Select “Enable”RebootIf you want to clear the page file on each shutdown:Start RegeditGo to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory ManagementClearPageFileAtShutdownSet the value to 1No GUI BootIf you don’t need to see the XP boot logo,Run MSCONFIGClick on the BOOT.INI tabCheck the box for /NOGUIBOOTUsing the Classic Search in ExplorerIf you prefer to use the classic search style in Explorer,Start RegeditGo to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerCabinetStateAdd a String Key called Use Search AsstGive it a value of no Go to topChanging Drive LettersIf you want to change the letters assigned to your fixed or removable drives:Right Click on My ComputerSelect ManageSelect Disk ManagementFor a Fixed Disk:Select itRight clickSelect Change Drive Letter and PathClick on the Edit buttonEnter in the letter you want to useFor a Removable Disk:In the lower, right hand panel, right click on the Disk or CD ROM #Select Change Drive Letter and PathClick on the Edit buttonEnter in the letter you want to useChanging the Registered OwnerStart RegeditHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionFrom there you can edit the name in the Registered Owner keyDecreasing Boot TimeMicrosoft has made available a program to analyze and decrease the time it takes to boot to WindowsXPThe program is called BootVisUncompress the file.Run BOOTVIS.EXEFor a starting point, run Trace / Next Boot + Driver DelaysThis will reboot your computer and provide a benchmarkAfter the reboot, BootVis will take a minute or two to show graphs of your system startup.Note how much time it takes for your system to load (click on the red vertical line)Then run Trace / Optimize SystemRe-Run the Next Boot + Drive DelaysNote how much the time has decreasedMine went from approximately 39 to 30 seconds. Go to topHide/Unhide Logon NamesIf you want to hide or unhide the names of users that are displayed on the initial logon screen:Start RegeditGo to HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows NT CurrentVersion Winlogon SpecialAccounts UserListAdd a DWORD with the name of the user account you want to hideMake sure it has a value of 0If there is an existing account, you can unhide it by giving it a value of 1WindowsXP Command Line UtilitiesWhile there are a lot of command line utilities in WindowsXP, here are some that I have been using lately.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 computergpresult – Displays Group Policy settings and Resultant Set of Policy (RSOP) for a user or a computernetsh – You can use commands in the Netsh Interface IP context to configure the TCP/IP protocolschtasks – Schedules commands and programs to run periodically or at a specific timesysteminfo – Displays detailed configuration information about a computer and its operating systemCreating an Automated Install of WindowsXPOn the WindowsXP CP, in the SUPPORTTOOLS directory,there is a file called DEPLOY.CAB.Extract the programs DEPLOY.CHM (help file) and SETUPMGR.EXE (main program)Run SETUPMGR and answer the prompts.This will create both a unattend.bat and unattend.txt file you can use for automated installs.Note: The batch file might need some minor modification for file locations but it is fairly basic.Disabling HibernationIf you don’t want to use up the disk space taken by Hibernation, or don’t need to use it at all,you can easily disable it.Open up the Control Panel / Power Options iconClick on the Hibernation iconUncheck Enable Hibernation Go to topIncreasing System PerformanceIf you have 512 megs or more of memory, you can increase system performanceby having the core system kept in memory.Start RegeditGo to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory ManagementDisablePagingExecutiveSet the value to be 1Reboot the computerCommon Command Console UtilitiesWindowsXP comes with quite a few console utilities you can easily run from the command line:Computer Management – compmgmt.mscDisk Managment – diskmgmt.mscDevice Manager – devmgmt.mscDisk Defrag – dfrg.mscEvent Viewer – eventvwr.mscShared Folders – fsmgmt.mscGroup Policies – gpedit.mscLocal Users and Groups – lusrmgr.mscPerformance Monitor – perfmon.mscResultant Set of Policies – rsop.mscLocal Security Settings – secpol.mscServices – services.mscComponent Services – comexp.mscAutomatically Ending Non-Responsive TasksStart RegeditGo to HKEY_CURRENT_USERControl PanelDesktopAutoEndTasksSet the value to be 1In the same section, change the WaitToKillAppTimeout to the number of milliseconds you want.Changing the Internet Explorer TitleStart RegeditGo to HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainWindow TitleEnter what you want appear in the title barChanging Programs That Start AutomaticallyWindowsXP has a similar program, MSCONFIG, that was available in Windows98.This allows you to view and change what programs are automatically started each time you log in.The new version also allows you to view and edit the boot.ini file (as well as check for errors and use several advanced switches)best regards



Add a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!