WaMMO Servers - Private Servers Community



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-27-2008, 07:00 PM
Goldie's Avatar
WaMMO Queen
 
Join Date: Aug 2007
Location: Wiltshire, England
Posts: 2,600
My Mood:
Vista and WOW

Saw this on another forum and thought it could be useful to our vista players.

Vista Users - UAC and You
If you don't want to know all the background information on WHY this is necessary, and just want to get WoW to work, then scroll down "Making It Work" below.

Are you having trouble installing addons? Are you changing files or deleting your WTF folder, but somehow magically WoW ignores the changes? If you're on Windows Vista, a new security feature called "User Account Control" is likely to blame.

About User Account Control (UAC)
Microsoft's Windows Vista is the latest generation of their Windows operating system. Along with new eye-catching features, Vista also takes a new, hard stance on security. This new stance, however, caught some programmers off-guard. As a result, these new features have caused some programs to operate slightly differently than expected, and unfortunately, World of Warcraft is one of them.

The new feature in question is called "User Account Control" or "UAC." UAC is a great feature that provides users with the security that they are not running as administrators all the time. *nix users will be familiar with this system, as the overwhelming majority of them will agree that you should not be running as root, and only give permissions to programs as necessary.

One of the restrictions imposed by this is that the Program Files folder cannot be modified without "escalated" (administrative-level) permissions. WoW (by default) does not run escalated, so it does not have access to the Program Files folder. You may, however, be aware that WoW needs to write files there! It stores all of your configurations (in the WTF folder), it stores the cache data (in the Cache folder), and it even puts some default addon keys there.

So why doesn't WoW just crash when it can't write there? Well, Microsoft was intelligent. They foresaw that older programs consistently used this folder to store configuration information, even though it has been strongly discouraged by Microsoft for years in favor of the %APPDATA% folder. So they invented this idea of "virtualization." If a program does not indicate to Vista that it is "UAC Aware" (via a "manifest"), Vista assumes that the program is not aware of the permissions restrictions. So, instead of denying access, it "fakes" write access. Anything the program tries to write or create in the Program Files folder then gets actually written to the "Virtual Store" which is located at C:\Users\[username]\AppData\Local\VirtualStore. If you go there and don't properly have WoW set up, you may even see that there is a Program Files\World of Warcraft folder there with various files that have been virtualized away.

Making It Work
So, how do we stop this? There are actually several solutions, though some are preferred over others due to simplicity.
Option 1: Install in an Unprotected Location

This option is best for people whom haven't yet installed or aren't worried about installing again and losing their settings. The idea behind it is quite simple: If you don't install in the Program Files folder, WoW won't be restricted by Vista. Many people recommend creating a C:\Games folder or something similar. Thus, your program would be installed in

C:\Games\World of Warcraft

So long as you don't use the "Windows" or "Program Files" folders, you should be OK.

You can also use another drive for World of Warcraft. If you do so, it is perfectly acceptable to create a "Program Files" folder on that drive and install it there, like the screenshot below. In such a case, Vista realizes that this is not the "real" Program Files directory, so it is not protected by UAC.
  • Option 2: Provide Administrative Permissions

    This isn't always the easiest option because it requires a bit of moving, especially if you've already played WoW for a while and your settings are currently virtualized away. It does, however, avoid the need for a new installation. Giving WoW administrative permissions provides a means for WoW to write directly to the Program Files folder, so it doesn't get virtualized anymore.

    If you right click on "WoW.exe" in your Program Files directory, you will find an option "Properties." Clicking on this will bring up the Program Properties window. Click on the "Compatibility" tab. You will see the following pane:



    Check the box next to "Run this program as an administrator."

    Next, do the same for "Launcher.exe" in the same folder. Open the "Compatibility" tab and check "Run this program as an administrator."


    However you have another problem -- all your old settings! Now that WoW has administrative permissions, it will no longer consult the Virtual Store for settings, meaning all your settings have been lost! Fortunately, we can move them back to where they need to be.

    Go to "C:\Users\[Username]\AppData\Local\VirtualStore\Program Files\World of Warcraft" and you will find all of your WTF folders, etc. Copy your WTF folder into "C:\Program Files\World of Warcraft" and your settings will be restored. If prompted, the files in your VirtualStore should overwrite the ones that may already exist in your Program Files directory. Keep in mind that if you are using a 64-bit Vista, "Program Files" will be named "Program Files (x86)."
  • Option 3: Disable UAC
    This is a last-resort option and probably should not be used, but I place it here for informational purposes anyway. UAC is a beneficial feature which protects you from malicious code being executed at an administrative level where it can do serious harm. If not given escalated permissions, most malicious code may cause a little harm, but nothing too severe (perhaps an annoyance more than anything).

    However, it is possible to turn it off if you really want to, and that will stop all of these Virtual Store and permissions problems. You will, however, be turning off one of the most crucial security features that Vista has to offer, so be absolutely sure you want to do this before you do it.

    Click on the "Start" button and then choose "Control Panel" on the right side. Find the "User Accounts" icon and double click it. This will open up the "User Accounts" control panel. At the bottom, you will see an option "Turn User Account Control On or Off." Click on this option. You will see a UAC box pop up; validate that it is from Microsoft and then accept it. (Naturally you must give administrative permissions to disable this!). Uncheck the checkbox in the window that appears, and then select OK. UAC is now disabled. You may wish to follow the instructions in option 2 above, now, to copy over your WTF folder to your WoW folder, as these settings will no longer be virtualized away.
Conclusion
UAC is a useful feature provided by Microsoft that enforces policies that have been encouraged a long time ago. Unfortunately, programs are still not up with the times, and thus these changes sometimes cause a few glitches along the way. UAC still can provide the security you desire and your programs can get along with it just fine, it just may take a little extra attention. With this attention you can be sure to have a secure user account while enjoying the world we all love.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

When my feet hit the floor in the mornings,
God and Satan both shudder & say..."Oh $h!t....she's awake!!"



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Click
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to check out the RADIO!


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Reply With Quote
  #2 (permalink)  
Old 03-27-2008, 07:10 PM
Flint's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: GM Island
Posts: 1,528
My Mood:
/me = in awe of Goldie....... stunned silence.....

That's twice you've had me lost for words now Goldie....

Thanks
__________________
Flint

“I have sinned enough against the world. Teaching magic to a kender would ensure my damnation.”—Raistlin Majere,

((Tas discussing a dagger in a goblin body)) "I don't want it back. You can never get rid of the smell, you know.'
'Besides,' he said, 'that dagger was Flint's!"


Q: What have you when you find 10 GnOmEs burried up-to their necks in sand?

A: Not enough sand

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Sleep in peace Nick
Reply With Quote
  #3 (permalink)  
Old 03-27-2008, 10:09 PM
Vulcomm's Avatar
WaMMO Player
 
Join Date: Jul 2007
Location: Louisiana, US
Posts: 132
My Mood:
Why on Earth would anyone keep User Account Control activated??? All it does is annoy the crap out of people and make it a pain to update anything....... anyways.....Good find Goldie!!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 05:05 PM
Candlejack's Avatar
WaMMO Player
 
Join Date: Apr 2008
Posts: 62
My Mood:
Ah.. something should be added to this post about enabling Compound TCP.

Having Compound TCP disabled on Vista = really high latency for me.
__________________
Mhm.. my characters.

Subtle, Warofthelock, Offslaught, Pedobear, Candlejack, Battletoads, Pyromaniac, and Epic

Last edited by Candlejack; 04-08-2008 at 05:05 PM. Reason: Because I can't type.
Reply With Quote
  #5 (permalink)  
Old 04-08-2008, 06:11 PM
Belzy's Avatar
WaMMO Player
 
Join Date: Aug 2007
Posts: 136
My Mood:
you can also do this evry game works on vista

Disabling Data Execution Prevention (DEP)

Data Execution Prevention is a security feature that can be a bit of a pain at times. Often things will simply appear not to run at all; hopefully you will notice a bubble from the taskbar letting you know that DEP is the cause. If Vista (and actually this has been around since Windows Server 2003) sees that a process is being spawned that "could" be unwanted, DEP shuts it down. This is especially common in some application installations: if a Windows Installer setup (MSI) calls an executable in Vista, DEP could very well put a stop to it. If you are trying to run an installation or other executable being stopped by DEP, it could save you some trouble so turn it off while you attempt to give it another shot…

Run a command prompt as administrator. From the start menu, select "All Programs", then "Accessories" and right-click on the "Command Prompt" shortcut and choose "Run As Administrator". From here you can use the following command to disable Data Execution Prevention (DEP) with the following command:

bcdedit.exe /set {current} nx AlwaysOff

Keeping your command prompt open, run your setup or other process being stopped by DEP. Then, to turn it back on again, do the same and run the following:

bcdedit.exe /set {current} nx AlwaysOn
__________________
[SIGPIC][/SIGPIC]



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #6 (permalink)  
Old 04-28-2008, 06:48 PM
Lovetogank's Avatar
WaMMO Player
 
Join Date: Apr 2008
Location: In goldshire :)
Posts: 147
My Mood:
I have vista yet thats not a problem for me.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Quote:
GM: Hello, how can I help you?
Lovetogank: Im being sexually attacked by a gnome hooker,
What should I do?
GM: Please Delete your WDB and relog.
5 mins later
Lovetogank: SHES BRINGING OUT A BANANA!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

GM: Please refer to the World of warcraft guide.
This may be because of out of date Add-ons.
Reply With Quote
  #7 (permalink)  
Old 04-29-2008, 11:35 PM
Druidiee's Avatar
WaMMO Player
 
Join Date: Apr 2008
Location: Australia
Posts: 28
My Mood:
Argh i have problems with vista!. i am very new too it
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #8 (permalink)  
Old 05-12-2008, 09:25 PM
curlyqu's Avatar
WaMMO Player
 
Join Date: Apr 2008
Location: Continent of Endiness
Posts: 39
My Mood:
I use Vista, not a single problem. Maybe different computers come with different default settings? xD
__________________
Me gettin mad at the computer.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.




Animated version of what I did last week.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #9 (permalink)  
Old 05-12-2008, 11:08 PM
DarthBORG's Avatar
WaMMO Player
 
Join Date: May 2008
Location: Brisbane, Australia
Posts: 23
My Mood:
Yeah, mine worked right off after sorting out the login issue, with no extra stuffing about either.
Reply With Quote
  #10 (permalink)  
Old 05-21-2008, 11:12 PM
Banned
 
Join Date: May 2008
Posts: 36
My Mood:
Quote:
Originally Posted by curlyqu View Post
I use Vista, not a single problem. Maybe different computers come with different default settings? xD
i'm pretty sure its because of different types of Vista, i have Vista Home Premium, you might have Vista basic.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:49 PM.


A vBSkinworks Design
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0