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 General

Vista - Registry problem

Reply
 
Old 04-12-2007   #1 (permalink)
kbnumesh@gmail.com


 
 

Registry problem


Hi all,

Can any one help in writing to registry?

I am unable to write data to HKLM\Software\Microsoft\windows
\currentversion\Run registry entry.

If this is not allowed then is there any alternative way i can write
my application path so that my application starts when vista starts.

thanks for the help in advance.


Regards,
Umesh P


My System SpecsSystem Spec
Old 04-12-2007   #2 (permalink)
Daze N. Knights


 
 

Re: Registry problem

Put a shortcut to it in the Startup folder?

Daze
-------

kbnumesh@gmail.com wrote:
> Hi all,
>
> Can any one help in writing to registry?
>
> I am unable to write data to HKLM\Software\Microsoft\windows
> \currentversion\Run registry entry.
>
> If this is not allowed then is there any alternative way i can write
> my application path so that my application starts when vista starts.
>
> thanks for the help in advance.
>
>
> Regards,
> Umesh P
>

My System SpecsSystem Spec
Old 04-12-2007   #3 (permalink)
Ronnie Vernon MVP


 
 

Re: Registry problem

You are trying to write to a restricted area of the registry. If you write
to the same location in HKCU, you will not have the problem. Also, you
should include a Manifest with the application define the execution level
that it needs to run.

More information here:



The Windows Vista Developer Story: Windows Vista Application Development
Requirements for User Account Control (UAC):
http://msdn2.microsoft.com/en-us/library/aa905330.aspx

Download details: Windows Vista Application Development Requirements for
User Account Control Compatibility:
http://www.microsoft.com/downloads/d...displaylang=en

Secure It:
http://msdn2.microsoft.com/en-us/win.../aa904985.aspx

User Account Control Overview:
http://technet.microsoft.com/en-us/w...06021.aspx#E2G

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


<kbnumesh@gmail.com> wrote in message
news:1176357452.096150.35380@y80g2000hsf.googlegroups.com...
>
> Hi all,
>
> Can any one help in writing to registry?
>
> I am unable to write data to HKLM\Software\Microsoft\windows
> \currentversion\Run registry entry.
>
> If this is not allowed then is there any alternative way i can write
> my application path so that my application starts when vista starts.
>
> thanks for the help in advance.
>
>
> Regards,
> Umesh P
>


My System SpecsSystem Spec
Old 04-13-2007   #4 (permalink)
kbnumesh@gmail.com


 
 

Re: Registry problem

Hi Ronnie Vernon ,

Thanks for your valuable information.
I am having one more query.

How can i ensure that all the users present in that system,
when logged in to the system using their account should get my
application
running.

In windows XP if i write to HKLM i can acheive but in Vista if I write
to HKCU
i may not able to get the above result.

please help me in this regard.

Regards,
Umesh P


On Apr 13, 7:20 am, "Ronnie Vernon MVP" <r...@invalid.org> wrote:
> You are trying to write to a restricted area of the registry. If you write
> to the same location in HKCU, you will not have the problem. Also, you
> should include a Manifest with the application define the execution level
> that it needs to run.
>
> More information here:
>
> The Windows Vista Developer Story: Windows Vista Application Development
> Requirements for User Account Control (UAC):http://msdn2.microsoft.com/en-us/library/aa905330.aspx
>
> Download details: Windows Vista Application Development Requirements for
> User Account Control Compatibility:http://www.microsoft.com/downloads/d...D=BA73B169-A64...
>
> Secure It:http://msdn2.microsoft.com/en-us/win.../aa904985.aspx
>
> User Account Control Overview:http://technet.microsoft.com/en-us/w...06021.aspx#E2G
>
> --
>
> Ronnie Vernon
> Microsoft MVP
> Windows Shell/User
>
> <kbnum...@gmail.com> wrote in message
>
> news:1176357452.096150.35380@y80g2000hsf.googlegroups.com...
>
>
>
>
>
> > Hi all,

>
> > Can any one help in writing to registry?

>
> > I am unable to write data to HKLM\Software\Microsoft\windows
> > \currentversion\Run registry entry.

>
> > If this is not allowed then is there any alternative way i can write
> > my application path so that my application starts when vista starts.

>
> > thanks for the help in advance.

>
> > Regards,
> > Umesh P- Hide quoted text -

>
> - Show quoted text -



My System SpecsSystem Spec
Old 04-13-2007   #5 (permalink)
Ronnie Vernon MVP


 
 

Re: Registry problem

Umesh

I'm not a developer. I do know that it's possible to write to HKLM as part
of an elevated installation process for your application. But this involves
creating a manifest that sets the appropriate permissions for all users.

Your best bet to resolve this problem and get detailed step-by-step
instructions is to ask your question on the MSDN Forums. The Microsoft
developers who are responsible for designing Vista answer questions there
and they should be able to help.

Here is a link to the Software Development for Windows Vista forums. Pick
the appropriate forum and post your questions there.

MSDN Forums: Software Development for Windows Vista
http://forums.microsoft.com/MSDN/def...ID=24&SiteID=1


--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


<kbnumesh@gmail.com> wrote in message
news:1176446003.805031.152010@p77g2000hsh.googlegroups.com...
> Hi Ronnie Vernon ,
>
> Thanks for your valuable information.
> I am having one more query.
>
> How can i ensure that all the users present in that system,
> when logged in to the system using their account should get my
> application
> running.
>
> In windows XP if i write to HKLM i can acheive but in Vista if I write
> to HKCU
> i may not able to get the above result.
>
> please help me in this regard.
>
> Regards,
> Umesh P
>
>
> On Apr 13, 7:20 am, "Ronnie Vernon MVP" <r...@invalid.org> wrote:
>> You are trying to write to a restricted area of the registry. If you
>> write
>> to the same location in HKCU, you will not have the problem. Also, you
>> should include a Manifest with the application define the execution level
>> that it needs to run.
>>
>> More information here:
>>
>> The Windows Vista Developer Story: Windows Vista Application Development
>> Requirements for User Account Control
>> (UAC):http://msdn2.microsoft.com/en-us/library/aa905330.aspx
>>
>> Download details: Windows Vista Application Development Requirements for
>> User Account Control
>> Compatibility:http://www.microsoft.com/downloads/d...D=BA73B169-A64...
>>
>> Secure It:http://msdn2.microsoft.com/en-us/win.../aa904985.aspx
>>
>> User Account Control
>> Overview:http://technet.microsoft.com/en-us/w...06021.aspx#E2G
>>
>> --
>>
>> Ronnie Vernon
>> Microsoft MVP
>> Windows Shell/User
>>
>> <kbnum...@gmail.com> wrote in message
>>
>> news:1176357452.096150.35380@y80g2000hsf.googlegroups.com...
>>
>>
>>
>>
>>
>> > Hi all,

>>
>> > Can any one help in writing to registry?

>>
>> > I am unable to write data to HKLM\Software\Microsoft\windows
>> > \currentversion\Run registry entry.

>>
>> > If this is not allowed then is there any alternative way i can write
>> > my application path so that my application starts when vista starts.

>>
>> > thanks for the help in advance.

>>
>> > Regards,
>> > Umesh P- Hide quoted text -

>>
>> - Show quoted text -

>
>


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Registry Problem System Security
Registry Problem! Vista General
Registry problem General Discussion
Registry problem Vista General
registry problem 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