Fixing Windows 8 Wifi Issues in Bootcamp

I’m not a fan of OSX, but working at an advertising agency, there’s no way to avoid it. I have a MacBook Pro that I need to use to admin some Mac things occasionally. The rest of the time, it runs Windows very nicely using Bootcamp.

However, when Windows 8 came out and I scrapped my Windows 7 partition and installed Windows 8 Enterprise, I found that I could no longer attach to our corporate wifi network. We use 802.1x and certificates to authenticate via radius, so I checked the radius server and determined that I wasn’t even making it that far, there was no indication of my machine even trying to authenticate. I figured it probably wasn’t a Cisco wireless issue, since my machine was the only one having a problem. What next then?

I checked the driver, and the Broadcom 802.11n wireless card was using the built in Microsoft driver. Which was working fine as long as you didn’t have to use certificates. I had no problem connecting at home, or at Starbucks and the like.

I decided I’d try using some older Broadcom drivers to see if that would remedy the situation. Installing those did the trick. You can download the Broadcom driver I used here. Don’t use the Setup.exe, it won’t run. Go through Device Manager and manually install the driver that way.

Windows 8, Microsoft Mouse and Keyboard Center, and Scrolling Problems

I’ve been running Windows 8 since the Developer Preview, and I’ve been pretty satisfied with it. One thing I especially like is the gestures I can use with my Microsoft Touch Mouse that allow me to open the Charms bar, minimize all windows, and other nice shortcuts. But lately, I’ve been experiencing scrolling issues. Several programs, for whatever reason, have stopped scrolling. And not some obscure software, I’m talking about things like AD Users and Computers, Backup Exec, and Outlook.

So, being tired of not being able to scroll, I decided to do a little troubleshooting to see what might be causing this problem. As the Microsoft Mouse and Keyboard Center don’t come with the OS but must be installed separately, I thought it would start with that, maybe a reinstall would help. I went to the website downloads section and grabbed MouseKeyboardCenter_64bit_ENG_2.0.161.exe. I uninstalled the software, and reinstalled. No change. The uninstaller said a reboot might be necessary, but I was not asked to do one. So I uninstalled again, rebooted, and reinstalled once more. Still no scrolling. Some digging around on Microsoft’s website yielded MouseKeyboardCenter_64bit_ENG_2.0.162.exe, a slightly newer version than the download offered on the main download site. Uninstalled and installed the newer version, still no scrolling.

So I uninstalled again, and noticed that the scrolling, though somewhat erratic, was working without the Mouse and Keyboard Center. But none of the touch gestures, of course. So I figured it had to be something with that software causing the issue. So I reinstalled and checked out what executables it installs that were running. I discovered an ipoint.exe and itype.exe that were in my list of processes. Thinking perhaps they weren’t able to do what they were supposed to (based on an Outlook problem I was having earlier with digitally signing emails) I killed those two processes, set them to always run as administrator, and relaunched them.

Bingo! I now have scrolling again in all my apps. The only other caveat is that you also have to set Mouse and Keyboard Center to run as an administrator as well, or it will just hang when it starts up.

PowerShell and the Not enough storage is available to complete this operation error

Recently while running a PowerShell script, I started having some problems that had never happened before. I hadn’t made any changes to the script, but the section of the script that remotes into a SharePoint server and updates a list quit working for some reason. The script was just hanging there, and would eventually time out on that section and move on. Luckily, PowerShell threw an error at me to give me some idea of what was happening.

Processing data for a remote command failed with the following error message: Not enough storage is available to complete this operation. For more information, see the about_Remote_Troubleshooting Help topic.

“Not enough storage is available”? The first thing my brain did was flashback to NT4 Service Pack 3. Do I need to set the IRPStackSize registry key? Probably not, and I was really surprised I remembered that issue, it’s been a decade or so.

After some Googling with Bing, I discovered that by default, WSMan allocates only 150M of memory to each remote shell. You can verify that by running this one-liner:

(Get-Item WSMan:localhostShellMaxMemoryPerShellMB).Value

That should return 150 if you haven’t made any modifications. My script wasn’t putting that much data into SharePoint, but I figured this looked like a likely culprit, and hey, memory is cheap these days. So I bumped that 150M up to 1G.

Set-Item WSMan:localhostShellMaxMemoryPerShellMB -Value 1024

After changing that setting and running the script again… Bingo! The SharePoint data was successfully input and the script was fully functional again. I’m not sure what might have caused that to happen as nothing had changed in the script or on the server, but as long as it’s working, I’m happy.

How To Fix The Daily Dilbert Sidebar Gadget

UPDATE: It seems that the gadget broke again yesterday (6/25/2013). The Dilbert RSS feed that was supplying the gadget with the comic strips (http://feed.dilbert.com/dilbert/daily_strip) was modified to no longer show the actual comic. Instead, there is now this:

Dilbert readers – Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.

So… I’ll have to see if I can find another feed and try and get that to work with the gadget. But for now, it’s just broken, sorry. /UPDATE

After a nice long vacation, I came back to my Windows 8 PC today and decided to get caught up on Dilbert with my handy dandy Dilbert Gadget. Yes, I still use Microsoft’s Gadgets on Windows 8. Do a search for 8 Gadget Pack and you can, too. But to my surprise, when I clicked on any of the dates, Windows sent me to Internet Explorer which informed me that the csharptricks.com domain is kaput.

Sorry to see those guys drop off the web, but just because they are gone doesn’t mean that I should have to stop enjoying Dilbert every day. So if you’re having this issue, here’s a quick fix. Open the location were the gadget lives (c:UsersusernameAppDataLocalMicrosoftWindows SidebarGadgetsDailyDilbert.gadget) and open up DailyDilbert.js. Look for this:

<iframe src="http://csharptricks.com/Projects/Gadgets/news.htm" width="100%" Height="20" frameborder="0"></iframe>

And remove it. Save the file and you should be good to go!

Introducing Windows Server 2012 – Free

Looks like Amazon has this book from MS Press for free. This is the updated RTM version of the book. The only catch is that it’s just for the Kindle. Which is fine, you can read Kindle books on your Windows Phone, or pretty much any iDevice, Android, and Blackberry. Or if you don’t have one of those (which I doubt if you’re reading this) there is always Kindle for PC. Or a Metro version if you have an RT.

Basically, you have no excuse not to grab a free copy of this book. So get it now while it’s still free.

How To Create Windows 8 Tiles To Reboot or Logoff

One of the things that I did not like in Windows Vista and Windows 7 was that in order to logoff, shutdown, or reboot, you had to make quite a few clicks. It seems to me that the process was just way too complicated, and it was blogged about by many people. I thought that certainly after all the complaints Microsoft heard that it would be better in Windows 8 and Server 2012. Nope.

Now, in Windows 8, you have to get the charms bar up by either putting your mouse in the lower-right hand corner, or by using the Win+C shortcut, then click on Settings, then click on Power, then pick the option you want from the pop-up menu. It’s different, but still way too many steps to have to go through. Ok, if you have PowerShell open, you could just type Restart-Computer, but not everyone always has PowerShell open, especially if you are using a Surface RT. A good solution would be a little more universally available.

Like the guy yelling out the window in “Network”, I decided I didn’t want to put up with that for several years. So I decided to find an alternate method.

I found some control panel add-ins, taskbar shortcuts, and some other things that would get me where I wanted, but I was looking for something a little… well, sexier, from a geek perspective. Like doing it via PowerShell, that would be sweet. Then I found this gem over on the Microsoft Script Center. If you’re an IT person dealing with Microsoft technologies, I would highly recommend keeping that site in your favorites, as well as the Hey Scripting Guy! blog. Because you are using PowerShell already, right? I thought so.

This PowerShell solution comes with a module that you import, then you just run New-OSCWindowsTile and BAM! you have tiles for Shutdown, Restart, and Logoff. Once that’s done if you hit your Windows key on the keyboard, then type “res” you should see the Restart option. On my computer, I can now reboot with just five keystrokes instead of all that mouse clicking.

Introducing Windows 8–Free Ebook

Microsoft has released the final version of “Introducing Windows 8 – An Overview fro IT Professionals” and you can download it for free in several formats:

PDF
Introducing Windows 8- An Overview for IT Professionals – PDF ebook

Mobi
Introducing Windows 8-An Overview for IT Professionals – Mobi format for Kindle

ePub
Introducing Windows 8-An Overview for IT Professionals – ePub format

Here’s what’s covered in the book:

  • Hardware Innovations
    Touch; Long battery life; Thiner, lighter, faster; Sensors and security; New Form Factors
  • Experiencing Windows 8
    Walk-through the new UI and key improvements to Task Manager and File Explorer.
  • Customizing and Configuring Windows 8
    Profile customization, Tile configuration, PC Settings, Redesigned NTFS
  • Networking Enhancements
    BranchCache, DirectAccess, Mobile broadband, IPv6
  • Deploying Windows 8
    Windows 8 SKUs, Application Compatibility, User State Migration, Deployment and Imaging, Windows PE, Volume Activation Management Tool, Windows-to-Go
  • Delivering Windows Apps
    Windows app lifecycle, Distributing via Windows Store, Distributing with an Enterprise
  • Windows 8 Recovery
    File History, Refresh and Reset, Windows Recovery Environment, DaRT, Advanced Options
  • Windows 8 Management
    PowerShell 3.0, Group Policy Improvements, System Center 2012 Configuration Manager, Windows Intune
  • Windows 8 Security
    Secure boot, SmartScreen, Vulnerability mitigation and sandboxing, BitLocker, Virtual smart cards, Dynamic Access Control
  • Internet Explorer 10
    New features, Group Policies for IE 10
  • Windows 8 Virtualization
    Client Hyper-V, Virtual Desktop Infrastructure, Application virtualization, User state virtualization

I read part of the book in pre-release, and it’s a great resource for all things related to Windows 8. Get your copy now, it’s free!

Windows 8, WSUS and Error Code 800B0001

Since putting some Windows 8 machines in my domain, I’ve noticed that they will not get updates from our internal WSUS server. I did some searching and found this Microsoft KB article:

Issues that are fixed

This update lets servers that are running Windows Server Update Services (WSUS) 3.0 SP2 provide updates to computers that are running Windows 8 or Windows Server 2012.

Read the full article of course, but if you’re just running a single server as we are, the process is to download the patch, install it on your WSUS 3.0 SP2 server, then run a sync. If you have already attempted to attach Windows 8 clients and received the 800B0001 error, you will need to stop the Windows Update service, remove the Windows\SoftwareDistribution directory, and start the Windows Update service again.

Works like a charm!

Fruit Ninja Won’t Update In Windows App Store

If you were one of the people who had Windows 8 up and running before the release to the general public, and installed Fruit Ninja when it was free, you might be running into an issue now where the store tell you that it needs an update, but it just throws an error every time you try and actually install the update. Here’s what I was able to do to fix that. First, open a PowerShell prompt as administrator and run this:

Get-AppxPackage HalfbrickStudiosPtyLtd.FruitNinja | Remove-AppxPackage

That will uninstall the app. For me, doing the uninstall from the Start screen didn’t actually remove it. Once you have done that, then run:

wsreset.exe

which will reset your Windows Store cache. Once that’s done, you should be able to go back to your list of apps and successfully install the newest version.