Warcraft III not running without elevated priviledges – the fix!

I recently came across the following issue:

I set up one of our machines with an Administrator account (only I had the password), and a regular user account. The idea being of course that the regular user account would be the only one used except when a program had to be installed. Since multiple people use this computer, this makes sense. Most viruses/trojans/spyware have a little trouble infecting an account that doesn’t have administrative priviledges. It’s as simple as that.

Of course, those of you who have done the same thing have undoubtedly come across programs that don’t like this. They expect to have full access to everything. Warcraft III is one of these programs, and while I myself barely play it, friends and family often do. Once Warcraft III was installed and patched (both through the Administrator account), it gave error an error message when trying to connect to Battle.net. The message was something to the effect of “Wacraft III is unable to write a file to the hard drive, yadda yadda yadda”.

The fix?

Giving credit where credit is due, I looked around and found the info at http://vlaurie.com/computers2/Articles/xprunas.htm . Basically, you’ve got to head into your Admin account, open up a command prompt, and type the following:


cd “Program Files”

cacls “Warcraft III” /e /t /p users:f

replace users with the username of the regular user account. So if the account is called “Joe“, the line would read:

cacls “Warcraft III” /e /t /p Joe:f

This should allow the Battle.net updater to write what it needs to the Warcraft III folder, and should allow you to log into Battle.net. Note that if you installed Warcraft into a different drive or directory, you’ll need to make appropriate changes to the above steps.

Note: there is also the option of using the “runas” command (google it if you want plenty of info as to how to do this). The issue using “runas” is that the person needs the Administrator password. Perfectly fine if you’re the one doing it. However, if you’d rather not disclose the password to others, the method I listed is probably a better option for you.