Entries Tagged as 'Work Stuff'

Printer sharing problem under Windows 2008 R2 / Windows 7 (error 0x000006d9)

So I'm sick in bed and decided to take the opportunity to write a blog post or two I've been meaning to do for a while now. If I manage to complete writing them in between dozing off, that is.

I ran across this issue at work a while ago while setting up a new print server. The server is running Windows 2008 R2 (same codebase as Windows 7 so the same problem and solution applies). After the server was all set up and ready to go, all we needed to do was share the print queue in question. Except all we got was "Operation could not be completed" (error 0x000006d9).

The reason for this is that, like many other organizations, we've traditionally run a GPO that disables the Windows Firewall service (Officially named Windows Firewall with Advanced Security) on Windows Servers, instead relying on rigidly configured, dedicated firewalls between network segments, etc. Simply put, Windows 2008 R2 really, really doesn't like having its firewall service stopped. One of the issues you'll run in to is not being able to share the printer.

The simple solution is start the Windows Firewall service, share the printer - and if you have to - stop the service again.

A better solution than disabling the service is to turn off the firewall part of Windows Firewall with Advanced Security as described in this Technet article.

The basic steps are as follows

 To disable the firewall portion of Windows Firewall with Advanced Security from a command prompt

  1. Open an Administrator: Command Prompt. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

  3. At the command prompt, type the following command:

    netsh advfirewall set profiles state off

    where profiles is AllProfiles, CurrentProfile, DomainProfile, PrivateProfile, or PublicProfile.

To disable the firewall portion of Windows Firewall with Advanced Security by using the Windows Firewall Control Panel program

  1. Click Start, click Control Panel, click Network and Internet, and then under Windows Firewall, click Turn Windows Firewall on or off.

  2. On the General tab of the Windows Firewall Settings dialog box, select Off (not recommended), and then click OK.

To disable the firewall portion of Windows Firewall with Advanced Security by using the Windows Firewall with Advanced Security MMC snap-in

  1. Click Start, click All Programs, click Administrative Tools, and then click Windows Firewall with Advanced Security.

  2. In the navigation pane, right-click Windows Firewall with Advanced Security on Local Computer, and then click Properties.

  3. On each of the Domain Profile, Private Profile, and Public Profile tabs, change the Firewall state option to Off (not recommended).

  4. Click OK to save your changes.

Where did the /console switch for the RDP client in Vista SP1 go?

What a great way to waste a lot of time when you're in a hurry. After having installed Vista on my newly rebuilt PC after christmas, I was setting up my rdp shortcuts to my Windows 2003 Server in the quick launch bar as usual, and I ran into a problem. It turns out I couldn't connect to the console session of the server, even if the shortcut used to launch the rdp file included the /console switch

mstc myrdpfile.rdp /console

After a bit of digging, and some help from Gerryn on IRCNet, it turns out that the reason was that /console had been removed from the RDP client, and this change was not in Vista, but in Vista SP1 (I had installed SP1 RC refresh immediately after installing Vista due to Vistas completely unacceptable performance without it).

Armed with this extra bit of knowledge I found a post by Nick MacKechnie describing the change and explaining that this had been replaced by the /admin switch which is better suited for the new features of Windows 2008.

Unfortunately the description in the switch listing for mstsc.exe could be clearer:

Adobe will soon ship CS3 - Wonder if they fixed the upgrade installers?

Unless you've been hiding under a rock the last few days, or don't really care at all, you'll know that Adobe has announced the CS3 edition of products and will be shipping (most) editions soon. Set aside all the fancy new stuff (and there is some GREAT new stuff in there almost regardless which products you use), one of the things I'm most anxiously waiting to see is if they *finally* fixed their bloody installers when it comes to the upgrade products.

Back from .dk

Yesterday I came back from a two day meeting/workshop/discussion at our Copenhagen office. There was a representative from a consultancy company giving a presentation on the features of SMS 2003, and in between (much to his frustration, I think) we got some good discussions going. While I must admit that it doesn't look nearly as polished and advanced as I expected, I think it has great potential, and it's certainly more flexible in both structure and implementation possibilities than some other solutions I've seen. It was an intense two days, and when I finally got home around 22:30 on friday, I barely got my clothes off before I fell asleep :)