Category Archives: Windows 7

Windows 7 Solutions

Raid 1 Resyncing Windows 7/8 software raid

I want to preface this article in saying that I would never use a software raid in a business environment. However, recently I tried the software raid on a home theater PC. We recently had a power issue and caused the RAID 1 to go into resyncing status. Since it was about 2 TB of data, the resync would take several days and was causing performance issues. I found I could not break the raid or remove the mirror.

The following solutions is how you’d fix the issue:

Solution One:
resyncing
1. Open up Disk management (Start -> Run -> Type diskmgmt.msc)
2. Right click disk to remove from Raid and select Offline (Click on Disk to left not the graphic on right)
3. Reboot PC
4. Open Disk management back up, select disk, and put online.
5. Immediately after, Right click graphic and select remove Mirror.
Done!

Solution Two:
1. Physically unplug one of the disks
2. Open Disk Management
3. Remove Mirror

Remove or Hide System Reserved Partition

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:

  1. Load Command Prompt (cmd)
  2. Load Diskpart (diskpart)
  3. List Disks (list disk)
  4. Select Proper Disk (select disk #)
  5. List Partitions (list partition)
  6. Select Proper Partition (select partition #)
  7. List Volumes (list volume) NOTE: Look at Drive letter of system reserved volume
  8. Select the volume to hide (select volume #)
  9. Remove assigned disk letter (remote letter X)

Done!

Taking ownership of an entire drive in Windows

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

Preview Wav, Jpg, Pdf in Outlook 2007

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.

“Error 1327. Invalid Drive: Drive” or “Error 1325 – File name is not a valid short file name” fixes

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:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders
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_MACHINESOFTWAREMicrosoftWindowsCurrentVersion
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell 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.)

CT Summation Grayed out Case Explorer

Recently I was using CT Summation iBlaze v3 and I went to run it on a Windows 7 machine and all my cases were grayed out in Open Case with all the icons also grayed out in Case Explorer. After some tinkering, I found out that it is a compatibility issue with CT Summation iBlaze v3 in Windows 7.

Simple Run in Windows XP SP2/3 mode and it will fix the issue. If you are unable to select this option via the shortcut, simply run the troubleshoot compatibility link from right clicking. This should fix the issue.

Keep Windows 7 from installing device drivers from Windows Update

I find a very annoying feature of Windows 7 is every device you install by default searches windows update. This makes installing devices a lot longer than it needs to be. Follow these steps to make windows search your computer first and then Windows Update if needed.

1. Right Click My Computer from Start Menu and select “Properties”
2. Click “Advanced System Settings”
3. Select Hardware Tab, and click “Device Installation Settings”
4. Highlight “No, Let me choose what to do”
4a. Also, “Install driver software from Windows Update if it is not found on my computer”

Save Changes and you are done. You now install devices at lightning speed!

Force Network Connection Priority

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.

Link Speed

Metric

Greater than 200 Mb

10

Greater than 80 Mb, and less than or equal to 200 Mb

20

Greater than 20 Mb, and less than or equal to 80 Mb

25

Greater than 4 Mb, and less than or equal to 20 Mb

30

Greater than 500 Kb, and less than or equal to 4 Mb

40

Less than or equal to 500 Kb

50

Updates Keep failing in Windows Vista / 7 “updates were not configured correctly reverting changes”

I recently ran into a computer that was constantly failing all updates. Here is what I did to fix this issue.

  1. Run registry cleaner to remove orphaned registry entries. My recommendation is to download CCleaner
  2. Run the following commands as an Administrator from command line or Alternatively you can download Updatefix.bat (I Created This)
  3. cd /d %SystemRoot%System32SMIStoreMachine
    attrib -s -h *
    del *.blf
    del *.regtrans-ms

  4. Reboot your computer. The deleted files are regenerated and you can now install windows updates.