Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > Vista is blocking my program on start

Reply
Thread Tools Display Modes

Vista is blocking my program on start

 
 
Oleg
Guest
Posts: n/a

 
      02-11-2007
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


 
Reply With Quote
 
 
 
 
Jimmy Brush
Guest
Posts: n/a

 
      02-11-2007
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/

 
Reply With Quote
 
Jesper
Guest
Posts: n/a

 
      02-12-2007
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/
>

 
Reply With Quote
 
Oleg
Guest
Posts: n/a

 
      02-12-2007
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" <> wrote in message
news:41FD09F7-8C8F-4C98-9BD6-...
> 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/
>>



 
Reply With Quote
 
Jesper
Guest
Posts: n/a

 
      02-12-2007
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.


 
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
one program is blocking other programs to start? Henk Windows Vista Administration 1 02-06-2008 01:24 PM
Windows Defender is blocking a program I don't want it to block deaden_07 Windows Vista Security 2 11-17-2007 05:13 PM
Stop Keep Blocking Program SamVDS Windows Vista Security 1 07-05-2007 07:14 PM
Vista annoying start-up blocking programs bradleywold Windows Vista General Discussion 2 06-09-2007 07:40 PM
UAC Blocking RivaTuner Start Up Tim Windows Vista Administration 2 05-16-2007 01:13 AM



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