Making all other blogs seem exciting!
RSS icon Home icon
  • Evicting a broken cluster node via command line.

    Posted on August 6th, 2009 ashinn No comments

    Like I’ve said before, I mostly have this blog for me. I often forget how to do stuff due to getting old.

    Ran into a situation where a Microsoft Cluster node ate itself, and I wasn’t able to evict it with the GUI Cluster Administrator. This second proceedure at this link fixed it up: http://support.microsoft.com/kb/282227

    If you cannot start the Cluster service, or if you have trouble removing the node, you can manually unconfigure the Cluster service:

    1. Run the Cmd.exe program to open a command prompt.
    2. At the command prompt, type cluster node nodename /forcecleanup, and then press ENTER.
  • Getting show desktop back into your quick launch.

    Posted on May 12th, 2009 ashinn No comments

    I’m not sure why, but for whatever reason the Show Desktop shortcut disappeared from my quick launch menu. You’d think this would be really easy to get back, but either I’m stupid or it isn’t that easy. I’m sure there’s some more elegant way to do this, but I never claimed to be an expert. Whatever the case, not having this shortcut really bugs me … too lazy for keyboard shortcuts šŸ˜Ž

    Anyway, here’s how I got mine back.

    Start -> Run -> notepad

    Paste in the following and save it as Desktop.scf:

    [Shell]
    Command=2
    IconFile=explorer.exe,3
    [Taskbar]
    Command=ToggleDesktop

    Copy / paste this file into: C:Documents and Settingsyour_user_hereApplication DataMicrosoftInternet ExplorerQuick Launch

    Then right click on the task bar and disable/enable Quick Launch to force a re-read.

    Till next time…

  • Lockdown Firefox updates on Microsoft Terminal Server

    Posted on March 2nd, 2009 ashinn No comments

    I had an interesting dilemma today.

    Due to the way some of our internal applications and certain brands of network gear function, our NOC requires Mozilla Firefox on the terminal servers. Over the weekend an update mustā€™ve come out for Firefox, and a user clicked OK.

    The update crapped out halfway through since they didnā€™t have administrative rights. Firefox doesnā€™t appear to roll back in this situation, leaving you with a broken install. So broken that you canā€™t even uninstall it without getting the dreaded: ā€œYour computer must be restarted to complete a previous upgrade of Firefox. Do you want to reboot now?ā€ which is also what it says when a user tries to open it.

    Sure would be nice if the developers of Firefox threw in a privileges sanity check.

    We need a two phased approach to fix this fiasco.

    Fix #1: Get rid of that obnoxious error.

    Lucky for me, a co-worker of mine has ran into this before and has the fix documented on his blog here:

    http://blog.acrile.com/2008/12/your-computer-must-be-restarted-to.html

    Long story short: delete the *.moz-upgrade and *.moz-delete files from Firefox folder. Now that the error is gone, I went ahead and uninstalled/reinstalled Firefox just to make sure nothing dirty was left behind.

    Fix #2: Disable the auto-update feature in Firefox.

    I accomplished this by first creating a file called mozilla.cfg in the C:Program FilesMozilla Firefox directory with the following contents:

    // Disable Auto Updates
    lockPref(ā€app.update.enabledā€, false);
    lockPref(ā€extensions.update.enabledā€, false);

    Those instruct Firefox to disable the auto update for the browser itself AND any add-in extensions.

    Also you must edit C:Program FilesMozilla Firefoxgreprefs edit the file all.js and add this to the bottom:

    // Process mozilla.cfg in FireFox root directory.
    pref(ā€general.config.obscure_valueā€, 0);
    pref(ā€general.config.filenameā€, ā€œmozilla.cfgā€);

    Without that last piece, Firefox wonā€™t process the mozilla.cfg you created.

    No reboot needed, and hopefully youā€™ll never run into this again.

    Later on I found a nice website that lists many other features an administrator might want to enforce in a terminal server environment. Check them out here:

    http://www.pcc-services.com/kixtart/firefox-lockdown.html

    Till next timeā€¦

  • Adobe Flash Player on Microsoft Terminal Server

    Posted on February 19th, 2009 ashinn No comments

    Adobe Flash can be a systems administratorā€™s nemesis on a Microsoft Terminal Server.

    After installing the Adobe Flash ActiveX widget, you might notice that non-administrative users arenā€™t able to browse sites utilizing flash. Theyā€™ll be presented with a rather ambiguous message.

    The error: ā€œHello, you either have JavaScript turned off or an old version of Adobeā€™s Flash Player. Get the latest Flash player. ā€

    I must admit that I do like polite error messages, butbutbutbutbut I already have the latest Flash Player!

    This only happens in IE, Firefox is just fine. Iā€™d tell my users to just browse in Firefox, but of course we have some applications (IE: SharePoint, CRM and others) where IE is pretty much required.

    So, whatā€™s the fix?

    Open regedit and find these two keys:

    HKEY_CLASSES_ROOT\TypeLib\{D27CDB6B-AE6D-11CF-96B8-444553540000}
    HKEY_CLASSES_ROOT\CLSID\{D27CDB6B-AE6D-11CF-96B8-444553540000}

    Right click -> Permissions -> Click Everyone -> Check the ā€œReadā€ box -> No reboot needed. Now, with any luck, your users can get Flash goodness. I tend to test the fix out by going to YouTube and rewarding myself with a video.

    Till next timeā€¦