Windows 7 Forums


Reply
Thread Tools

UAC + vb5-program in W7/64

 
 
Helge Haensel
Guest
Posts: n/a
Thanked:
 
      07-07-2011
Hallo NG!

I have a self-written pretty simple program under vb5 that always causes
UAC to pop up when started. I have several other (vb5-)programs that do
not activate UAC. Deactivating UAC lets start the questioned program
without any hassle. Is it possible to deactivate UAC exclusively for a
program? I do not mean 'Start as Admin' because the program needs to start
from startup folder with system start.

Vy 73! Helge
--
Helge, DJ1WM
 
Reply With Quote
 
 
 
 
Ed Cryer
Guest
Posts: n/a
Thanked:
 
      07-07-2011
On 07/07/2011 10:28, Helge Haensel wrote:
> Hallo NG!
>
> I have a self-written pretty simple program under vb5 that always causes
> UAC to pop up when started. I have several other (vb5-)programs that do
> not activate UAC. Deactivating UAC lets start the questioned program
> without any hassle. Is it possible to deactivate UAC exclusively for a
> program? I do not mean 'Start as Admin' because the program needs to
> start from startup folder with system start.
>
> Vy 73! Helge


It's all a question of Permissions.
Right click the program, select Properties, then the Security tab.
It might be helpful to you if you look at one program that doesn't
activate UAC, and then your own one. See the difference.

Ed
 
Reply With Quote
 
Seth
Guest
Posts: n/a
Thanked:
 
      07-07-2011

"Helge Haensel" <> wrote in message
news...
> Hallo NG!
>
> I have a self-written pretty simple program under vb5 that always causes
> UAC to pop up when started. I have several other (vb5-)programs that do
> not activate UAC. Deactivating UAC lets start the questioned program
> without any hassle. Is it possible to deactivate UAC exclusively for a
> program? I do not mean 'Start as Admin' because the program needs to start
> from startup folder with system start.


if it is self-written you should be able to fix the behavior that is causing
UAC to pop up. Is it trying to write\modify a file in the \Windows or
\Program Files hierarchy? Modify data in the registry at HKLM?

Fix the issue, not bypass the security is the correct way to go.


 
Reply With Quote
 
Helge Haensel
Guest
Posts: n/a
Thanked:
 
      07-07-2011
Am 07.07.2011, 13:18 Uhr, schrieb Seth <>:

>
> "Helge Haensel" <> wrote in message
> news...
>> Hallo NG!
>>
>> I have a self-written pretty simple program under vb5 that always
>> causes UAC to pop up when started. I have several other (vb5-)programs
>> that do not activate UAC. Deactivating UAC lets start the questioned
>> program without any hassle. Is it possible to deactivate UAC
>> exclusively for a program? I do not mean 'Start as Admin' because the
>> program needs to start from startup folder with system start.

>
> if it is self-written you should be able to fix the behavior that is
> causing UAC to pop up. Is it trying to write\modify a file in the
> \Windows or \Program Files hierarchy? Modify data in the registry at
> HKLM?
>
> Fix the issue, not bypass the security is the correct way to go.
>


You are absolutely right, but I tried everything under permissions
and security and didn't succeed yet. I gave full access to files and
are logged in as admin. No luck.
Helge
 
Reply With Quote
 
Helge Haensel
Guest
Posts: n/a
Thanked:
 
      07-07-2011
Am 07.07.2011, 12:22 Uhr, schrieb Ed Cryer <>:

> On 07/07/2011 10:28, Helge Haensel wrote:
>> Hallo NG!
>>
>> I have a self-written pretty simple program under vb5 that always causes
>> UAC to pop up when started. I have several other (vb5-)programs that do
>> not activate UAC. Deactivating UAC lets start the questioned program
>> without any hassle. Is it possible to deactivate UAC exclusively for a
>> program? I do not mean 'Start as Admin' because the program needs to
>> start from startup folder with system start.
>>
>> Vy 73! Helge

>
> It's all a question of Permissions.


That is easily said. But actually you are poking in a black hole

> Right click the program, select Properties, then the Security tab.
> It might be helpful to you if you look at one program that doesn't
> activate UAC, and then your own one. See the difference.


I did that also and didn't find differences.
Helge

>
> Ed

 
Reply With Quote
 
Big Steel
Guest
Posts: n/a
Thanked:
 
      07-07-2011
On 7/7/2011 5:28 AM, Helge Haensel wrote:
> Hallo NG!
>
> I have a self-written pretty simple program under vb5 that always causes
> UAC to pop up when started. I have several other (vb5-)programs that do
> not activate UAC. Deactivating UAC lets start the questioned program
> without any hassle. Is it possible to deactivate UAC exclusively for a
> program? I do not mean 'Start as Admin' because the program needs to
> start from startup folder with system start.
>
>


You should convert the program over to VB.NET You can write the program
to use Standard user rights and not Admin rights. .Net solutions have a
UAC Manifest that can be created in the App.Config so you can tell the
O/S the needed rights the program needs. You can look it up by using
Being or Google.
 
Reply With Quote
 
Big Steel
Guest
Posts: n/a
Thanked:
 
      07-07-2011
On 7/7/2011 8:01 AM, Helge Haensel wrote:
> Am 07.07.2011, 13:18 Uhr, schrieb Seth <>:
>
>>
>> "Helge Haensel" <> wrote in message
>> news...
>>> Hallo NG!
>>>
>>> I have a self-written pretty simple program under vb5 that always
>>> causes UAC to pop up when started. I have several other
>>> (vb5-)programs that do not activate UAC. Deactivating UAC lets start
>>> the questioned program without any hassle. Is it possible to
>>> deactivate UAC exclusively for a program? I do not mean 'Start as
>>> Admin' because the program needs to start from startup folder with
>>> system start.

>>
>> if it is self-written you should be able to fix the behavior that is
>> causing UAC to pop up. Is it trying to write\modify a file in the
>> \Windows or \Program Files hierarchy? Modify data in the registry at
>> HKLM?
>>
>> Fix the issue, not bypass the security is the correct way to go.
>>

>
> You are absolutely right, but I tried everything under permissions
> and security and didn't succeed yet. I gave full access to files and
> are logged in as admin. No luck.
> Helge


And you are not going to succeeded because Program Files and Ssystem32
are protected areas on the Windows 7 O/S. If you have data files, then
they should be put into the ProgramData folder, a hidden folder that you
will have to unhide to see the folder.
 
Reply With Quote
 
Dave \Crash\ Dummy
Guest
Posts: n/a
Thanked:
 
      07-07-2011
Helge Haensel wrote:
> Hallo NG!
>
> I have a self-written pretty simple program under vb5 that always causes
> UAC to pop up when started. I have several other (vb5-)programs that do
> not activate UAC. Deactivating UAC lets start the questioned program
> without any hassle. Is it possible to deactivate UAC exclusively for a
> program? I do not mean 'Start as Admin' because the program needs to
> start from startup folder with system start.


Run the program as a scheduled task using Task Manager. Set it to run
once at startup.
--
Crash

Life is short. Eat dessert first.
 
Reply With Quote
 
Helge Haensel
Guest
Posts: n/a
Thanked:
 
      07-07-2011
Am 07.07.2011, 15:05 Uhr, schrieb Dave "Crash" Dummy
<>:

> Helge Haensel wrote:
>> Hallo NG!
>> I have a self-written pretty simple program under vb5 that always
>> causes UAC to pop up when started. I have several other (vb5-)programs
>> that do not activate UAC. Deactivating UAC lets start the questioned
>> program without any hassle. Is it possible to deactivate UAC
>> exclusively for a program? I do not mean 'Start as Admin' because the
>> program needs to start from startup folder with system start.

>
> Run the program as a scheduled task using Task Manager. Set it to run
> once at startup.


Sorry, doesn't work!
H.
 
Reply With Quote
 
Helge Haensel
Guest
Posts: n/a
Thanked:
 
      07-07-2011
Am 07.07.2011, 14:16 Uhr, schrieb Big Steel <>:

> On 7/7/2011 5:28 AM, Helge Haensel wrote:
>> Hallo NG!
>>
>> I have a self-written pretty simple program under vb5 that always causes
>> UAC to pop up when started. I have several other (vb5-)programs that do
>> not activate UAC. Deactivating UAC lets start the questioned program
>> without any hassle. Is it possible to deactivate UAC exclusively for a
>> program? I do not mean 'Start as Admin' because the program needs to
>> start from startup folder with system start.
>>
>>

>
> You should convert the program over to VB.NET You can write the program
> to use Standard user rights and not Admin rights. .Net solutions have a
> UAC Manifest that can be created in the App.Config so you can tell the
> O/S the needed rights the program needs. You can look it up by using
> Being or Google.


Well, but I do not have VB.Net. Sorry!
H.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Program running on Win7 but wont appear on screen dtallon Windows 7 Support 6 12-08-2010 10:19 AM
how to allow one user program to run? young707 Security 15 07-16-2010 01:05 AM
Disable: This program might not have installed correctly in Windows 7 Nibiru2012 Customization 1 05-19-2010 03:43 PM
Issues with x64 Program Files rahiltg Installation, Setup and Updates 10 11-25-2009 04:00 PM
Program files and Program files (*86) jordeangjelovik General Discussion 3 10-27-2009 08:36 PM


All times are GMT +1. The time now is 09:27 AM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

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