Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: What is UAC

13 Oct 2011   #1

Windows 7(64 Bit)
What is UAC


We developed one Windows Application using VS 2005, Framework 2.0 and C#. and we created the Setup using Installshield 2010.

The installer is working fine (creating shortcuts in Desktop and adding in to start menu) with Windows XP.

When we installed the application in Windows 7 machine its not creating the shortcuts in Desktop or adding it in to Start menu. After doing some investigation we found that we need to install the application after changing the UAC (User Access Control) or right click the application and run as administrator.

Is there any way to install the application without changing the UAC or run as administrator

Thanks & Regards,

My System SpecsSystem Spec
13 Oct 2011   #2

Windows 10 Pro x64

No, adding files to protected locations on the system will require the install to be run as Administrator. Only administrative accounts (that have accepted the UAC prompt your installer will present) have the rights to write files to \Windows, \Program Files, the root of any volume, and locations in the registry not under the HKCU hive.

As to a user not seeing a prompt, you can sign and manifest your installer, and you should be doing this anyway .
My System SpecsSystem Spec
13 Oct 2011   #3

Windows 7(64 Bit)
UAC and Security Related issues


We developed a Windows application Using VS 2005 and C#. After that we created the setup using IstallShield 2010.

We installed the installer successfully on a windows XP machine. The Basic operation which the application is

1. Creating files in a folder
2. Create a folder in Program files folder.
3. Writing values in to windows Registry
4. One Windows Service which will automatically start while installing the application
5. Registering some DLL while installing
6. Adding shortcuts in Desktop
7. Creating shortcuts in start menu

all the above operations are successfully with Windows XP, but when i installed the same package on a Windows 7 machine without changing the UAC, lot of the above operations are not working. The installation is successful if change the UAC or if i RUN the application as RUN AS ADMINISTRATOR.

As per my clients policy the users may not have admin rights, and they dont want to use the RUN AS ADMIN.

Can any one suggest me the importance of UAC and the ways to work without UAC.

My System SpecsSystem Spec

13 Oct 2011   #4

Windows 10 Pro (x64)

Follow what Google Chrome does, it installs itself in the User directory and User Registry. No administrative power required.
My System SpecsSystem Spec

 What is UAC

Thread Tools

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:42.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App