NCover Documentation

Do you have this problem on your Windows 7 box? You are a sole admin logged in but keep getting asked to allow programs to run with admin privileges? What's going on?

It's a Windows thing. Usually this is not a problem. It only occurs when a program has to perform admin tasks, such as writing coverage files to admin-privileged directories (e.g., C:). Windows by default will start programs without admin privileges, even though the user does have the credentials. You can change these settings by specifying that NCover 3 always runs with Admin privileges and turning off your notification in the UAC settings. To do this, you will want to:

  1. Go to the NCover installation directory.
  2. Right-click on the NCover.Console.exe , NCover.Explorer.exe , and NCover.Reporting.exe. Select "properties" for each.
  3. For each .exe, go to the "compatibility" tab and select "Run this program as an administrator."
  4. Go to your account control settings (do a search for UAC in your window's start bar for UAC).
  5. Switch your UAC to say that it will never notify you when a program makes changes to your system. Unfortunately, this also means that any other program installed will not have to notify you.

That should turn off admin-changes notification, and will start NCover with the appropriate privileges every time. An alternative approach is to start the Command Line as an administrator every time. Whenever it executes a process (e.g., NCover), it will always execute with admin privileges. Happy coding!

If you still need technical assistance, we can help:

Submit A Support Ticket

Try NCover Free Contact Us Online