Archive: WIndows Asking For administrator username and password


WIndows Asking For administrator username and password
I have written an installer that does not need administrator access, how can I tell windows xp not to show the window that is very similar to the runas box.
edit the file is named setup.exe and here is a screenie of the box http://img153.imageshack.us/img153/1...lboxev6.th.png


Maybe because you are using a non-administrator account, the system tells you that it needs some adminis. rights to execute stuff.

I don't know, windows is weird sometimes.


Try to rename the installer to something other than setup.exe or install.exe, AFAIK that should do the trick.

There also should be a group policy to stop that box appearing, but that's probably not what you are looking for.


yeah. The program does not or should not need any admin rights at all as it does not use the registry or use the program files folder.