UAC Windows 7
I have an application on win 7 client machines that needs daily updating. On the win XP machines the file is replaced without a problem. On win 7 the users are prompted to enter the admin credentials when the executable on their computers are to be replaced. I have to go to 30 computers every morning and enter the admin credentials so that everyone can work. How can I bypass this feature of win 7 so that the executables can be replaced without me having to enter admin credentials everytime?
November 23rd, 2010 2:10am

The easiest way (if the application does not require a hardcoded path) seems to be to create a folder outside of UAC protected folders, i.e. C:\Company\YourApplication and grant users full access to the folder. Install the application into this folder. Other than that you can try adjusting the NTFS permissions of the programs folder, but since C:\Program Files counts under protected folders, you may fail. Or perform the update via Computer Startup script (if it is a simple copy action). Best greetings from Germany Olaf
Free Windows Admin Tool Kit Click here and download it now
November 23rd, 2010 5:30am

Create a task with the task scheduler which copies the updates files. When you select to run this task with an admin user and select "Run with highest privileges" you get no UAC prompt."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
November 23rd, 2010 7:28am

1. The application to be replaced is already in a folder like C:\Company\YourApplication but UAC still gives the prompt. Is there such a thing as a UAC unprotected folder? The users have full control of the folder and the folder is not in C:\Program Files. 2. Where can I find the netlogon directory / Computer Startup for win 7?
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2010 12:57am

1. The application to be replaced is already in a folder like C:\Company\YourApplication but UAC still gives the prompt. Is there such a thing as a UAC unprotected folder? The users have full control of the folder and the folder is not in C:\Program Files. 2. I've tried placing script in the netlogon directory but it does not execute. I guess scripting is the way to go so I will try further with group policy logon scripts. So far no success.
November 24th, 2010 12:58am

I created a task in the task scheduler that runs the program that does the copying using "Run with highest privileges" and "Allow task to be run on demand". When I run this task the delay is quite long, and most of the times it does not run at all (the status indicates either 'running' or 'Queued'). I upped the priority to 4 even 3 (by exporting the task, editing the xml, and importing it again) but this makes no diffenence.
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2010 1:05am

Alright, I've tried everything: scripts don't run on win 7 if the user is the not domain administrator (not even if l launch it manually, the .bat runs on win XP though), tasks in the task scheduler take forever to start (IF it starts for that matter). I suppose win 7 was meant for home Internet users only (not for client-server networks in real life businesses).
November 24th, 2010 3:02am

Do domain users have also full control to all files in the directory? Sometimes, especially, if UAC has been enabled later than the folder creation date, you may have to delete and recreate the folder to get the permissions properly set (or take ownership of the folder and then assign the permissions to the folder and all files and folders within). (This is valid mainly for members of the local Administrators group - are the users member of this group?) Best greetings from Germany Olaf
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2010 7:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics