![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 Specs![]() |
| | #5 (permalink) |
| | 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 Specs![]() |
![]() |
| 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 | |||