Change Button/Admin Rights

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If an installed program is changed through "Programs and Features" with the
change button you are not prompted for admin rights. When some features are
added to an installed program you may need admin rights like when the program
is first installed. The only work around I have been able to find is to run
setup from the original CD which does prompt for admin rights. Is this going
to be changed in the final version?

Thanks,
 
Hi Brian :-)

Which account are you logged in on at the time? User-Admin or Standard User.
Is the UAC turned ON in the Users settings in Control Panel? These could
make a difference in how the prompt work.

Jan :)
MS MVP - Windows IE/OE [DTS/AumHa]
Smiles are meant to be shared,
that's why they're so contagious.

Replies are posted only to the newsgroup for the benefit or other readers.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm
 
Jan,

Thanks for getting back so quick. I am in the user admin account and UAC is
turned on. The prompts do come up if I try to uninstall and the uninstall
button has the shield logo on it. The repair button also prompts for admin
rights although it does not have the shield logo on it. The problem is our
installation calls a function in a dll that needs to create a registry key
and it fails with access denied. This happens if you try to add features that
were not originally installed by going through the change option.

Btw I’m using RC2 build 5744.

Brian
--
Brian


Jan Il said:
Hi Brian :-)

Which account are you logged in on at the time? User-Admin or Standard User.
Is the UAC turned ON in the Users settings in Control Panel? These could
make a difference in how the prompt work.

Jan :)
MS MVP - Windows IE/OE [DTS/AumHa]
Smiles are meant to be shared,
that's why they're so contagious.

Replies are posted only to the newsgroup for the benefit or other readers.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm


If an installed program is changed through "Programs and Features" with
the
change button you are not prompted for admin rights. When some features
are
added to an installed program you may need admin rights like when the
program
is first installed. The only work around I have been able to find is to
run
setup from the original CD which does prompt for admin rights. Is this
going
to be changed in the final version?

Thanks,
 
In Vista, User Access Control provides non-administrator user accounts with
a “virtual†Registry, allowing them to run programs that otherwise need to
modify Registry entries.

See:

http://blogs.msdn.com/uac/default.aspx

You can either turn off UAC to do the reghack at msconfig but I think this
simple trick for running elevated might work for you without getting into
secpol and gpedit settings also. It also works for running a number of
components elevated like the command prompt if you had to say run SFC
(System File Checker).

1) Go to start button or hit windows logo key (Thanks Vista team for shaping
Start like belly button making it easy for me to remember where it is).
2) In search above start button type in "regedit" lose quotes.
3) Very quickly hold down the ctrl and shift buttons at same time or as they
say in Redmond concomittantly, and hit enter. Do it fast.
4) You'll get a UAC dialogue box and click okay and I believe you will gain
access to your regedit.

Good luck,

CH

Images to contemplate with a week before the Palace Revolution--if you're on
the MSFT campus, or in Seattle vote www.darcybruner.com

This is the mission Bush has accomplished on every front Medicare, Embryonic
Stems, and of course Iraq:
http://ratchetup.typepad.com/iraq/images/Dovercasket08.jpg

If you're in US the draft is only a matter of time--thousand of grandmothers
and grandfathers can't be sent back 3 times and counting so get
ready--wonder if that will jar your apathy?
http://radio.weblogs.com/0107064/MyImages/bush_twins_draft.jpg

Brianhub said:
Jan,

Thanks for getting back so quick. I am in the user admin account and UAC
is
turned on. The prompts do come up if I try to uninstall and the uninstall
button has the shield logo on it. The repair button also prompts for admin
rights although it does not have the shield logo on it. The problem is our
installation calls a function in a dll that needs to create a registry key
and it fails with access denied. This happens if you try to add features
that
were not originally installed by going through the change option.

Btw I’m using RC2 build 5744.

Brian
--
Brian


Jan Il said:
Hi Brian :-)

Which account are you logged in on at the time? User-Admin or Standard
User.
Is the UAC turned ON in the Users settings in Control Panel? These could
make a difference in how the prompt work.

Jan :)
MS MVP - Windows IE/OE [DTS/AumHa]
Smiles are meant to be shared,
that's why they're so contagious.

Replies are posted only to the newsgroup for the benefit or other
readers.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm


If an installed program is changed through "Programs and Features" with
the
change button you are not prompted for admin rights. When some features
are
added to an installed program you may need admin rights like when the
program
is first installed. The only work around I have been able to find is to
run
setup from the original CD which does prompt for admin rights. Is this
going
to be changed in the final version?

Thanks,
 
Chad,

Thanks for the information. I know how to turn off UAC and I'll never use it
on my system its too annoying.

I am talking about end users that install our software and run their systems
with UAC turned on. The registry values I'm referring to are values that go
to HKLM\Software\... that are created durring the installation. Shouldn't the
change button require the same rights as the uninstall and the repair
buttons. All off them can need access to the registry.

Thanks,


--
Brian


Chad Harris said:
In Vista, User Access Control provides non-administrator user accounts with
a “virtual†Registry, allowing them to run programs that otherwise need to
modify Registry entries.

See:

http://blogs.msdn.com/uac/default.aspx

You can either turn off UAC to do the reghack at msconfig but I think this
simple trick for running elevated might work for you without getting into
secpol and gpedit settings also. It also works for running a number of
components elevated like the command prompt if you had to say run SFC
(System File Checker).

1) Go to start button or hit windows logo key (Thanks Vista team for shaping
Start like belly button making it easy for me to remember where it is).
2) In search above start button type in "regedit" lose quotes.
3) Very quickly hold down the ctrl and shift buttons at same time or as they
say in Redmond concomittantly, and hit enter. Do it fast.
4) You'll get a UAC dialogue box and click okay and I believe you will gain
access to your regedit.

Good luck,

CH

Images to contemplate with a week before the Palace Revolution--if you're on
the MSFT campus, or in Seattle vote www.darcybruner.com

This is the mission Bush has accomplished on every front Medicare, Embryonic
Stems, and of course Iraq:
http://ratchetup.typepad.com/iraq/images/Dovercasket08.jpg

If you're in US the draft is only a matter of time--thousand of grandmothers
and grandfathers can't be sent back 3 times and counting so get
ready--wonder if that will jar your apathy?
http://radio.weblogs.com/0107064/MyImages/bush_twins_draft.jpg

Brianhub said:
Jan,

Thanks for getting back so quick. I am in the user admin account and UAC
is
turned on. The prompts do come up if I try to uninstall and the uninstall
button has the shield logo on it. The repair button also prompts for admin
rights although it does not have the shield logo on it. The problem is our
installation calls a function in a dll that needs to create a registry key
and it fails with access denied. This happens if you try to add features
that
were not originally installed by going through the change option.

Btw I’m using RC2 build 5744.

Brian
--
Brian


Jan Il said:
Hi Brian :-)

Which account are you logged in on at the time? User-Admin or Standard
User.
Is the UAC turned ON in the Users settings in Control Panel? These could
make a difference in how the prompt work.

Jan :)
MS MVP - Windows IE/OE [DTS/AumHa]
Smiles are meant to be shared,
that's why they're so contagious.

Replies are posted only to the newsgroup for the benefit or other
readers.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm



If an installed program is changed through "Programs and Features" with
the
change button you are not prompted for admin rights. When some features
are
added to an installed program you may need admin rights like when the
program
is first installed. The only work around I have been able to find is to
run
setup from the original CD which does prompt for admin rights. Is this
going
to be changed in the final version?

Thanks,
 
Brainhub--
There are registry values you can use to turn off UAC easily
googled/searched and I was referring to running regedit elevated "as admin"
with UAC turned on for your needs here. I *was talking exactly about your
end users installing your software or their need to run as admin. My
experience with Vista builds and UAC on as to installations is that when it
wouldn't let me install an app, I would right click the .exe when there is
one or I can get one, and click Run as Admin which should allow the install.
I would think the change button should require the same rights.

As I said, if you want or your users want access to the registry, HKLM
included, I believe that you can use the tip I gave you to get it done as I
described before using the Ctrl+Shift keys>enter to bring up a run elevated
"as admin" dialogue box.

CH


Brianhub said:
Chad,

Thanks for the information. I know how to turn off UAC and I'll never use
it
on my system its too annoying.

I am talking about end users that install our software and run their
systems
with UAC turned on. The registry values I'm referring to are values that
go
to HKLM\Software\... that are created durring the installation. Shouldn't
the
change button require the same rights as the uninstall and the repair
buttons. All off them can need access to the registry.

Thanks,


--
Brian


Chad Harris said:
In Vista, User Access Control provides non-administrator user accounts
with
a “virtual†Registry, allowing them to run programs that otherwise need
to
modify Registry entries.

See:

http://blogs.msdn.com/uac/default.aspx

You can either turn off UAC to do the reghack at msconfig but I think
this
simple trick for running elevated might work for you without getting into
secpol and gpedit settings also. It also works for running a number of
components elevated like the command prompt if you had to say run SFC
(System File Checker).

1) Go to start button or hit windows logo key (Thanks Vista team for
shaping
Start like belly button making it easy for me to remember where it is).
2) In search above start button type in "regedit" lose quotes.
3) Very quickly hold down the ctrl and shift buttons at same time or as
they
say in Redmond concomittantly, and hit enter. Do it fast.
4) You'll get a UAC dialogue box and click okay and I believe you will
gain
access to your regedit.

Good luck,

CH

Images to contemplate with a week before the Palace Revolution--if you're
on
the MSFT campus, or in Seattle vote www.darcybruner.com

This is the mission Bush has accomplished on every front Medicare,
Embryonic
Stems, and of course Iraq:
http://ratchetup.typepad.com/iraq/images/Dovercasket08.jpg

If you're in US the draft is only a matter of time--thousand of
grandmothers
and grandfathers can't be sent back 3 times and counting so get
ready--wonder if that will jar your apathy?
http://radio.weblogs.com/0107064/MyImages/bush_twins_draft.jpg

Brianhub said:
Jan,

Thanks for getting back so quick. I am in the user admin account and
UAC
is
turned on. The prompts do come up if I try to uninstall and the
uninstall
button has the shield logo on it. The repair button also prompts for
admin
rights although it does not have the shield logo on it. The problem is
our
installation calls a function in a dll that needs to create a registry
key
and it fails with access denied. This happens if you try to add
features
that
were not originally installed by going through the change option.

Btw I’m using RC2 build 5744.

Brian
--
Brian


:

Hi Brian :-)

Which account are you logged in on at the time? User-Admin or Standard
User.
Is the UAC turned ON in the Users settings in Control Panel? These
could
make a difference in how the prompt work.

Jan :)
MS MVP - Windows IE/OE [DTS/AumHa]
Smiles are meant to be shared,
that's why they're so contagious.

Replies are posted only to the newsgroup for the benefit or other
readers.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm



If an installed program is changed through "Programs and Features"
with
the
change button you are not prompted for admin rights. When some
features
are
added to an installed program you may need admin rights like when
the
program
is first installed. The only work around I have been able to find is
to
run
setup from the original CD which does prompt for admin rights. Is
this
going
to be changed in the final version?

Thanks,
 
Back
Top