Troubleshooting Tips and Tricks

for Win9x, ME, XP, Vista, 7, 8.x, 10 NT, Server 2000, 2003, 2008, 2012, and Exchange

Home


Find More Incredibly Useful XP Tips at:

http://www.onecomputerguy.com/windowsxp_tips.htm#svchost

^^^ That link is still active as of 6/14/2024

---------------------------------------------------------------------

Malicious Software Removal Tool (MRT)

(Note: Support for MRT under Server 2003 and WinXP has long since ended. You can download the 32-bit installer but it will not run in those environments.)

From a command prompt run:

MRT


Step through the prompts.

---------------------------------------------------------------------

Don't forget: SFC

From a command prompt type:

SFC /scannow
DISM /Online /Cleanup-image /Restorehealth

The above command repaired a situation in Server 2012 with a runaway CPU usage problem from the
.NET Runtime Optimization service going bonkers.  SFC didn't see it but DISM repaired it.

For more DISM options (i.e. repairing an installation from a remote computer's Windows\WinSxs folder), see below.

---------------------------------------------------------------------

Use DISM to Repair Windows Update

Symptom: Windows Update will not run / high CPU usage.

Repair corrupt installation files in WinSxS folder:

From install DVD
DISM /online /cleanup-image /restorehealth /Source:D:\sources\sxs /LimitAccess

From another installation (with drive x: mapped to the Windows directory):
DISM /online /cleanup-image /restorehealth /Source:x:\Winsxs /LimitAccess
    (
where x:\Winsxs is the mapped drive letter of the remote computer's Windows folder)

After the corruption is fixed, Stop the Windows Update service (in Services.msc) and rename or delete the SoftwareDistribution folder under Windows.
Example: C:\Windows\SoftwareDistribution (rename it to SoftwareDistribution.old or simply delete the folder.)
Then Start the Windows Update service (again, using Services.msc)

Note: This syntax is specific to Windows Server 2012 but is applicable to other versions as well.

--------------------------------------------------------------------------

Microsoft Security Essentials... FOR SERVER 2012???

Read the web page (below) that tells how to install this product on Server 2012.
After setting compatibility to Windows 7, from an elevated command prompt type:

mseinstall /disableoslimits

Install, Update, then run the application.

Download the app here

https://www.rootusers.com/how-to-install-microsoft-security-essentials-in-windows-server-2012-r2/

---------------------------------------------------------------------

023 » NUMLOCK at startup.

Edit:

HKEY_Current_User\ControlPanel\Keyboard\InitialKeyboardIndicators

Type REG_SZ: 

If set to 0, NumLock is disabled for that current user after logging on. If it is 2, NumLock is enabled and will retain the settings from the last shutdown.

---------------------------------------------------------------------

027 » Deleting device drivers and services.

If you have a service or device driver that you want to remove:

In Control Panel /Services or /Devices, located the object and STOP it (if it is started). If it won't STOP, configure StartUp as Disabled and reboot.

Edit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

Locate the object, highlight it, delete it. 

---------------------------------------------------------------------

044 » Want to move or recreate your mail PostOffice?

(This is for NT 4.0)

The PostOffice is in a directory called WGPO.

To move it:

Move it (and all the subdirectories) to a new location which is shared with "Full Control".
Edit: HKEY_CURRENT_USER\Software\Microsoft\Mail\Microsoft Mail
Double click ServerPath and change it to the new WGPO location.
If you have WFWG or W95 users, change the ServerPath= in their MSMAIL.INI.

To start over (delete it):

Delete the WGPO directory
Edit: HKEY_CURRENT_USER\Software\Microsoft\Mail
and delete the Microsoft Mail Sub Key.

---------------------------------------------------------------------

015 » Shutdown button on the Welcome dialog box.

To display a shutdown button at Login, edit:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Value: ShutdownWithoutLogon REG_SZ 0 or 1

When this value is set to 1, you can select Shutdown from the Welcome dialog box. If the value is 0, the Shutdown button does not appear.

---------------------------------------------------------------------

004 » Bypassing the WinNT logon prompt.

If you want to autolog a user, both TweakUI and the Resource Kit utility AUTOLOG.EXE will do it for you. To configure this using the registry, edit:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Set the DefaultDomainName, DefaultPassword (must be non-blank), and DefaultUserName. Set AutoAdminLogon to 1 (all are type REG_SZ). If you ever want to logon as a different user, hold down the shift key as you logoff.

---------------------------------------------------------------------

NTBackup - Open Files Countdown

HKEY_CURRENT_USER\Software\Microsoft\Ntbackup\User Interface\

Skip open files: this type REG_SZ has 3 possible settings:
0 = do not skip, wait
1 = skip files that are opened unreadable
2 = wait on open files for Wait time

Wait time: this type REG_SZ has a range from 0 to 65535 seconds with a default of 30 seconds.

---------------------------------------------------------------------

0900 » My mouse wheel is not detected.


If you have a PS/2 Wheel Mouse without special driver, and the wheel is not functional, it is probably not being detected. Browse to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters

Edit or Add Value name EnableWheelDetection, a type REG_DWORD, and set the data to 2.

(0 = Never detect wheel mouse, 1 = Auto-detect, 2 = Always detect)

Restart your computer.

----------------------------------------------------------
Preventing Mapped Drives from Popping Up at Logon (WinME)


HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints\_WantUI

Delete the drive letter(s) you don't want to popup.

----------------------------------------------------------
Slow Access of Mapped Drives (Win XP)

http://www.ss64.com/nt/slow_browsing.html
(Lots of good stuff)

--------------------------------------------------------------

Increase HTTP Downloads From the Default (2) 

To increase the number of files that you can download at one time to 10, follow these steps:

1) Start Registry Editor.

2) Locate the following key in the registry:

        HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings 

3) On the Edit menu, point to New, click DWORD Value, and then add the following registry values: 
        Value name: MaxConnectionsPer1_0Server
        Value data: 10
        Base: Decimal

        Value Name: MaxConnectionsPerServer
        Value data: 10
        Base: Decimal

4) Exit Registry Editor.

5) Restart Windows

--------------------------------------------------------------

Manually Updating Malwarebytes

Yes, if you look under C:\Documents and Settings\All Users\Application Data\Malwarebytes\Malwarebytes' Anti-Malware in XP and C:\ProgramData\Malwarebytes\Malwarebytes' Anti-Malware in Vista the file you want is called rules.ref.

--------------------------------------------------------------

Vista and Windows 7 are DOG SLOW!  Here's what will fix it:

It's something called "AutoTune" and it spells death to good performance.

From a command prompt, enter the following:

netsh interface tcp set global rss=disabled
netsh int tcp set global autotuninglevel=disabled

Or download a script to do it for you here (right-click the hyperlink and "Save target as...")

--------------------------------------------------------------

Time Servers

152.2.21.1
128.118.25.3

--------------------------------------------------------------

Winipcfg Utility for XP

WinIPcfg.  (It's part of TWEAKUI_XP)

--------------------------------------------------------------

Forgot Admin or User Password?

http://pogostick.net/~pnh/ntpasswd/

--------------------------------------------------------------

Blank User Password (WinXP, Vista, 7):

net user %username% password
To blank the password, use double quotes: ("")
--------------------------------------------------------------

 Determining Which Services are Associated with SVCHOST

Since so many critical services are run with each svchost,
You can see which ones are being used by opening a cmd prompt and running:

tasklist /svc /fi "imagename eq svchost.exe"

Note: This is available only with XP Pro

--------------------------------------------------------------

Not Displaying Previous Network Share Shortcuts

By default, when you go to Network Places, it will scan and show shortcuts to previous network shares.
To turn this off and remove any current shortcuts
1. Open up the Windows Explorer 
2. Go to Tools / Folder Options / View 
3. The top section should be Files and Folders 
4. Uncheck Automatically search for network folders and printers 
5. Then go into Network Neighborhood Select all the previous network connections Delete them 
6. Next time you look at the Network Neighborhood, they should not repopulate

--------------------------------------------------------------

Running Network Diagnostics

Network Diagnostics scans your system to gather information about your hardware, software, and network connections. 

Start / Run / NETSH DIAG GUI

The following is the type of information that can be displayed:
o Ping
o Connect 
o Show 
o Verbose 
o Save to Desktop 
o Mail Service 
o News Service 
o Internet Proxy Server 
o Computer Information 
o Operating System 
o Windows Version 
o Modems 
o Network Clients 
o Network Adapters 
o Domain Name System (DNS) 
o Dynamic Host Configuration Protocol (DHCP) 
o Default Gateways 
o Internet Protocol Address 
o Windows Internet Naming Service (WINS)

--------------------------------------------------------------
Using the Classic Search in Explorer (WinXP)

If you prefer to use the classic search style in Explorer,

1. Start Regedit
2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState
3. Add a String Key called Use Search Asst
4. Give it a value of no

--------------------------------------------------------------

 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

diskmgmt.msc

Disk Manager
eventvwr.msc Event Viewer

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

services.msc Services Applet

sysdm.cpl

 System Properties

tasksched.msc Task Scheduler

wscui.cpl

 Security Center

wuaucpl.cpl

 Automatic Updates Configuration

--------------------------------------------------------------

 Restoring Desktop Icon to the Quicklaunch Bar (Win98-WinNT-Win2000)

If you mistakenly deleted the icon for the Desktop on the Quicklaunch toolbar

Go to C:\Documents and Settings\user_name\Application Data\Microsoft\Internet Explorer\Quick Launch
(where user_name is replaced by your login name)

Create a Text file called ShowDesktop.SCF with the following contents:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

You can also DOWNLOAD a file, uncompress it, and copy to the toolbar or wherever you would like.

--------------------------------------------------------------

Cleaning the Prefetch Directory

WindowsXP 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:

  1. Start / Run / Prefetch
  2. Press Ctrl-A to highlight all the files
  3. Delete them

--------------------------------------------------------------

Hiding the Last User Logged On

If you use the standard NT style of login and want to hide the last user:

  1. Start the Group Policy Editor (gpedit.msc)
  2. Go to Computer Configuration / Windows Settings / Security Settings / Local Policies / Security Options
  3. Scroll down to Interactive logon: Do not display last user name
  4. Set it to Enable

--------------------------------------------------------------

 Restoring Access to CD ROMs

If after you remove CD Burning software, you can no longer access your CD ROM drive,
the following registry keys need to be deleted:

Locate and delete the UpperFilters and LowerFilters values under the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}

Restart the computer

--------------------------------------------------------------

 Using the Internet Explorer Classic Search

If you want to use the classic search engine in the Internet Explorer

  1. Start Regedit
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
  3. If it is not there, create a String Value of Use Search Asst
  4. Give it a value of no

Download reg file

--------------------------------------------------------------

 Logging in as Administrator (Vista, 7, 8.x, 10)

If you want to log in as Administrator, but it is not showing on the Welcome screen,

  1. Hold the Ctrl-Alt keys and press Del twice.
  2. This will bring up the normal login and you can log on as Administrator

---------------------------------------------------------------------

Opening a Command Prompt to a Particular Directory 
from Explorer (Command Prompt Here) For XP

If you want to open a command prompt to a directory that is selected in the Explorer:

  1. Start Regedit
  2. Go to HKEY_CLASSES_ROOT  \ Directory \ shell
  3. Create a new key called Command Prompt Here
  4. Under this create another new key called command
  5. Give it the default value of cmd.exe /k "cd %L"
  6. Now when you are in the Explorer, right click on a folder, select Command Prompt Here, and a command prompt will open to  the selected directory.

For Windows 10 (Command Prompt Here):

Copy the following lines and paste them in Notepad:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]
@="@shell32.dll,-8506"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt]
@="@shell32.dll,-8506"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt]
@="@shell32.dll,-8506"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""

Save Notepad file with a .reg extension and then double-click on it to modify the registry OR...

Download Windows 10 .reg file for Command Window Here (Right-click and Save As...)

---------------------------------------------------------------------

Windows Update Error 0xC80003FE

  1. Click Start -> Run -> CMD
  2. Issue the following commands:
        net stop wuauserv
        cd %windir%\softwaredistribution\datastore
        del datastore.edb
        net start wuauserv

Download script file here (Right-click and Run or Save As...)

----------------------------------------------------------------------

Windows Installer Cleanup (For Windows XP)

Uninstalls anything.

Install application here.

----------------------------------------------------------------------

Windows XP/2003: For systems using 3GB of RAM or more

This gives the system greater than 2GB of work space.  If your system is not suffering, do not use this fix.

In the Boot.ini, specify this parameter on the boot line:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /3gb

Server 2003:

multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microsoft Windows Server 2003" /fastdetect /3GB /Userva=3030

----------------------------------------------------------------------

How to change the listening port for Remote Desktop

(Windows XP)

1.Start Registry Editor. (Start / Run / Regedit)
2.Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

3.On the Edit menu, click Modify, and then click Decimal.
4.Type the new port number, and then click OK. 
5.Quit Registry Editor.
6.Restart the computer.
Note When you try to connect to this computer by using the Remote Desktop connection, you must type the new port.
You have to set the firewall to allow the new port number before you connect to this computer by using 
the Remote Desktop connection.
To connect to a remote computer which is configured with the non-default TCP port:
1. Launch the Remote Desktop Protocol (RDP) client
2. Type the network resolvable name or IP address in the "Computer:" field followed by ":<the_port_number>"
Example:

http://support.microsoft.com/kb/306759

--------------------------------------------------------------

Manually Remove Programs from the Add/Remove Programs List

http://support.microsoft.com/kb/247501

Locate and click the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

Each key under Uninstall represents a program that appears in Add/Remove Programs. To determine which program that each key represents, click the key, and then view the following values: 

DisplayName - the value data for the DisplayName key is the name that is listed in Add/Remove Programs

-and-

UninstallString - the value data for the UninstallString key is the program that is used to uninstall the program

--------------------------------------------------------------------------

Hyper-V: P2V Windows 2000 Server Fails (SCVMM Error 2910)

If your P2V attempt fails with Error 2910, I've used this method to get it to succeed.

Add the following registry key to the prospective guest server (i.e. the server to be P2V'd):

HKLM\SOFTWARE\Microsoft\Ole

Add String Value (REG_SZ):
EnableDCOM
with Value Data: Y

--------------------------------------------------------------------------

Robocopy Exit Codes:

Text file contains the exit codes for robocopy.  Download text file here.
Download Robocopy here.  This 32-bit version requires Windows 2003 Server, XP, 2000, or NT 4.0 but will run under a 64-bit OS

--------------------------------------------------------------------------

Windows Server 2008 NTP Settings (FSMO Server Only)

Synchronize your Windows Server 2008 computer with an Internet NTP time source AND make the server 
the NTP authority for your domain.  

First determine which domain controller is the FSMO server in your domain from a command prompt, use:
netdom /query fsmo

On the FSMO server, do the following:

net stop w32time
w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org"
w32tm /config /reliable:yes
net start w32time
w32tm /query /configuration

Or you can choose to run this script.  Fix it for me: here

--------------------------------------------------------------------------

Hyper-V: How to Install Windows 2000 SP-4 as a VM
without it Blue Screening

Before installing ANY Windows Updates, perform the following steps:

If you've already installed Hyper-V Integration Services on the Windows 2000 install, please uninstall them.  Reboot.
(On the restart, click Cancel as many times as necessary (around 3) to display the Desktop

1) In the Hyper-V Manager, with the Win2000 VM shut down, remove the Network Adapter.
2) In the Hyper-V Manager, Add Hardware -> Legacy Network Adapter.  Click OK
3) Start and Connect to the Windows 2000 VM.  Logon as Administrator
4) Install IE6 SP-1 (Login for Full version).  Restart
5) Run Windows Updates.  Shut Down
6) In the Hyper-V Manager, right-click the Win2000 VM and choose Settings
7) Remove the Legacy Network Adapter and Add Hardware -> Network Adapter
8) Start and connect to the Win2000 VM.
9) Install the Hyper-V Integration Services.  Restart
10) Run Windows Updates to install all the rest of the updates that apply.  Restart (as many times as suggested).

If you install the Windows Updates as instructed in this article, you will avoid the BSOD.

--------------------------------------------------------------------------

Set NTP Time Service In Windows 2000 / 2003 Server

1. Stop the windows time service: open a command prompt and type "net stop
w32time".
2. Configure the machine to sync with an outside time source: type "net
time /setsntp:clock.isc.org "; this will set the machine to automatically
sync with one of the clock.isc.org's time servers. (You may specify any legal
network time protocol server on the Internet.)
3. To confirm this works type "w32tm -once -test -v" this will test
synchronization against the navy time server and display verbose output.
4. Sync with the clock time server: "w32tm -s"; check if you get a response
that looks something like "RPC to local server returned 0x6b5",
5. Start the w32time service: "net start w32time". Once you start the
service, check if the clock automatically sync with the clock time server.

--------------------------------------------------------------------------

[Error number: 0x8024800C] running Windows Update

***************Resolution***************
From a command line type:
net stop "Automatic Updates" 
del C:\Windows\SoftwareDistribution\
net start "Automatic Updates"
After that, simply run windows update again.

--------------------------------------------------------------------------

Black List and White List Servers
(for use with Exchange Server 2003 SP-2 and beyond)

From the following article:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrantivirusandantispam/thread/b4a20f48-f1cb-4438-8ee2-7f357bed185c/

My suggestion is to use the following blacklists

zen.spamhaus.org
pbl.spamhaus.org  (takes care of dynamic IPs)
bb.barracudacentral.org
ix.dnsbl.manitu.net
bl.spamcop.net
# combined.njabl.org  (njabl.org is defunct do not use)

and, if you are using Exchange 2010 which supports DNS whitelists, to also use the following whitelists

swl.spamhaus.org
iadb.isipp.com
query.bondedsender.org
hul.habeas.com

--------------------------------------------------------------------------

Batch File to Establish a VPN Connection (Example)

rasdial "Connection Name" Username Password /Domain:"Domain Name"
net use q: \\Servername\Sharename
copy SourcePath q:\DestinationPath
net use q: /delete
rasdial "Connection Name" /Disconnect

Schedule a VPN connection using Task Scheduler

--------------------------------------------------------------------------

How to Remote Desktop to the Actual Server Console on Windows 2003

Using the Remote Desktop client usually lands you in a separate session on the windows server.  There are times, however, when you might want to be able to connect to the
console directly instead of being in a separate session.  This is how.  Start the remote desktop client from the command line or the Start/Run dialog with this command:

mstsc /console

Newer versions of the RDP client (6.1 and higher) use the following syntax:

mstsc /admin

--------------------------------------------------------------------------

Robocopy example:

robocopy c:\ H:\Daily\Web\C_Drive /R:0 /XJ /MIR /A-:A

--------------------------------------------------------------------------

IE 6 Full

IE6 SP1 Full Download for 2000/XP  (In a handy .zip file)

--------------------------------------------------------------------------

Exchange 2003 Full Control Access To All Mailboxes

From the Exchange System Manager, right-click the Exchange Server to be accessed and choose Properties

On the Security tab of the Exchange Server Properties dialog box click Domain Admins and check the Full Control checkbox.

Click OK and the Domain Admins group will have Full Control access to all mailboxes on the server.

--------------------------------------------------------------------------

Error message when you try to set an IP address 
on a network adapter

The network settings are assigned to an old network card.  You should have set the card to DHCP 
before pulling it out of the computer.  Failing that, this is the fix.

http://support.microsoft.com/kb/269155

Windows XP / Server 2003 / Server 2008 / Windows 7 -> MicrosoftFixit50609.msi
(See article for the Windows 8 / Server 2012 fix)

--------------------------------------------------------------------------

Increase the size of the Exchange 2003 SP-2 
Private / Public message store

To increase the Exchange Server 2003 SP2 database size, follow these steps:

Important Before you increase the maximum size of an Exchange database, verify that sufficient hard disk space is available for the larger database.
  1. On the computer that is running Exchange 2003 SP2, click Start, click Run, type regedit, and then click OK.
  2. Click one of the following registry subkeys, as appropriate for the store that you want to increase:
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. In the New Value #1 box, type Database Size Limit in Gb, and then press ENTER.
  5. Right-click Database Size Limit in Gb, and then click Modify.
  6. Click Decimal, and then type an integer from 1 to 75 in the Value data box.

    Note These integer values represent the maximum size of the database in gigabytes (GB). For example, a value of 75 represents a database that has a maximum size of 75 GB.
  7. Click OK, and then exit Registry Editor.
  8. Restart the Microsoft Exchange Information Store service. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. At the command prompt, type the following command, and then press ENTER:
      net stop msexchangeis
    3. After the Microsoft Exchange Information Store service has stopped successfully, type the following command, and then press ENTER:
      net start msexchangeis
  9. Examine the Application log to verify that the database size has been set successfully. To do this, follow these steps:
    1. Click Start, click Run, type eventvwr, and then click OK.
    2. In the Event Viewer tool, click Application.
    3. Double-click event ID 1216 to verify that the database size has been set successfully.

--------------------------------------------------------------------------

How to Configure RPC over HTTP in Exchange 2003

http://www.msexchange.org/articles-tutorials/exchange-server-2003/migration-deployment/Implementing-RPC-over-HTTPS-single-Exchange-Server-2003-environment.html

Best article is found above.  Follow it.

--------------------------------------------------------------------------

Enable Windows Installer in Safe Mode

Windows Installer will not work under Safe Mode, this means that programs cannot be installed or 
uninstalled in safe mode without giving a specific command using msiexec in command prompt.

To make Windows Installer work under safe mode, you need to create a registry entry for every type 
of safe mode you are logged in to.

1.Safe Mode
Type this in a command prompt: 
	REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"

and then 

	net start msiserver

This will start the Windows Installer Service.

2.Safe Mode with Networking

	REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service"

and followed by

	net start msiserver 

This will start the Windows Installer Service.

--------------------------------------------------------------------------

Disable UAC:

reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

--------------------------------------------------------------------------

Internet Explorer All Versions:

https://www.itechtics.com/download-internet-explorer-all-versions/

--------------------------------------------------------------------------

FrontPage Error When Attempting to Open a Website

To edit a website under IIS5, make the following change to the registry (believe it or not)
HKLM\System\CurrentControlSet\Control\LSA\MSV1_0

Enter the name of the website then it will allow you to authenticate and edit it in FrontPage. Unbelievable...

See this KB article: https://support.microsoft.com/en-us/kb/896861

--------------------------------------------------------------------------

POP3 and IMAP4 Configuration Outlook365

https://support.office.com/en-us/article/Add-a-POP-IMAP-or-Office-365-account-to-Outlook-using-custom-settings-70c2b230-9d23-4c41-98c5-a639e68e06dc?ui=en-US&rs=en-US&ad=US

If you're using Office 365 for business, the IMAP or POP server name is outlook.office365.com.

In the Outgoing mail server (SMTP) box, type the full name of the server for your email provider. For example, mail.contoso.com.

If you're using Office 365 for business, the SMTP server name is smtp.office365.com.

--------------------------------------------------------------------------

Determining Which Services are Associated with SVCHOST

Since so many critical services are run with each svchost,
You can see which ones are being used by opening a cmd prompt and running:

tasklist /svc /fi "imagename eq svchost.exe"

Note: This is available only with XP Pro

--------------------------------------------------------------------------

Create a FavIcon For Your Website

www.favicon.cc - Creates a favicon.ico file

<link rel="shortcut icon" href="favicon.ico" type="favicon/ico" />

--------------------------------------------------------------------------

Last Time Booted

systeminfo | findstr /c:"System Boot Time" | clip

--------------------------------------------------------------------------

Resetting TCP/IP and Winsock

netsh int ip reset
netsh winsock reset

--------------------------------------------------------------------------

Run Internet Explorer with No-Addons

iexplore.exe -extoff

--------------------------------------------------------------------------

Enable Administrator account

net user administrator /active:yes

--------------------------------------------------------------------------

User Profile Service failed the logon

http://support.microsoft.com/kb/947215

--------------------------------------------------------------------------

Uninstalling IE11 from Any PC

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart"

Reset Internet Explorer Proxy (Registry)
To reset your Internet Explorer proxy settings yourself, follow these steps:
In the Run text box, copy (CTRL+C) and paste (CTRL+V) or type the following:
      Reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
Click OK.

In the Run text box, copy (CTRL+C) and paste (CTRL+V) or type the following:
       Reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f
Click OK.

--------------------------------------------------------------------------

Blank Spaces in the Notification Area (System Tray)

Navigate to the following registry key:

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify

Delete the values IconStreams and PastIconsStream.
Reboot (or restart Explorer.exe)

------------------------------------------------------------------------------------------------

The IP address you have entered has already been assigned (duplicate IP address):

  1. Start a CMD prompt as an admin
  2. Type: set devmgr_show_nonpresent_devices=1 and press ENTER
  3. Type DEVMGMT.MSC and press ENTER
  4. In Device Manager, click VIEW then SHOW HIDDEN DEVICES
  5. Expand NETWORK ADAPTORS
  6. Right click on each grayed out NIC and select UNINSTALL
  7. Close all of the Windows (including your IP, Network and Sharing Center…)
  8. Now try to change the IP and all will be happy.

------------------------------------------------------------------------------------------------

Outlook Signature File Location

Windows XP: C:\Documents and Settings\%USERNAME%\Application Data\Microsoft\Signatures
Windows Vista, 7, 8, 8.1, 10: %userprofile%\AppData\Roaming\Microsoft\Signatures

------------------------------------------------------------------------------------------------

MSWord Custom Dictionary File Location (Custom.dic)

%AppData%\Microsoft\UProof\CUSTOM.DIC

--------------------------------------------------------------------------

VLC Buffer Setting:

------------------------------------------------------------------------------------------------

Compacting Your Dynamically Expanding Hyper-V Virtual Machine (.VHD)

  1. In the Hyper-V Manager, select the virtual machine you want to compact and shut it down
  2. In the Hyper-V Manager, on the "Actions" panel (right side of the app) choose Edit disk...
  3. Click Browser and path to the desired VHD file then click Next. The Edit VHD Wizard begins.

  1. Select Compact then click Next

  1. Click Finish and the process of compacting the VHD will commence.

------------------------------------------------------------------------------------------------

Delete EFI system partition with Diskpart

Problem: Cannot delete partitions with Disk Manager.

Solution: DiskPart.exe

As a command line utility, DiskPart is a little bit harder for average users to understand due to its non-graphical interface. So please be very careful when you want to delete EFI partition with Diskpart command line:

Step 1. Open DiskPart

  1. 1. Hit "Windows Key + R" to open the run dialogue box (or drop to a command prompt).
  2. 2. Enter diskpart and click "OK" to open a black command prompt window.

Shortcut Step:
Instead of doing all that business below, you can easily "clean" the disk with the following commands:

Open Diskpart in an elevated CMD prompt

Type

Done!

Step 2. Change EFI system partition ID and set it as a data partition

Type the below command lines and hit Enter each time:

Delete EFI system partition with Diskpart command line.

Step 3. Delete EFI partition with command line

Type the below command lines and hit Enter each time:

Step 4. Complete EFI deleting process

Finally, type "exit" to close the windows when you receive the message says, 'DiskPart successfully deleted the selected partition'.

------------------------------------------------------------------------------------------------

Enable SMB1 Protocol on Server 2012

Launch PowerShell and enter the following command:

Set-SmbServerConfiguration -EnableSMB1Protocol $true

To disable, change $true to $false

Steps to enable and disable the SMBv1 on the SMB server using the registry:

Registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Registry entry: SMB1
REG_DWORD: 0 = Disabled
REG_DWORD: 1 = Enabled
Default: 1 = Enabled

------------------------------------------------------------------------------------------------

Use ARP to Obtain MAC Address From an IP Address

This will give you the MAC addresses (or Physical Address) of all the IP addresses your computer currently has in memory

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------