Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > Security Prompt Issue

Reply
Thread Tools Display Modes

Security Prompt Issue

 
 
Microsoft
Guest
Posts: n/a

 
      05-12-2009
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


 
Reply With Quote
 
 
 
 
FromTheRafters
Guest
Posts: n/a

 
      05-15-2009
"Microsoft" <> wrote in message
news:%...
> 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?


Have you seen this?

http://blogs.msdn.com/sajoshi/archiv...rkarounds.aspx


 
Reply With Quote
 
FromTheRafters
Guest
Posts: n/a

 
      05-15-2009

"Microsoft" <> wrote in message
news:%...
> 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)."



 
Reply With Quote
 
Gordon
Guest
Posts: n/a

 
      05-15-2009

"FromTheRafters" <erratic @nomail.afraid.org> wrote in message
news:#...

> 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)

 
Reply With Quote
 
FromTheRafters
Guest
Posts: n/a

 
      05-15-2009
"Gordon" <> wrote in message
news:...
>
> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
> news:#...
>
>> 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)"


 
Reply With Quote
 
Gordon
Guest
Posts: n/a

 
      05-15-2009

"FromTheRafters" <erratic @nomail.afraid.org> wrote in message
news:...

> 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)

 
Reply With Quote
 
Mark B
Guest
Posts: n/a

 
      05-15-2009
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:...
> "Gordon" <> wrote in message
> news:...
>>
>> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
>> news:#...
>>
>>> 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)"
>


 
Reply With Quote
 
FromTheRafters
Guest
Posts: n/a

 
      05-16-2009
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" <> wrote in message
news:%...
> 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:...
>> "Gordon" <> wrote in message
>> news:...
>>>
>>> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
>>> news:#...
>>>
>>>> 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)"
>>

>



 
Reply With Quote
 
Mark B
Guest
Posts: n/a

 
      05-16-2009
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%...
> 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" <> wrote in message
> news:%...
>> 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:...
>>> "Gordon" <> wrote in message
>>> news:...
>>>>
>>>> "FromTheRafters" <erratic @nomail.afraid.org> wrote in message
>>>> news:#...
>>>>
>>>>> 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)"
>>>

>>

>
>


 
Reply With Quote
 
FromTheRafters
Guest
Posts: n/a

 
      05-16-2009
"Mark B" <> wrote in message
news:%...

> 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?

> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CMD Prompt Issue Rezurrect Windows Vista General Discussion 10 01-07-2009 11:30 PM
Bug or Not? Cmd Prompt/Switching Issue AtarashiB Windows Vista General Discussion 8 07-21-2008 11:04 AM
Security Prompt Jim Windows Vista General Discussion 4 02-18-2007 03:56 AM
5536: Run CMD prompt as admin issue Paul Russell Windows Vista Security 3 09-03-2006 05:48 PM
Focus on security prompt dialog quinton.wang@gmail.com Windows Vista Drivers 5 02-24-2006 02:25 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59