Category Archives: Windows 8

Windows 8 Solutions

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

Installing .NET Framework 3.5 / 3.0 / 2.0 in Windows 8 in domain WSUS network

Recently I ran into a network where any machine attached to the network wouldn’t install .NET Framework Web Download for a line of business application I was installing. I found the following article on Microsoft that fixed the issue. http://support.microsoft.com/kb/2734782 Note: You could take this resolution further and push it out via network script if needed. Make sure to copy the windows 8 dvd to a local network drive before attempting.

To resolve this problem, use one of the following methods, as appropriate for the error code that you are receiving.

Error code: 0x800F0906

This error code occurs because the computer cannot download the required files from Windows Update.

This behavior can be caused by network, proxy, or firewall configurations or by network, proxy, or firewall failures. To resolve this problem, try to connect to the following Microsoft website:

Microsoft Update

If you cannot access this website, check your Internet connection or contact the network administrator to determine whether there is a configuration that blocks access to the website.

This behavior can also be caused by a system administrator who configures the computer to use Windows Server Update Services (WSUS) instead of the Microsoft Windows Update server for servicing. In this case, contact your system administrator and request that they enable the Specify settings for optional component installation and component repair Group Policy setting and configure the Alternate source file path value or select the Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) option.

To configure the Group Policy setting, follow these steps:

  1. Start the Local Group Policy Editor or Group Policy Management Console.
    Collapse this imageExpand this image

  2. Expand Computer Configuration, expand Administrative Templates, and then select System.
    Collapse this imageExpand this image

  3. Open the Specify settings for optional component installation and component repair Group Policy setting, and then select Enabled.
    Collapse this imageExpand this image

  4. If you want to specify an alternative source file, in the Alternate source file path box, specify a fully qualified path of a shared folder that contains the contents of the sourcessxs folder from the installation media. Or, specify a WIM file. To specify a WIM file as an alternative source file location, add the prefix WIM: to the path, and then add the index of the image that you want to use in the WIM file as a suffix. The following are examples of values that you can specify:
    1. Path of a shared folder: \server_nameshareWin8sxs
    2. Path of a WIM file, in which 3 represents the index of the image in which the feature files are found: WIM: \server_nameshareinstall.wim:3
  5. If it is applicable to do this, select the Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS) check box.
  6. Tap or click OK.
  7. At an elevated command prompt, type the following command and then press Enter to apply the policy immediately:
    gpupdate /force

Or, you can use the Windows installation media as the file source when you enable the .NET Framework 3.5 feature. To do this, follow these steps:

  1. Insert the Windows 8 or Windows Server 2012 installation media.
  2. At an elevated command prompt, run the following command:
    Dism /online /enable-feature /featurename:NetFx3 /All /Source:<drive>:sourcessxs /LimitAccess

    Note In this command, <drive> is a placeholder for the drive letter for the DVD drive or for the Windows 8 installation media. For example, you run the following command:

    Dism /online /enable-feature /featurename:NetFx3 /All /Source:D:sourcessxs /LimitAccess

Windows 8 Store not loading (On Domain)

I had an issue after joining my computer to the domain that the Windows Store wouldn’t load. I first had to re-enable UAC because of a GPO and that fixed launching the metro apps. I was still having the issue with Windows Store not loading and this fixed it.

Source: http://johndandison.com/blog/post/2012/04/05/Windows-8-Metro-Apps-Store-Windows-Update-WSUS.aspx

I’ve been building Windows 8 apps for my current employer, so I’ve been running Windows 8 since the developer preview. Consumer Preview brought us the App Store – but I noticed that after some AD moves, I could no longer access the store. Turns out it’s restricted via Windows Update…so this has some large implications.

First, if you’re getting shut out of the store (“Can’t connect to the Store right now” kind of messages) & on a corporate, managed machine (you’ll see ‘Managed by your system administrator’ in Windows Update) – plus getting stuff like this:

 1: Fault bucket -1485561316, type 5
 2: Event Name: WindowsUpdateFailure2

in your event viewer whenever you try to install apps, here’s the fix:

 1: [HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdate]
 2: "DisableWindowsUpdateAccess"=dword:00000000

Either copy/paste that text into a text file, save it as BobLoblaw.reg & run it, or navigate to that tree & change the DWORD from 1 to 0. Next, go into services.msc & restart the Windows Update service.”

Windows 8 Settings include Reformat and Refresh

All past versions of windows have a common problem, they get infected with viruses and require you to either reload it from disc, or recovery partition. Sometimes people lost the disc, re-partitioned their drives, or simply had their hard drive fail. This leads to installing windows from scratch and hunting down all your drivers.

That is all changing in Windows 8, they are including a “Refresh” option and a “Remove everything and Re-install Windows” option.

[singlepic id=830 w=400 h=300 float=center]

I’m skeptical on how well this works, but in theory this could be a great thing for the home user. Windows 8 computers are likely to get infected, just as much as a Windows 7 computer. However, having these options at users fingertips could be a blessing, or a curse. Imagine if a virus re-programs these features, wouldn’t that be fun 😉 I guess we will just have to wait and see.

“Refresh your PC”

The refresh options removes all user installed applications from 3rd parties, i.e. Adobe products from a disc, Google Chrome, or anything you installed on the “desktop” portion of windows 8. This pretty much erases all applications on your PC, except those from the windows store. You see where I’m going here don’t you? Microsoft hopes that end users will purchase EVERYTHING from their store, which it can vet and make sure it doesn’t have viruses. Microsoft will of course take a piece of the pie on that purchase and is why Windows 8 will be so cheap. I have mixed emotions on this, but it does make a lot of sense.

“Remove Everything and Reinstall Windows”

This will be nice to have it part of the operating system. It should have been there on past windows, but better late than never. A simple reformat, and reload without the need to hunt down the correct windows disc.

Overall, I’m happy to see Microsoft taking steps to transition the computer world away from where we have been. There will be bugs, and Windows 8 is a far cry from perfect, but I like its direction. I’m looking forward to the official launch next month.

To Learn more about Refresh and Restoring custom images go to: http://blogs.msdn.com/b/b8/archive/2012/01/04/refresh-and-reset-your-pc.aspx

This details creating a custom refresh image which would include 3rd party applications. This could be a godsend for IT Professionals in business, since the image would be local and easily a one-click fix all button, so to speak.