Posts Mentioning RSS Toggle Comment Threads | Keyboard Shortcuts

  • Dave 8:16 am on July 10, 2009 Permalink | Log in to leave a Comment
    Tags: , bginfo, config, configuration, , framework, information, management, script,   

    Using BgInfo to show server information on the desktop 

    bginfo in action

    If you’ve not seen BgInfo before, here’s the description from the Sysinternals site -

    How many times have you walked up to a system in your office and needed to click through several diagnostic windows to remind yourself of important aspects of its configuration, such as its name, IP address, or operating system version If you manage multiple computers you probably need BGInfo. It automatically displays relevant information about a Windows computer on the desktop’s background, such as the computer name, IP address, service pack version, and more. You can edit any field as well as the font and background colors, and can place it in your startup folder so that it runs every boot, or even configure it to display as the background for the logon screen.

    I’ve cut back the config to show just the info I need, and also added a script to output the installed .NET frameworks. It’s designed with our Windows 2003 and 2008 web servers in mind. Here’s my config…

    bginfo.zip (384KB)

    Just extract the zip to C:\Program Files\BgInfo. Update.bat can be added to the All Users start-up group so every time a user logs in, BgInfo will update the desktop.

     
  • Dave 1:23 pm on August 12, 2008 Permalink | Log in to leave a Comment
    Tags: , alert, c#, check, codeplex, disk, drive, , , meerkat, monitor, , opensource, server, service, space,   

    Meerkat – Disk Space Monitor 

    I just added my first open source project – Meerkat – to CodePlex. Meerkat is a tiny little app which keeps an eye on how much free disk space you’ve got, and sends you an email when it’s running low. I created it because I didn’t want to pay for something so simple, but needed something to keep an eye on Kensei’s servers.

    (Requires Windows Server 2000/2003/2008 or Windows XP/Vista)

    Source code includes the C# .NET Windows service, the GUI front-end, and a setup and deployment package for fast deployment.

    Meerkat in the Codeplex

     
  • Dave 10:41 am on April 4, 2008 Permalink | Log in to leave a Comment  

    Things I wish Microsoft would fix in Vista 

    I’m running Vista SP1 – a little bit earlier than most I expect, but I need some of the fixes in SP1 to make the source control in Visual Studio – Team Server work properly. When I first installed Vista, I Google’d endlessly to find answers to the issues I was running into and posted a lot of solutions in my old blog – but these days it’s just a waste of my time. I need a computer that works. Going back to XP isn’t viable. Vista is a huge joke as far as I, and the majority of the I.T. community, are concerned. From what I’ve seen of SP1 so far, Vista still has a long way to go before being reliable.

    1. UAC – go back, think about it some more, make something better.
    2. Volume Shadow Copy – even in a clean install lots of people are seeing errors in their event log. Still not a patch on the Mac OS X Time Machine.
    3. Secure Socket Tunneling Protocol Service (SstpSvc) – doesn’t start. I’ve not done anything to it, or its dependencies, but it burps up this message when I try and start it: “Error 2: The system cannot find the file specified.” – and yes, the DLL is present in system32.
    4. Event Viewer (MMC) – open any event log, press CTRL+F to search for text, once you’ve found the text close the Find dialog. Press F3 a few times in rapid succession (to repeat the search) and watch Event Viewer die.
    5. Power Management – still does screwy things. Yes, even after numerous driver updates from Sony. Hibernate/sleep only makes things worse.
    6. Startup/Shutdown speed – startup in just 6 seconds, that’s what Bill G promised. On average our Dual Core machines take 30 seconds. But why do they take 2-3 minutes to shutdown?
    7. Crazy screen flickerama when Vista starts or shows the login/locked workstation screens. Once in a blue moon you get smooth transitions. I’m using one of the newer and most popular NVidia graphics cards, so this shouldn’t be an issue.
    8. User switching – login to Windows as admin, switch to a limited user, watch as the limited account grinds to a halt.
    9. Network and Sharing Center – a genius idea, shame it’s a pile of steaming dog shit. The layout is confusing, the terminology is bollocks and you’ve turned the XP 3-clicks-to-reset-an-adapter route into about 10 clicks and 2 dialog windows. Either take a leaf out of Apple’s book and steal the Settings panel property, or give me a Network Connections shortcut in the start bar again.
    10. Expand Control Panel as a menu – if you’ve set your Control Panel to expand as a menu from the Start bar, you’ll probably have noticed that the popout menu is too tall for the screen and scrolls. WHY?! Couldn’t it expand into several columns?
    11. IE7 user inteface – oh, right, it’s a clever new redesign that breaks the mould. Ever heard the story about the Emperors new clothes? Now that IE8 passes the Acid 2 test, maybe they could fix the UI so it passes the Doesn’t-Look-Like-Roadkill test.
    12. Empty “Programs” folder appearing randomly on my desktop. Why? I know not. Just make it stop. Tinkering with the paths in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders does not help. Hmm, seems to occur after running MMC.
    13. Default system font is “Segoe UI” – why isn’t it used throughout the UI? http://chris.pirillo.com/2006/09/26/fix-windows-vistas-fonts/
    14. Put “Text document” back into the right-click New popup menu. Reg fix here.
    15. No SMTP server – that’s right, those smart kids at Redmond decided not to include an SMTP server in Vista, not even in the Ultimate edition. As a developer it’s important, so now I’m using some crappy freeware SMTP server instead. Very poor. Info and freeware SMTP Server downloads.
    16. Vista Ultimate Extras – these were the cool things Microsoft promised if you forked out top wack for the premium edition of Vista. They’ve yet to materialise. Microsoft, you’ve robbed a lot of people. Again. More info.

    Ah, rant over, I can feel better until tomorrow when undoutedly I’ll find another bug. Counting down the days to I switch to a Mac…

     
  • Dave 10:54 am on June 16, 2007 Permalink | Log in to leave a Comment  

    Using Windows Vista in a production environment 

    Yep, it’s true, I’ve switched from Windows XP to Windows Vista Ultimate. Since I use my computer for real-world applications like designing websites, building programs, and managing my day-to-day business communications, I thought I’d write-up what was involved in upgrading and how Vista’s treating me 1 month in.

    Upgrade from XP

    I chose the clean install route and I’d definitely recommend it. Windows XP has tons of junk in it’s registry and it’s always going to be best starting clean. I backed all my files up onto my external Maxtor OneTouch II drive (which incidently, Vista reports problems with when you plug it in for the first time – but, actually works fine! “aroo?”) , reformatted the my laptop’s hard disk and Vista installed fine. I did purchase a 1gb RAM upgrade for my laptop (Crucial were £100 cheaper than the cheapest listing on Froogle) which takes it up to 2gb RAM in total – and I’m glad I did because Vista uses all available RAM to boost application performance.

    There’s been lots of reports about hardware and software incompatibility issues with Vista, leading to blue screen of death (BSOD) for many users. Yep, there’s a lot of that out there, and I think your upgrade experience is going to be very hit and miss depending on whether or not your hardware manufacturer has written a good set of Vista drivers. For example, my Dad bought a brand-new Vista-preinstalled Acer laptop. All worked fine until I tried to upgrade it to Vista Ultimate – turns out the default RAID controller isn’t compatible and it blue screened on boot. Fortunately in that scenario I was able to fallback to the previous configuration, so Microsoft sort-of wins a point back for that. But you hear what I’m saying – I was lucky because Sony has done a reasonable job of providing new Vista drivers for my Vaio VGN-SZ2VP.

    One last thing to note, my laptop has an Intel PRO Wireless 3945ABG network adapter as part of it’s Centrino configuration. Last night Wechel told me that the Intel drivers for Vista for this adapter are buggy as hell and did nasty things to his PC. Best thing to do is use the Windows Vista default WiFi driver for this adapter – it works fine.

    1 month in

    There’s lots in Vista to like – the user interface (UI) does make WinXP looks so 2001. The network browsing works like it should’ve back in 1995 (no more Explorer locking up when browsing a workgroup! hooray!) The redesigned Start menu is a godsend for those of us who have lots of applications installed. Performance-wise it runs well. Sometimes the hard disk light goes crazy and you can tell it’s doing something under the hood, but application performance doesn’t drop off like it would in WinXP. In that sense, you need to start thinking differently about the HD light meaning your computer is doing something and when you see RAM usage at 95% don’t panic – it’s just Vista making the most of your resources (why have 2gb RAM if you only ever use 1.5gb?)

    But, there’s still lots of mess. The network connections windows are confusing and I often find myself going round in circles to achieve something as simple as disabling a network adapter. There’s a couple of blatant bugs in Explorer, a few too many this-that-or-the-other program has stopped responding errors when browsing media files (I guess the thumbnailer/properties retriever program is falling over with some codec). Oh yes, and of course – User. Access. Control. Affectionately known as UAC. This puppy lasted 10 minutes before I found a fix to stop it nagging me every five minutes. Don’t get me wrong, UAC is great because it prevents nasty programs doing naughty things, but does it have to dim my screen before giving me a system modal window? Anyways, Vista was easier to live with when I turned it down a notch. There’s still a lot of hand-holding prompts which I’m sure my Mum would love, but as a power-user it’s a sigh away from annoying.

    Getting on with the day-to-day

    As most of you know, I’m a developer and designer. My core applications include, but aren’t limited to:

    Microsoft Office 2007 is designed for Vista, works great and integrates well with the Vista built-in indexing mechanisms, nothing to fault there. uTorrent and eMule have both had recent refreshes with Vista fixes and work fine.

    VS2003 is unsupported by Vista – I’ve not tried to run it, I’ve read plenty about trying to, and I like having a full head of hair so I’ve no intention of trying to make it work. Instead, when I need it, I’ll fire it up in a virtual machine (see below).

    VS2005 is sort-of supported in Vista. There’s a couple of things you need to do to make it work (start here, then this, or this), but it does work, and I’m pretty happy with it now.

    Ahh yes, Photoshop CS2. Reported not to work. It does work, but there’s a few bugs – the eyedropped doesn’t always select the right colour, sometimes PS goes a bit nuts with the disk and locks up for 10 seconds. But apart from those two things, it works ok for me…? Guess I’ll upgrade to CS3 soon anyhoo. Illustrator works fine as far as I can see.

    Adobe Flash CS3 works ok – I’ve not seen any bugs.

    Adobe Premiere Pro 2 works, but it took a bit of jiggery pokery to make it work. See here.

    Nero has been my choice of CD/DVD burning software for years and version 7 is Vista certified. Works great. Although you may want to remove the Nero Scout (Ahead: why did you make this abomination?!). Updated: some Nero users have been getting this error: “Windows Process (Rundll32) has stopped working” when browsing MPEG (movie) files – solution here.

    When things don’t work

    If you run into something that doesn’t work in Vista, there’s a couple of options. First you can right click on the program, goto Properties, then the Compatibility tab and check “Run this program in compatibility mode for:” and choose Windows XP SP 2.

    The most common thing that works is right click the program, and choose Run as Administrator. Often UAC (mentioned above) prevents certain operations that would’ve been fine under WinXP but require administrator permissions now.

    And lastly, the ultimate solution – run a virtual machine of Windows XP. (“EH? WTF is that?!”) If you don’t know, Microsoft has a free download called Microsoft Virtual PC (although it only runs on Vista Business or Vista Ultimate – read why) – it can run a virtualized version of Windows from a single hard disk image file. It’s like a PC in a PC and you can choose whether or not to keep the changes from each session so it works pretty well as a sandbox for installing trial or suspicious applications. I have a base install for Windows XP Pro SP2 which I store on my external drive so I can create more clean WinXP machines, and a version I run on my laptop which has Visual Studio 2003 installed on it. Whenever I need VS2003, I just fire up the virtual machine, and voila! Maybe some other day I’ll do a write-up about virtual machines, because they’re awesome, but not today.

    Let me know your experiences

    If you’ve just upgraded, please write-me and let me know. I’d love to hear about it and if you’ve got something useful I’ll post it here so other people can benefit from your experience.

    Update

    Since I published this article, there’s been a steady flow of Vista bugs and solutions. I’ll maintain this list in the hope that it’ll be useful for pre Service Pack 1 users…

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel