<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Windows 7</title>
        <link>http://blippy.net/blog/category/5.aspx</link>
        <description>Windows 7</description>
        <language>en-US</language>
        <copyright>Miguel Garrido</copyright>
        <generator>Subtext Version 2.1.2.2</generator>
        <item>
            <title>Saved Windows Credentials on Windows 7 Home Premium</title>
            <link>http://blippy.net/blog/archive/2010/01/30/saved-windows-credentials-on-windows-7-home-premium.aspx</link>
            <description>  
The problem
I have a few Windows 7 Home Premium machines at home which I network together. I don’t use HomeGroups yet, and may not in the near future but I do keep some resources on the network that each machine has to access. Windows 7 Home Premium (and lower) does not remember credentials for other Windows machines (if you click the “Remember this password” checkbox in many authentication dialogs, Windows will not remember them and re-use them on next logon) so this becomes a problem when you are using service accounts to access shared media across machines (I don’t have an Active Directory domain at home). 
The workaround/solution
My old solution was to create a service account on the machines needing to access the shared resources and hide the service account from view on each machine.
My new solution is to use the Windows Credentials Manager (in the Start Menu, search for “Manage Windows Credentials”). This will bring you to the Operating System’s Credential Manager, where you can Add a Windows credential. From this window, type in the server name and local username and password that authenticates on that server (like your service account) and click on OK.
Windows will now use those credentials whenever it tries to authenticate against that machine. 
All you need to do now is to remember to change the password here whenever you change it on your servers for your service accounts.&lt;img src="http://blippy.net/blog/aggbug/19.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Miguel Garrido</dc:creator>
            <guid>http://blippy.net/blog/archive/2010/01/30/saved-windows-credentials-on-windows-7-home-premium.aspx</guid>
            <pubDate>Sat, 30 Jan 2010 17:04:02 GMT</pubDate>
            <wfw:comment>http://blippy.net/blog/comments/19.aspx</wfw:comment>
            <comments>http://blippy.net/blog/archive/2010/01/30/saved-windows-credentials-on-windows-7-home-premium.aspx#feedback</comments>
            <wfw:commentRss>http://blippy.net/blog/comments/commentRss/19.aspx</wfw:commentRss>
            <trackback:ping>http://blippy.net/blog/services/trackbacks/19.aspx</trackback:ping>
        </item>
        <item>
            <title>Know about WinRM (Remote Management) and WinRS (Remote Shell)</title>
            <link>http://blippy.net/blog/archive/2010/01/19/know-about-winrm-remote-management-and-winrs-remote-shell.aspx</link>
            <description>   I just recently migrated my data to another machine (to use as a file server) since it has a Sans Digital NAS attached to it. Normally working with files across the network (I now map a shared drive to the share on the server) is perfectly acceptable – however, there are some operations better left on the remote machine, for instance: extracting or compressing [rar/zip] archives.  Ideally, I’d prefer to have a solution where I can (in this case) right click on an item on my machine and run a command on the remote machine, and with WinRS and some programming I may get it done eventually, but in the meantime as a quick and dirty solution I set up WinRM on both machines and I currently start a command prompt instance using WinRS and I can use the command line rar.exe or 7za.exe for dealing with archives on the remote machine.  TechNet has more information on WinRM and WinRS, for brevity I am just going to outline what I had to do to get my current solution working:  First, from an administrative [read: elevated, if applicable] command prompt execute: winrm quickconfig on both machines, answering each prompt with yes.  If the machines are domain joined then they already trust each other thanks to Kerberos, however if the machines are part of a workgroup you need to tell each machine to trust the other by executing: winrm set winrm/config/client @{TrustedHosts=”%remotecomputername%”}. (Note: replace %remotecomputername% with the hostname of the remote computer.)  Now you should have all that is needed to either remotely manage each machine from the other using winrm (e.g. starting or stopping a service, or querying information using WMI) or run commands on the remote machine using winrs. My particular usage is: winrs –r:%remotecomputername% cmd.exe. This command will start a remote command prompt instance that I can then use to navigate directories on the server and run command line utilities like 7za.exe or netsh, ipconfig, etc.  If you prefer PowerShell, there is one more step that needs to be taken from within an elevated PowerShell command prompt, on the machine that you want to remotely connect to execute: Enable-PSRemoting. This will enable the PowerShell listener and PowerShell should then accept connections from remote PowerShell instances. To connect to the remote PowerShell session execute: Enter-PSSession %remotecomputername%.  Again, I did not go into any detail on this because 1) I am not an authority and I didn’t look further than this, and 2) there is plenty of information on the web and TechNet regarding this topic.  I will probably post an update to this post if/when I ever decide and have enough time to write some code that will allow me to execute canned commands on a remote machine (mainly targeted at extracting archives on the remote machine right now).  Enjoy reading up on WinRM/WinRS.&lt;img src="http://blippy.net/blog/aggbug/17.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Miguel Garrido</dc:creator>
            <guid>http://blippy.net/blog/archive/2010/01/19/know-about-winrm-remote-management-and-winrs-remote-shell.aspx</guid>
            <pubDate>Wed, 20 Jan 2010 01:05:14 GMT</pubDate>
            <wfw:comment>http://blippy.net/blog/comments/17.aspx</wfw:comment>
            <comments>http://blippy.net/blog/archive/2010/01/19/know-about-winrm-remote-management-and-winrs-remote-shell.aspx#feedback</comments>
            <wfw:commentRss>http://blippy.net/blog/comments/commentRss/17.aspx</wfw:commentRss>
            <trackback:ping>http://blippy.net/blog/services/trackbacks/17.aspx</trackback:ping>
        </item>
        <item>
            <title>Public Service Announcement: Make sure your backups are up to date</title>
            <link>http://blippy.net/blog/archive/2010/01/02/public-service-announcement-make-sure-your-backups-are-up-to.aspx</link>
            <description>I am sure this has happened to more people than would care to admit it: Your clients’ (or your employer’s) backups are running smooth and you correct any hiccup right away but you are lazy about your own backups. So I start my (somewhat shameful) and hopefully eye opening post.  A few days ago I saw a Windows Delay Write Failed notification in my taskbar. I think most of us know it, this notification usually means a write operation failed, and if your [external] hard drive is plugged in, on, and should be working fine, you start to suspect that maybe the drive is failing or was somehow unplugged before data in the write queue was flushed. But I digress, the notification came up, I then proceeded to access the logical volume in question (which consists of a LaCie Big Disk spanning two 500GB disks on a RAID 0) and was able to access some of the files just fine. I then attempted to run a chkdsk on the drive but I was met with an error stating that the type of the file system was “RAW” and thus chkdsk was unable to scan it. This my friends, is when I started to panic.  Normally, I wouldn’t be worried because I knew that I had a backup from the night before, however, recently the hard drive (also 1TB) that I use to backup my data started malfunctioning culminating in an RMA. Once I received the new drive I procrastinated mainly because I was going to purchase a Sans Digital RAID enclosure which I planned on using as a new volume for all my data (consisting of a pair of 2TB disks on a RAID 1) soon. However, I was worried because I now had no viable backup of my data and for all I knew one of the two drives on the RAID 0 array had just gone bad.   I quickly prepared the replacement 1TB drive on one of my external SATA enclosures and prepared it to copy all my data using Robocopy over my Gigabit network (this would normally take ~12 hours for a full backup) but knowing that the file system was not being read properly I decided to try my luck in power cycling the LaCie Big Disk, boy was that a mistake! The drives wouldn’t spin up again.  I proceeded to “freak out” for about five minutes, actually having to take a few minutes away from my desk in order to get past the fact that I might have just lost 600GB worth of data. Once I was able to sit back down I proceeded to go through the basic troubleshooting steps:     Take the enclosure apart (voiding the warranty, but at this point, I didn’t care about the warranty as much as my data)    Re-seat the SATA power and data cables    Disconnect each drive individually and see if the other would spin up   Everything I tried failed, things were looking grim.  Having another SATA enclosure on hand, I removed one of the SATA drives from the LaCie enclosure and installed it in my other enclosure, this time the drive spun up! I quickly confirmed the second drive spun up as well using the same method. By now at least I was sure that the drives were spinning so I started to feel some of the weight off my shoulders. My next step was to find out how to recover data from a broken LaCie RAID. Searching Google found a few noteworthy results and at least I was on my way to a real solution. While searching I heard about a few tools, R-Studio and iRecover being two of them, I would try them as soon as I had corrected my backup situation.   I also found the likely culprit for the problem: one of the blog posts I found online while searching stated that their problem was sourcing from the power adapter that the LaCie drive uses. The writer wrote that there was a ‘hissing’ noise emanating from the power adapter noticeable when your ear was placed on the adapter – I was able to reproduce this noise and confirmed that none of my other power bricks (albeit, different power bricks) were producing this sound when my ear was placed on them. The fix could have easily been to purchase a replacement power adapter, but this is the second Big Disk failure I’ve experienced so I will not be giving any more of my business to LaCie.  I spent the next 20 hours or so using WinImage 8.1 to create VHD images of each drive, the process would have been faster but I didn’t have enough space on the computer where I was making the image so I had to create the image and save to a network location (which I can only assume slowed the process down a little, though when I think about it maybe not so much as the USB bus since my Gigabit network should outperform the USB bus being used to read from the drive). Anyhow, after both VHD images were created I now felt that I had a viable backup of my drives and data. I put the two 500GB drives in a safe place and got to work on finding some tools that could “de-stripe” my array. Thanks to Windows 7’s built-in ability to Attach VHD files as local disks, I was able to perform all my tests on “Read Only” copies of the disks as if they were directly attached to the system (which was awesome).  The first tool I tried was Runtime Software’s RAID Reconstructor.  This tool was unable to detect the RAID parameters that LaCie used so in the end I couldn’t use it (and it wasn’t until later that I figured out why). The default detection settings that RAID Reconstructor used were out of the range of the RAID array start sector and the array block size was not one of the default settings the software provided you with (this LaCie drive used a 256KB block size, where the largest block size that RAID Reconstructor specified by default was 128KB). The parameters to search for the RAID array are fully customizable but I was unfamiliar with RAID parameters in general and the software’s RAID detection feature was unable to find the array parameters with the settings that I provided in addition to its own recommended settings so I uninstalled the trial and moved on to the next piece of software.  The next software I installed was iRecover by DYI Data Recovery. This software was easily able to find my array and reconstruct it, however the scan time was about 30-40 minutes. I was also unable to save the scan results so I would have to reconstruct the array every time (to be fair, it seems the registered version allows scan results to be saved). Once the array was reconstructed I was able to save a large file and confirm that it was not corrupted, great news! I was now ready to purchase iRecover, which costs $90, but first I wanted to try the last option that my search yielded: R-Studio.  R-Studio offers a powerful tool set for the technician with the R-Studio Local and R-Studio Network products. You can find out more about their products on their website. I downloaded R-Studio Local and got to work, I followed the RAID Recovery Presentation which provided me with enough information about the RAID parameters that I felt like I could do more than I could previously with RAID Reconstructor and within a few minutes was looking at my data, no scanning required! I will admit it took me a few tries to get the block size correct. I had a hint about the drive order (one drive would show as unallocated space while another came up as two partitions on the R-Studio GUI) so I used the drive order that I thought was correct at first (the drive with the partitions first, then the drive with unallocated space) and varied block sizes until I found the sweet spot: 256KB.  Armed with my tool of choice: R-Studio, I proceeded to recover the data from the two 500GB drives attached to my system via a pair of USB SATA enclosures (to avoid recovering from the VHD image across the network, though honestly I think my USB bus is taking a harder beating than my network would have taken) to a third 1TB disk attached via a third USB SATA enclosure. A few hours later my data is still being recovered but this goes to show that being lazy and procrastinating can bring you a lot more work in the long run.  I still haven’t purchased the Sans Digital enclosure I want, and while I will probably do that sometime next month, as soon as the data is recovered I will be re-scheduling my old Robocopy job to run every night and mirror one drive to the other over the network.   Never a dull moment.&lt;img src="http://blippy.net/blog/aggbug/11.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Miguel Garrido</dc:creator>
            <guid>http://blippy.net/blog/archive/2010/01/02/public-service-announcement-make-sure-your-backups-are-up-to.aspx</guid>
            <pubDate>Sat, 02 Jan 2010 06:32:41 GMT</pubDate>
            <wfw:comment>http://blippy.net/blog/comments/11.aspx</wfw:comment>
            <comments>http://blippy.net/blog/archive/2010/01/02/public-service-announcement-make-sure-your-backups-are-up-to.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blippy.net/blog/comments/commentRss/11.aspx</wfw:commentRss>
            <trackback:ping>http://blippy.net/blog/services/trackbacks/11.aspx</trackback:ping>
        </item>
        <item>
            <title>A tip for working with accounts on Windows 7 Home Premium</title>
            <link>http://blippy.net/blog/archive/2009/09/06/a-tip-for-working-with-accounts-on-windows-7-home.aspx</link>
            <description>I have two HTPCs at home, one in my bedroom and one in my living room (*cough*, the living room HTPC is coming soon), as well as another notebook that my lady uses. These machines are a perfect candidate for the Windows 7 family pack that Microsoft is offering for $150, which is good news for me as far as licensing goes.
Since these machines will are simply for entertainment purposes, and web browsing, they don’t need any features other than the ones offered by Home Premium, unfortunately, the RDP host is not available for Home Premium, so I will likely end up using VNC (though I have seen that Windows 7 and VNC aren’t the best of buddies yet), LogMeIn or another remote control technology for management, but we will see, in the meantime I have my rubber keyboard and small USB mouse handy for plugging into the front USB ports on my HTPCs and using my TV as a monitor. But I digress, while the HTPCs will be auto logging into their accounts and starting up XBMC on boot, that leaves me with the third PC in the house that has a local admin account, as well as a service account granting it access to media files on my workstation. Since my workstation is domain joined, it can join a HomeGroup, it cannot serve files to a HomeGroup (for security purposes I assume), so I am stuck using a service account. This leaves me with an extra account showing up in my Welcome screen (and the welcome screen of the other machine) that I do not care to see, so I set out looking for a way to hide the service account.
The following registry hack (place usual registry editing warning here), will get the job done, and as an added bonus, I have also included the name of the user account applet for those of us that dislike the new user account control panel fluff.
Without further ado, the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
Inside this registry key, create a new DWORD value with the account name to hide, leave the DWORD with a value of 0.
Log off or reboot and voila, the account should no longer appear in the Welcome screen, but you should still be able to authenticate to the machine using this account. This is useful in scenarios where you cannot have a HomeGroup, or choose not to use a HomeGroup and would like to share resources between machines using good old fashioned service accounts without having the account name lingering in the Welcome screen.
Also, as promised, from the Run dialog, typing netplwiz will bring up the old school user accounts applet, this is very useful in the case of Windows 7 Home Premium, since there is no Local Users &amp;amp; Groups applet in “Computer Management” as in Windows 7 Professional and above.    

Give it a try!&lt;img src="http://blippy.net/blog/aggbug/3.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Miguel Garrido</dc:creator>
            <guid>http://blippy.net/blog/archive/2009/09/06/a-tip-for-working-with-accounts-on-windows-7-home.aspx</guid>
            <pubDate>Sun, 06 Sep 2009 13:00:00 GMT</pubDate>
            <wfw:comment>http://blippy.net/blog/comments/3.aspx</wfw:comment>
            <comments>http://blippy.net/blog/archive/2009/09/06/a-tip-for-working-with-accounts-on-windows-7-home.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blippy.net/blog/comments/commentRss/3.aspx</wfw:commentRss>
            <trackback:ping>http://blippy.net/blog/services/trackbacks/3.aspx</trackback:ping>
        </item>
    </channel>
</rss>