Right click the file and choose Run As Administrator.
If no joy,
Add "Take Ownership" to right-click menu in Vista
http://www.petri.co.il/add-take-owne...menu-vista.htm
-------
*Report back, please*
"chaitu" <> wrote in message
news:aa2f2c6a-0845-4240-ab30-...
>I am working on an installer which installs some files and do some
> operations which needs admin privileges(for ex: installer creates 2
> user accounts).
>
> On Vista OS, when i install this installer from local hard disk or DVD
> drive, once UAC dlg for admin privileges is accepted, every thing
> works fine. But when i try to install from a network drive, some
> operations which needs admin privileges will fail. Basically, its not
> allowing to do any operations which need admin privileges from a
> network drive. Even though UAC dlg for admin privileges is accepted.
>
> Is there any way to tell OS to trust this network drive and allow
> installation and allow operations which requires admin privileges.
>
> thanks