The computer new setup win7 ultimate 64 bit and add a network drive and create a shortcut for the desktop (create shortcut), each time you run the application right click on the shortcut and select Run as administrator new application run if double click directly If the shortcut of the application icon does not run, if you right click on the shortcut select Properties tab select "Compatibility" features running "Run this program in compatibility mode for" and "Run this program as administrator" blurred (grayed out), how to do ? For these features are not blurred ?

Dani AI

Generated

Short diagnosis and where to test first. If the app only runs when right‑click → Run as administrator but double‑click fails, common causes are: UAC/token separation for mapped drives, the EXE being on a network/UNC path (Explorer disables some Compatibility controls for network locations), the program embedding a manifest that forces elevation, or UAC being turned off which changes how Explorer shows the Compatibility controls. was right that UAC settings affect the Compatibility UI; a quick way to narrow this down is to re‑enable UAC, reboot, then test the actual EXE on the local disk (copy the EXE to C: and open its Properties → Compatibility; also click “Change settings for all users” to see if controls become editable). (superuser.com)

Why the mapped drive matters and the supported fix. Windows creates separate non‑elevated and elevated logon sessions; drives mapped in the non‑elevated session are invisible to elevated processes. That explains why a manually elevated run works (it runs elevated, but may not see the mapped letter) while a normal double‑click does not. The usual Microsoft‑supported remedies are: use UNC paths (\server\share), or set the registry flag EnableLinkedConnections=1 under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System and reboot so linked sessions share mapped letters. Editing the registry requires admin rights and a restart; back up the registry first. (learn.microsoft.com)

When Compatibility options are greyed out. The Compatibility checkbox can be non‑editable if the EXE is 64‑bit (many Compatibility settings don’t apply), or if the executable carries a manifest that declares requireAdministrator (that request cannot be overridden from the Compatibility UI), or if Group Policy hides the page. If the manifest forces elevation the vendor must change it; practical workarounds are running the EXE from a scheduled task or a launcher configured to run with highest privileges, or installing the app locally so Explorer and compatibility shims behave normally. (packtpub.com)

Practical checklist (in order): confirm the account is an Administrator; re‑enable UAC and reboot; copy the EXE to C: and check the Compatibility tab (and “Change settings for all users”); test running the EXE from a UNC path; if mapped drives are required, add EnableLinkedConnections (registry) and reboot; if saved credentials vanish, check Credential Manager/GPO that might block storing network credentials. If none of the above fixes it and the EXE embeds requireAdministrator, contact the app vendor or use a Task Scheduler elevated task as a controlled workaround. (learn.microsoft.com)

Registry example for EnableLinkedConnections (save as .reg and run as admin; backup first):

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001

(Notes: — start with the local EXE test; ’s mapping advice is valid but remember mapped letters and elevation use different tokens, which is why the registry/UNC approaches are needed.)

Recommended Answers

All 8 Replies

I can't know your Windows settings. With UAC turned off, it does grey out.

As to not running, that's for the app's author to fix.

I want UAC turned on, what do I do ?

@dontrien. If it was me I'd do my research on Google about how to turn it on. There are plenty of articles on this subject.

me also try enabled UAC on or UAC off, but that did not change what, do not know this error ?

At this point more would have to be known. My bet is you set this up before and have forgotten a step. I can't retrace those steps for you but try to work with what you do reveal.

For example, some of those items do not show for all user types. Be sure the account you are using is an administrator for starters.

create the network drive using your credentials and not run as administrator these are two different tokens

net use * \server\share /user: /savecred

I tried your way, if you restart your computer, win7 does not remember user/pass

Which is how I recall it. If you connect to a share as another user+password than what you logged into then it fails to remember. This is not the same as SQL which is a totally different issue.

Microsoft has an entire section, maybe more on Windows Server Administration about shares, names, and more so I can't duplicate that here but if you login as JohnnyBeGood then your shares need to be on the server with rights for JohnnyBeGood. Otherwise you have to work hard with a batch file to connect each time.

Now if you enable the Guest account on the server, well, as an old hand you know what happens next.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.