General Category > General Discussion

Problem with UAC in Windows 7

(1/4) > >>

Scorpio47:
Buon giorno, Umberto:

I have enmcountered a new poblem on my Windows 7 Ultimate PC with FSX and LSZH, KJFK and KLAX installed and working just fine, as long as I start FSX as administrator.

However, I have now installed the addon from Robert Cezar "Its Your Plane". Should you not know it, it is a flight assistant working with speech recognition and it requires the User Access Control setting to be OFF in order to work.

I now have a conflict between this setting necessary for IYP and the requirement to start FSX as administrator, because with the UAC set to OFF I do not get the window any longer where I have to input the admin password and so FSX starts without that and the buildings in the FSDT sceneries are gone again.

Would you know of a way to get both to run? That would mean a setting where UAC is OFF but I still get prompted for the admin password when starting FSX?

Thank you for your help!
Ciao
Juergen

P.S.
I have found out that all runs fine if I log in to my administrator account. UAC is still OFF, but both programs run flawlessly.
Question: is there a way to start a particular program, i.e. FSX, as administrator from a normal user account with the UAC st to OFF? I have not found anything on that so far....

virtuali:
You should first ask to the developer of that addon, why it requires UAC to be off.

The most likely case, is that product is trying to write something in the FSX folder, which is usually under C:\Program Files (x86), which is a folder that even programs launched by Admin user can't normally write, unless you run them As Administrator, which is not possible with a limited account user with UAC off.

A proper Vista/Win7 product should never write into the folder were the main program (FSX or its own folder) is installed but, instead, use the correct roaming folder, usually under %APPDATA%, which is what FSX itself does and which is what we do too, since we only write under %APPDATA%\Virtuali in case we need to write something.

So, the "requires UAC off" maybe it's just an issue of permissions.

This might be fixed in these two ways:

- Reinstall FSX in a folder *you* created, for example C:\FSX. This is STRONGLY suggested, you'll never have any issues with non-Vista/Win7 aware products ever, if you follow this rule.

- If you don't want to reinstall FSX, you can add your user name to the permission list on the FSX folder:

Go to the FSX root folder, which should be C:\Program Files (x86)\Microsoft\Microsoft Games, right click on the "Flight Simulator X" folder, select "Properties" -> "Security" tab -> Edit -> Add... -> type your Windows username -> OK -> select Allow checkbox for Full control -> OK or Apply.

Scorpio47:
Grazie mille, Umberto:

I have followed your suggestion with respect to permissions for my FSX directory, but it was already there and with full access rights. I have also tried various settings in the local policies settings with secpol.msc to disable and enable the prompts, but it seems that the UAC setting overwrites all of this, as the only setting that makes a difference is the UAC setting.

I could live with the UAC disabled, but the problem is then, that FSX is started without inputting the administrator password and that means that the buildings will not be shown at the various airports and they do not show up in the add-on menu of FSX.

If there is a way to start FSX as administrator with UAC set to OFF, this might be the solution.

If all else fails I might have to re-install FSX in a non-standard directory as you suggested and hope for the best. But you will understand that this radical solution is not at the top of my priority list ;)

Thank you for your patience and support,
Have a great day
Juergen

virtuali:

--- Quote from: Scorpio47 on October 06, 2011, 10:46:50 am ---I have followed your suggestion with respect to permissions for my FSX directory, but it was already there and with full access rights. I have also tried various settings in the local policies settings with secpol.msc to disable and enable the prompts, but it seems that the UAC setting overwrites all of this, as the only setting that makes a difference is the UAC setting.
--- End quote ---

Maybe you have not fully understood my reply: the whole point of changing the permission settings to your FSX folder, was to enable you turn UAC back ON!

It's likely that, with the FSX folder permissions set to include your username in its folder (and, be sure permissions are set recursively to FSX folder AND its subfolders too), that addon that requires UAC off, might work as well with UAC on.


--- Quote ---If all else fails I might have to re-install FSX in a non-standard directory
--- End quote ---

This won't change anything: installing FSX in a folder you create, is exactly the same as correctly set permissions to the FSX folder to include your own user name. Provided you set the permissions to "Full control" and you applied them to the FSX root folder AND its subfolders too.

Scorpio47:
It is very possible that I have not fully understood your reply. My FSX directory with all subdirs has full rights for all users, the admin account and my normal user account are listed as well and have full rights.
Nevertheless, it seems that these settings do NOT overwrite the general UAC settings or modify them, because the only setting that makes a difference is the UAC setting.
If this is disabled, IYP runs without any problem, but I cannot start FSX as administrator and therefore do not get the buildings in my sceneries to work.
If I set this to any other setting, I am prompted for the admin password to start FSX and get the buildings to show up, but the IYP program runs into an error when it tries to start and connect to the speech recognition engine.

That is why the developer of IYP now thinks it might be a localization problem, as the only other user of his program who has this problem is someone from Europe like me. The Americans do not have the problem at all.....

Perhaps this will give you some idea on where to look further..

Thank you and have a great weekend!
Ciao
Juergen

Navigation

[0] Message Index

[#] Next page

Go to full version