Re: Set rights with Icacls
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?
"Kerry Brown" wrote:
> "Beat" <Beat@discussions.microsoft.com> wrote in message
> > 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