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 - Vista is blocking my program on start

Reply
 
Old 02-11-2007   #1 (permalink)
Oleg


 
 

Vista is blocking my program on start

Hi All,

I'm sorry if this is not the right group to ask, I just haven't found
anything more similar.
I also haven't found the definitive answer to this quesion by searching the
net.

So, I have the program that needs to run upon user login and it must run
with administrative
privilege. Changes in manifest file made it run with administrative rights,
however it's been
blocked on starup by Windows Defender.

What can I do?

Thank you in advance,
Oleg



My System SpecsSystem Spec
Old 02-11-2007   #2 (permalink)
Jimmy Brush


 
 

Re: Vista is blocking my program on start

You can't have an administrative program run when the user starts their
computer.

Without knowing exactly what your programing is doing, I would say it is
very likely that your program should be implemented as a Windows Service.


--
- JB
Microsoft MVP - Windows Shell/User

Windows Vista Support Faq
http://www.jimmah.com/vista/

My System SpecsSystem Spec
Old 02-12-2007   #3 (permalink)
Jesper


 
 

Re: Vista is blocking my program on start

Well, you can, but all users must be admins then. That would be A Really Bad
Idea(tm).

If you absolutely must have it this way, this will help:
http://go.microsoft.com/fwlink/?LinkId=77080
Search for "Group Policy Scripts can fail due to User Account Control"

You also need to somehow get Defender to stop blocking them:
http://support.microsoft.com/default.aspx/kb/930367

"Jimmy Brush" wrote:

> You can't have an administrative program run when the user starts their
> computer.
>
> Without knowing exactly what your programing is doing, I would say it is
> very likely that your program should be implemented as a Windows Service.
>
>
> --
> - JB
> Microsoft MVP - Windows Shell/User
>
> Windows Vista Support Faq
> http://www.jimmah.com/vista/
>

My System SpecsSystem Spec
Old 02-12-2007   #4 (permalink)
Oleg


 
 

Re: Vista is blocking my program on start

Thank you for your responses.

My program is a GUI application where most of the time it resides as an icon
on the system tray.
So, running it as a Windows Service is not an option.

I wonder how all those GUI applications at the system tray interact with the
system components, which requires administrative privilege?
Apparently, I need to do a similar job rather than what you've descibed
below.

Oleg

"Jesper" <Jesper@discussions.microsoft.com> wrote in message
news:41FD09F7-8C8F-4C98-9BD6-BCBC0B11DF97@microsoft.com...
> Well, you can, but all users must be admins then. That would be A Really
> Bad
> Idea(tm).
>
> If you absolutely must have it this way, this will help:
> http://go.microsoft.com/fwlink/?LinkId=77080
> Search for "Group Policy Scripts can fail due to User Account Control"
>
> You also need to somehow get Defender to stop blocking them:
> http://support.microsoft.com/default.aspx/kb/930367
>
> "Jimmy Brush" wrote:
>
>> You can't have an administrative program run when the user starts their
>> computer.
>>
>> Without knowing exactly what your programing is doing, I would say it is
>> very likely that your program should be implemented as a Windows Service.
>>
>>
>> --
>> - JB
>> Microsoft MVP - Windows Shell/User
>>
>> Windows Vista Support Faq
>> http://www.jimmah.com/vista/
>>



My System SpecsSystem Spec
Old 02-12-2007   #5 (permalink)
Jesper


 
 

Re: Vista is blocking my program on start

The design guidance for handling this situation is to factor the application
into two components: a service that runs elevated, and a user-mode component
that runs as the user. As part of that factoring you should write an LPC
mechanism so the two can communicate.

"Oleg" wrote:

> Thank you for your responses.
>
> My program is a GUI application where most of the time it resides as an icon
> on the system tray.
> So, running it as a Windows Service is not an option.
>
> I wonder how all those GUI applications at the system tray interact with the
> system components, which requires administrative privilege?
> Apparently, I need to do a similar job rather than what you've descibed
> below.


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Vista is blocking a program that I want to run Vista security
Prevent Defender blocking Startup program System Security
one program is blocking other programs to start? Vista account administration
Stop Keep Blocking Program Vista security
Vista annoying start-up blocking programs Vista General


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