Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Security Prompt Issue

Reply
 
Old 05-12-2009   #1 (permalink)
Microsoft


 
 

Security Prompt Issue

Hi,

Is there a way to bypass the security prompt under windows vista? Every time
when I run the setup.exe I got a security prompt asking if I want to proceed
further. I need to develop an application that will run a silent update in
the background, and therefore I need to bypass the prompt to ensure the
setup process will be executed without interruption. I have done quite a few
research and couldn't find a solution to work around, could you please
advice how it can be done?

Thanks in advance
Kyle



My System SpecsSystem Spec
Old 05-15-2009   #2 (permalink)
FromTheRafters


 
 

Re: Security Prompt Issue


"Microsoft" <hkyl_xtra@xxxxxx> wrote in message
news:%23PQzU5U1JHA.3476@xxxxxx
Quote:

> Hi,
>
> Is there a way to bypass the security prompt under windows vista?
> Every time when I run the setup.exe I got a security prompt asking if
> I want to proceed further. I need to develop an application that will
> run a silent update in the background, and therefore I need to bypass
> the prompt to ensure the setup process will be executed without
> interruption. I have done quite a few research and couldn't find a
> solution to work around, could you please advice how it can be done?
From:
http://technet.microsoft.com/en-us/l.../cc709628.aspx

Under:
Installer Detection Technology

"The User Account Control: Detect application installations and prompt
for elevation setting must be enabled for installer detection to detect
installation programs. This setting is enabled by default and can be
configured with the Security Policy Manager snap-in (secpol.msc) or with
Group Policy (gpedit.msc)."



My System SpecsSystem Spec
Old 05-15-2009   #3 (permalink)
Gordon


 
 

Re: Security Prompt Issue


"FromTheRafters" <erratic @nomail.afraid.org> wrote in message
news:#0uRa0W1JHA.6132@xxxxxx
Quote:

> This setting is enabled by default and can be configured with the
> Security Policy Manager snap-in (secpol.msc) or with Group Policy
> (gpedit.msc)."
Both of which are only available in Business and Ultimate....

--
Asking a question?
Please tell us the version of the application you are asking about,
your OS, Service Pack level
and the FULL contents of any error message(s)

My System SpecsSystem Spec
Old 05-15-2009   #4 (permalink)
FromTheRafters


 
 

Re: Security Prompt Issue

"Gordon" <gordonbparker@xxxxxx> wrote in message
news:Obw1M4W1JHA.1900@xxxxxx
Quote:

>
> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
> news:#0uRa0W1JHA.6132@xxxxxx
>
Quote:

>> This setting is enabled by default and can be configured with the
>> Security Policy Manager snap-in (secpol.msc) or with Group Policy
>> (gpedit.msc)."
>
> Both of which are only available in Business and Ultimate....
Then maybe this?

"User Account Control: Detect application installations and prompt for
elevation

Location

Computer Configuration\Windows Settings\Security Settings\Local
Policies\Security Options\

Discussion

This security setting determines the behavior of application
installation detection for the computer.
The following table describes the values available for this setting.

Value Description

Enabled - This setting detects application installation packages that
require an elevation of privilege to install and displays the configured
elevation prompt.

Disabled - Enterprises running standard user workstations that use
delegated installation technologies such as Group Policy Software
Installation or Systems Management Server (SMS) will automatically
disable this setting. In this case, installer detection is unnecessary
and thus not required.

Default value

Enabled - (home)
Disabled - (enterprise)"


My System SpecsSystem Spec
Old 05-15-2009   #5 (permalink)
Gordon


 
 

Re: Security Prompt Issue


"FromTheRafters" <erratic @nomail.afraid.org> wrote in message
news:ecTM5EX1JHA.6132@xxxxxx
Quote:

> Computer Configuration\Windows Settings\Security Settings\Local
> Policies\Security Options\
>
>
That's reached from gpedit.msc - certainly in XP.

--
Asking a question?
Please tell us the version of the application you are asking about,
your OS, Service Pack level
and the FULL contents of any error message(s)

My System SpecsSystem Spec
Old 05-15-2009   #6 (permalink)
Mark B


 
 

Re: Security Prompt Issue

But can the app itself bypass or change that setting?

(It guess that would mean the UAC didn't actually work... so a circular
argument though I have used quite a few apps that do silent update without
that security prompt - e.g. McAfee. How do they get around it?)


"FromTheRafters" <erratic @nomail.afraid.org> wrote in message
news:ecTM5EX1JHA.6132@xxxxxx
Quote:

> "Gordon" <gordonbparker@xxxxxx> wrote in message
> news:Obw1M4W1JHA.1900@xxxxxx
Quote:

>>
>> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
>> news:#0uRa0W1JHA.6132@xxxxxx
>>
Quote:

>>> This setting is enabled by default and can be configured with the
>>> Security Policy Manager snap-in (secpol.msc) or with Group Policy
>>> (gpedit.msc)."
>>
>> Both of which are only available in Business and Ultimate....
>
> Then maybe this?
>
> "User Account Control: Detect application installations and prompt for
> elevation
>
> Location
>
> Computer Configuration\Windows Settings\Security Settings\Local
> Policies\Security Options\
>
> Discussion
>
> This security setting determines the behavior of application installation
> detection for the computer.
> The following table describes the values available for this setting.
>
> Value Description
>
> Enabled - This setting detects application installation packages that
> require an elevation of privilege to install and displays the configured
> elevation prompt.
>
> Disabled - Enterprises running standard user workstations that use
> delegated installation technologies such as Group Policy Software
> Installation or Systems Management Server (SMS) will automatically disable
> this setting. In this case, installer detection is unnecessary and thus
> not required.
>
> Default value
>
> Enabled - (home)
> Disabled - (enterprise)"
>
My System SpecsSystem Spec
Old 05-15-2009   #7 (permalink)


VISTA HOME PREMIUM X64/ 7 x64 / 7x86
 
 

Re: Security Prompt Issue

Quote  Quote: Originally Posted by Microsoft View Post
Hi,

Is there a way to bypass the security prompt under windows vista? Every time
when I run the setup.exe I got a security prompt asking if I want to proceed
further. I need to develop an application that will run a silent update in
the background, and therefore I need to bypass the prompt to ensure the
setup process will be executed without interruption. I have done quite a few
research and couldn't find a solution to work around, could you please
advice how it can be done?

Thanks in advance
Kyle

Unless I have misunderstood what you are wanting to do ( in which case, ignore it) - this free app.has a “remember me” feature that allows users to suppress future prompts from the same action

User Access Control - Vista User Account Control - UAC | Norton Labs

Hope it helps

SIW2
My System SpecsSystem Spec
Old 05-15-2009   #8 (permalink)
FromTheRafters


 
 

Re: Security Prompt Issue

Unless I misunderstood, as a developer he may want to misconfigure this
aspect of Vista. This is not about trying to circumvent a security
feature programmatically.

"Mark B" <none123@xxxxxx> wrote in message
news:%23oqXIta1JHA.1196@xxxxxx
Quote:

> But can the app itself bypass or change that setting?
>
> (It guess that would mean the UAC didn't actually work... so a
> circular argument though I have used quite a few apps that do silent
> update without that security prompt - e.g. McAfee. How do they get
> around it?)
>
>
> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
> news:ecTM5EX1JHA.6132@xxxxxx
Quote:

>> "Gordon" <gordonbparker@xxxxxx> wrote in message
>> news:Obw1M4W1JHA.1900@xxxxxx
Quote:

>>>
>>> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
>>> news:#0uRa0W1JHA.6132@xxxxxx
>>>
>>>> This setting is enabled by default and can be configured with the
>>>> Security Policy Manager snap-in (secpol.msc) or with Group Policy
>>>> (gpedit.msc)."
>>>
>>> Both of which are only available in Business and Ultimate....
>>
>> Then maybe this?
>>
>> "User Account Control: Detect application installations and prompt
>> for elevation
>>
>> Location
>>
>> Computer Configuration\Windows Settings\Security Settings\Local
>> Policies\Security Options\
>>
>> Discussion
>>
>> This security setting determines the behavior of application
>> installation detection for the computer.
>> The following table describes the values available for this setting.
>>
>> Value Description
>>
>> Enabled - This setting detects application installation packages that
>> require an elevation of privilege to install and displays the
>> configured elevation prompt.
>>
>> Disabled - Enterprises running standard user workstations that use
>> delegated installation technologies such as Group Policy Software
>> Installation or Systems Management Server (SMS) will automatically
>> disable this setting. In this case, installer detection is
>> unnecessary and thus not required.
>>
>> Default value
>>
>> Enabled - (home)
>> Disabled - (enterprise)"
>>
>

My System SpecsSystem Spec
Old 05-16-2009   #9 (permalink)
Mark B


 
 

Re: Security Prompt Issue

Apologies for any confusion-- he's actually working for me on the task.

What we have is a C#, VSTO Outlook Add-in that we'd like to offer users of
Outlook 2007 to download from the internet on their PC's. So it could be
anyone, anywhere with XP or Vista on their desktops.

In addition we are hoping corporate IT managers would also install it for
their company's Outlook 2007 users too.

For both scenarios, we have code in the Add-in that checks our website for a
version number of the add-in. If a later version is found the Addin
downloads the newer install file, OurSetup.exe and executes saliently it
after Outlook is shut down.

It's during that install that the UAC message is coming up on Vista machines
only. We don't want end-users to see that -- we want it all to be silent in
the background.



"FromTheRafters" <erratic @nomail.afraid.org> wrote in message
news:uYasV%23b1JHA.1416@xxxxxx
Quote:

> Unless I misunderstood, as a developer he may want to misconfigure this
> aspect of Vista. This is not about trying to circumvent a security feature
> programmatically.
>
> "Mark B" <none123@xxxxxx> wrote in message
> news:%23oqXIta1JHA.1196@xxxxxx
Quote:

>> But can the app itself bypass or change that setting?
>>
>> (It guess that would mean the UAC didn't actually work... so a circular
>> argument though I have used quite a few apps that do silent update
>> without that security prompt - e.g. McAfee. How do they get around it?)
>>
>>
>> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
>> news:ecTM5EX1JHA.6132@xxxxxx
Quote:

>>> "Gordon" <gordonbparker@xxxxxx> wrote in message
>>> news:Obw1M4W1JHA.1900@xxxxxx
>>>>
>>>> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
>>>> news:#0uRa0W1JHA.6132@xxxxxx
>>>>
>>>>> This setting is enabled by default and can be configured with the
>>>>> Security Policy Manager snap-in (secpol.msc) or with Group Policy
>>>>> (gpedit.msc)."
>>>>
>>>> Both of which are only available in Business and Ultimate....
>>>
>>> Then maybe this?
>>>
>>> "User Account Control: Detect application installations and prompt for
>>> elevation
>>>
>>> Location
>>>
>>> Computer Configuration\Windows Settings\Security Settings\Local
>>> Policies\Security Options\
>>>
>>> Discussion
>>>
>>> This security setting determines the behavior of application
>>> installation detection for the computer.
>>> The following table describes the values available for this setting.
>>>
>>> Value Description
>>>
>>> Enabled - This setting detects application installation packages that
>>> require an elevation of privilege to install and displays the configured
>>> elevation prompt.
>>>
>>> Disabled - Enterprises running standard user workstations that use
>>> delegated installation technologies such as Group Policy Software
>>> Installation or Systems Management Server (SMS) will automatically
>>> disable this setting. In this case, installer detection is unnecessary
>>> and thus not required.
>>>
>>> Default value
>>>
>>> Enabled - (home)
>>> Disabled - (enterprise)"
>>>
>>
>
>
My System SpecsSystem Spec
Old 05-16-2009   #10 (permalink)
FromTheRafters


 
 

Re: Security Prompt Issue

"Mark B" <none123@xxxxxx> wrote in message
news:%236Q8ekf1JHA.3476@xxxxxx
Quote:

> Apologies for any confusion-- he's actually working for me on the
> task.
When he wrote "I have done quite a few research...", does that mean he
understands Vista's requirements for a manifest, and what to include in
same?
Quote:

> What we have is a C#, VSTO Outlook Add-in that we'd like to offer
> users of Outlook 2007 to download from the internet on their PC's. So
> it could be anyone, anywhere with XP or Vista on their desktops.
>
> In addition we are hoping corporate IT managers would also install it
> for their company's Outlook 2007 users too.
>
> For both scenarios, we have code in the Add-in that checks our website
> for a version number of the add-in. If a later version is found the
> Addin downloads the newer install file, OurSetup.exe and executes
> saliently it after Outlook is shut down.
>
> It's during that install that the UAC message is coming up on Vista
> machines only. We don't want end-users to see that -- we want it all
> to be silent in the background.
Thanks for clarifying. I'm not going to be able to help with this, but
perhaps with this new information someone reading this can.


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Bug or Not? Cmd Prompt/Switching Issue Vista General
Bypassing Security Prompt in Unrestricted Mode PowerShell
Security Prompt Vista General
Security prompt everytime I start Internet Explorer Vista security
5536: Run CMD prompt as admin issue Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46