Saturday, May 21, 2011

Installing VMWare Workstation in Ubuntu 11.x

Download VMware-Workstation-Full-7.1.4-385536.i386.bundle and it should install fine. If you are trying to install previous version, you might be getting error after installing that looks like this:

Directions on installing VMWARE Workstation in Ubuntu here - just change name of file to the new one: VMware-Workstation-Full-7.1.4-385536.i386.bundle


Saturday, May 14, 2011

Desktop.ini woes and Home Drives

Do a search on Desktop.ini on the internet and you should get a bebby of information. You will also read quite a bit on blogs and forums about troubles with the Desktop.ini. One of the main issues is when an admin sets up user's home drive in Active Directory then does a folder redirection for the Documents folder to point to the home drive. The result is that when you look at the root of the Share that holds the home drive, you will see that all, or most, of the folders will have the same name as My Documents. Why? You see a lot of comments about how this is a "bug" with Microsoft Windows; but in reallity is more of a "feature". If you delete the Desktop.ini file from within then do a "refresh", the folder automatically appears as you would expect with the user's user name.

OK, so you can totally skip reading the rest of this post if you want by just remembering not to redirect the My Documents folder to a share as \\server\sharename\username, instead redirect to \\server\sharename\username\Documents

Now as Paul Harvey use to say, here is the rest of the story:

To understand more about the purpose of the Desktop.ini, see the following links:

1. The Desktop.ini file does not work correctly when you create a custom default profile

2. Customizing Folders with Desktop.ini

3. Fix for Special Folders Reverting to Default Folder Icon in Windows Vista

4. Shell folders are displayed with the standard folder icon in Windows Vista

5. Home folders renames to My Documents

6. When you redirect the Documents folder on a Windows Vista-based or Windows 7-based computer to a network share, the folder name unexpectedly changes back to Documents

The setup would be this:

1. On a file server you have set up a folder called users, then shared it as users$. The intent is to have this folder hold all the user's home folders which you have configured in their account settings as: Home Drive is for example U:

2. Then using Group Policy you have deemed that you are going to re-direct the My Documents folder to the user's Home drive.

Where is the problem? The problem lies in that when a user logs in, the My Documents folder points to their Network Share, and therefore a Desktop.ini is created and put in the root of the home drive and then makes the folder appear with the name of "My Documents" instead of for example jsmith (the user's account name). This is what is deemed a problem or bug; but in reallity I believe it to be how it is intended. The Desktop.ini is used as a descriptor of System Folders such as those specal folders: Music, Pictures, Contacts, Searches, etc., so it is working like it is suppose to.

I can easily duplicate the problem as shown here. I have manually redirected the My Documents folder to a folder shared as my home drive on a server. As you can see, my home folder on the server does not show my username as the other users on my server, but instead is hows as My Documents instead of my username. If I were to delete the Desktop.ini file within, then it would revert to display with my username until the next time when I would have the redirectiont take place.

The way to solve the problem is to set up the users home folder and the folder redirection the right way in the first place.

1. On the Domain Controller you would have the account set up the way I already described above. No need to change anything there.

2. But in Group policy you would have folder redirection set up like this:

So what if you are already having the problem and really don't want to change anything, but the whole thing is really annoying? The one work aroud that I have seen work, is that if you are using a Windows 2008 server, you can set up a File Screen. Point the file screen to the Users folder, and set it to "block" the creation of Desktop.ini. Then create a batch file (or do it manually) that deletes any Desktop.ini currently in there. This will solve your problem.

One final note about this whole folder thing-Make sure you have your folder security set up correctly. If you need a refresh, follow this link.


Can't post to Blogger with IE9

If you have issues posting to Blogger with IE9, turn on Compatibility View

Roaming profiles with 32bit and 64bit Windows

I have been using roaming profiles with between my different machines: My Home PC a Windows 7 32 bit machine, my Laptop, a Windows 7 64 bit machine, and a Virtual Machine, a Windows 7 32 bit machine. All works really well except a couple of problems with shortcuts and applications:

1. Google apps. This really was bugging me because Google apps like to install in the Current user mode, and also puts settings different for 32bit vs. 64 bit - program files vs progam files(x86) - What I did was copy the folder in the 64 bit folder also to the x86 - that seem to fix it ( I know it was stupid fix, but it works)

2. Dropbox - this is a little more frustrating, but Dropbox also sets up in the current user mode so I have to set the dropbox folder to a common location like the root of c: and then relink each dropbox session.

I will keep this entry updated as I find problems.


Thursday, May 12, 2011

Running CCleaner Automatically with Windows UAC turned on

Any security that Windows gives me, I welcome even if sometimes it is annoying. Users are constantly annoyed by anything that is designed for security, and I am no different. The one difference is that I know I rather have a secure system at the cost of a little annoyance.

Recently, I wanted to run CCleaner automatically every time I started my computer and logged in. Even though I have admin rights on my computer, I run with UAC turned on to a level that any application that is going to make a change has to go through the UAC and I have to click OK.

The problem was that every time I ran CCleaner with the "run at start up" setting, it would stop and I would have to give my blessings - OK, not a biggie; but like I said above, we get a little annoyed at having to do things like that and soon I got tired of it.

Instead of turning of UAC, what I did was set it in such a way that it still runs automatically out of my sight at start up and I don't get prompted, but still retain the UAC settings that give me a little added protection from rouge software.

Here are the steps you have to take:

1. Configure CCleaner the way you want it to run and make sure you save your settings to the ini file (Not a tutorial on CCleaner here :) )
2. Do not set it to run at start-up in the program itself.
3. Create a Scheduled Event with the following settings. See Screen Shots:

The Key here is to set it to run with highest privaleges.

Select the Edit tag in this Screen to Edit the Trigger.

Make sure you run it at startup, and set a delay-I like 3 minutes

For CCleaner, make sure you have the /Auto Switch in the run command.

I assume that this is might be a good solution for similar problems.


Thursday, May 5, 2011

Internet Explorer 9

I have installed Internet Explorer 9 now on almost all the machines I use and have been very satisfied with it. But stop, think: why?

Let me go back a few weeks in the story. As I was vacationing in one of our southern states, I met up with an individual who's career is helping others with their investments - A finance guy. In speaking with him about investments, I asked him: Why is Microsoft Stock stuck in the mid $20's? I mean, they are rich in cash, they have a pretty good cash flow, they have new products that seem pretty solid, and the Vista fiasco has gone the way of ME, AND, Companies are refreshing their technology. They should be booming! He had one simple answer: They are not innovative? Not like Apple, or Google who seem to come up with new exiting things. And what does that have to do with IE 9? What does that have to do with me thinking it is a good browser?

Innovation: Microsoft's new browser has nothing really that new. They borrowed from the successes of Firefox and Chrome. All the features, all the sleekness, and performance where there in the other browsers. They did not really innovate anything new. OK? At another event I was talking to another tech. He said something also that stuck with me: IE9 is Chrome that works. Why did he say that? Because in the past even if some of us just hated IE, we had to keep it around for all those web sites who basically code to IE, and all the Active X stuff out there.

So while I am pleased with IE 9, I know that it was nothing brilliant on MS part.

Anyway, that is my take. If you have a different point of view, please feel free to leave me a comment.



Wednesday, May 4, 2011

Installing Google Chrome for All Users on one Windows PC

If you install Google Chrome, you may or may have not noticed that it installs in the Current User Profile, not for All Users. This may not be an issue if you are the only person using the Windows PC, but if there are multiple people, it is better to install it once for all. Google I believe has a Windows Installer for that purpose, but it might only be for business customers, or I have not found it.

Here is a way to installs it in the All Users Context (This is in Vista or Windows 7). I have not tried in XP.

Go to Google Pack and download the pack. Now two things:

1. If you have Chrome installed already, it will not do it, so you have to uninstall it or get it with a PC that does not have it installed.

2. You are probably going to install an older version than what you have. It seems like Google does not have the latest as part of the Pack. Not to worry, you can upgrade afterwards and it will still carry over to all users.

One more thing: You do not have to download any of the other apps, so you can just un-check them. See screen shot Oops, in there you will see Google Earth, but that is just a mistake on my part :)

3. Go ahead and download it, then install it on PC as you normally would.

4. When you are done, click on the little wrench on the top right, and select About Chrome - You will see it will automatically updated itself. See screen shots:

The original version is 8.0.555.224

Restart Chrome

After restarting, you can see the version has changed now to 11.0.696.0

Afterwards, log into the PC as a different user, go to Programs, then Google Chrome. You will see an Icon there. Once you click on it, it will start with the latest version. It will also create the shortcut on the Desktop for you.

One more thing. If you are using Google Apps (Mail, Calendar), you will not be able to use them until you have Chrome installed again. Also, I saw an error when opening my Google Mail telling me it was created with a different version, but I just follow the prompt and it all worked OK.