Nova Scotia Flag

SCOTIA SYSTEMS BLOG




Unable To Save Hosts File On Windows Vista Or Windows 7?

June 11th, 2010 admin

If’ you ever need to modify your Hosts file on either Windows 7 or Windows Vista, you’ll probably hit a warning that you need to be an Administrator to modify it?

Now this may seem odd as you’ve also probably already got Administrative rights on the PC?

This is a new safety measure originally introduced in Vista to stop rogue (spyware) applications from modifying hosts and redirecting traffic to other sites.

However, you can still modify the file:

Right Click on “Command Prompt” icon, and select “Run as Administrator”

cd \windows\system32\drivers\etc

notepad hosts

You should now be able to save the file without any problems.





Vista – Blank Screen After Remote Desktop Session – FIXED

February 23rd, 2010 admin

This happens fairly regularly at a client site with a mixture of XP and Vista PCs.    It’s common for users to remote from an XP machine to a Vista machine, only to find that when they return to the Vista machine, the screen is blank (black) and there’s no way to bring it back to life without switching it off and rebooting.

Believe it or not, it appears that the problem is related to smart card authentication (which isn’t even used on the site).   On the machine establishing the connection – go into the remote desktop properties, under the Local Resources tab, press the More button.   If you deselect “Smart Cards” – the problem is fixed

There is a long discussion of the problem with other possible solutions over at asp.net if the above fix doesn’t work for you.





The User Profile Service failed the logon. User profile cannot be loaded – FIXED

February 23rd, 2010 admin

I’ve seen this a couple of times now with Vista, and thankfully it’s a fairly straightforward fix:

Log on as another user with Administrative rights.

Start regedit and go to the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Here you’ll see a list of SIDs for each user profile, and you should find there are two with the same SID, however one ends with “.bak”.   You need to swap these around – essentially restoring the backup SID.

Once swapped – set both State and Refcount to 0 and then reboot. Fingers crossed, everything should be back to normal!

For a good step through of the process – take a look at this walkthrough.