
07-13-2007
|
|
|
|
Re: Set rights with Icacls
Hi Kerry,
If I execute the command "runas /user:administrator" I have to fill in the
Adminitratonpassword witch I don't have.
What about the second solution? What is to do correctly?
Thanks!
beat
"Kerry Brown" wrote:
> "Beat" <Beat@discussions.microsoft.com> wrote in message
> news:EFB3746D-1DF5-482B-A4BF-7FE0928316AF@microsoft.com...
> > Hi Kerry,
> > Thanks for the good help.
> > This works great but the next problem is to run this from a Installer
> > where
> > I have only the "normal" command prompt. I want to do this during the
> > install
> > process. So we could save the update for this user directly in this folder
> > and delete the old one.
> >
> > Thanks again.
> > beat
> >
>
>
> Then the installer has to be "Run as administrator" or ask Vista for
> administrator privileges. There is no way to do administrator actions
> without running into UAC if UAC is turned on. If you are writing an
> installer you have to assume UAC is on.
>
> --
> Kerry Brown
> Microsoft MVP - Shell/User
> http://www.vistahelp.ca
>
>
|