This post shows you how to fix a new box that has a System Reserved Partition taking up a drive letter and accessible by all.
Here is the fix using Diskpart:
- Load Command Prompt (cmd)
- Load Diskpart (diskpart)
- List Disks (list disk)
- Select Proper Disk (select disk #)
- List Partitions (list partition)
- Select Proper Partition (select partition #)
- List Volumes (list volume) NOTE: Look at Drive letter of system reserved volume
- Select the volume to hide (select volume #)
- Remove assigned disk letter (remote letter X)
The commands below will show you how to take ownership of an entire drive. Here is a simple script to accomplish just that.
Create a cmd file takeowner.cmd in notepad and type the following or past this in a command line prompt one line at a time:
takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t
I uninstalled WSUS and had most of the client computers unable to check for updates, even after updating the GPO to grab them from the net. I found the following solution and it fixed the issue: (Note: I didn’t follow all these instructions and found that just stopping the Crypto service and deleting catroot2 folder was sufficient.)
You can try to register the following DLLs if Windows Update service is not starting up or having some issue updating/running Windows Updates:
1. Create a batch file and copy the following contents in it and then double click on it to register modules.
2. Restart the Windows Update and Automatic service
3. Stop the Cryptographic Service
4. Remove the folder WindowsSystem32Catroot2
5. Rename the WindowsSoftwareDistribution folder.
This above folder is the restoration point for Windows Update service.
6. Now restart the Cryptographic Service.
7. Create another batch file and put the following lines in it and then double click on it to register the modules:
regsvr32 /s Softpub.dll
regsvr32 /s Mssip32.dll
regsvr32 /s Initpki.dll
Your Windows Update should work.
I recently wanted to view Wav files in outlook without launching my default WAV viewer. You need something called a Preview Handler to make it happen. The guy over at http://www.azarfamily.org/previewhandlersforwindowsxp/ has done just that. He compiled an preview handler pack that includes wav and various other files. You can download them from his site or here is the link to download from mine. Ultimate Preview Handler Pack This also works on 7 and Vista.
Typically this happens when you are installing a program and receiving a pop-up message during installation. I removed a drive from my computer and had this happen to me. The fix for it is rather simple:
1.Click Start, and then click Run.
2.In the Open box, type regedit, and then click OK.
3.In Registry Editor, locate the following registry key:
4.In the right pane, note the values in the Data field of each entry. If any value contains a drive that is not correct for your computer, right-click the entry, type c:my documents in the Value data box, and then click OK.
5.Repeat step 4 for each entry whose Data value contains an incorrect drive.
6.Repeat steps 3 through 5 for each of the following registry keys:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerUser Shell Folders
7.Close Registry Editor.
Re-run your setup program and it should work. Also, I’d recommend running the registry cleaning portion of CCleaner and checking your Environmental Variables (Under System Properties, Advanced, then Environmental Variables.)
This describes how to have an adapter take priority of all internet traffic over another. For instance, you have 2 different networks on a single computer, and the wired connection does all your internal communications, but you want the wireless adapter to do all outgoing internet applications (iexplore, firefox, etc…).
Set the Interface Metric
-Open Network Connections (ncpa.cpl)
-Open the Network Connection to take priority (Right click desired connection -> Properties)
-Select Internet Protocol (TCP/IP) (v4 if on Vista or 7) -> Properties
-Click Advanced button on General Tab
-Un-check Automatic Metric
-Enter in “1” for new metric
(optional) enter in a higher metric for the other adapter. I recommend 10 as a baseline, but you can go higher.
Verify new settings on InterfaceMetric using Command Line
-Type: netsh interface ip show address
Make sure your Metrics reflect the changes made and you are finished. If they haven’t changed release/renew to see changes.
The following table lists the link speeds and metrics for computers that run Windows XP Service Pack 2.
Greater than 200 Mb
Greater than 80 Mb, and less than or equal to 200 Mb
Greater than 20 Mb, and less than or equal to 80 Mb
Greater than 4 Mb, and less than or equal to 20 Mb
Greater than 500 Kb, and less than or equal to 4 Mb
Less than or equal to 500 Kb
I recently ran into a computer that was constantly failing all updates. Here is what I did to fix this issue.
- Run registry cleaner to remove orphaned registry entries. My recommendation is to download CCleaner
- Run the following commands as an Administrator from command line or Alternatively you can download Updatefix.bat (I Created This)
cd /d %SystemRoot%System32SMIStoreMachine
attrib -s -h *
- Reboot your computer. The deleted files are regenerated and you can now install windows updates.