PC Review
Forums
Newsgroups
Windows XP
Windows XP Embedded
Problems setting Key with DUA - Please Help!
Forums
Newsgroups
Windows XP
Windows XP Embedded
Problems setting Key with DUA - Please Help!
![]() |
Problems setting Key with DUA - Please Help! |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
hi all, I posted this weeks ago, no response, I hope someone can help me...
John Macintyre, hope you will read this post !!! ;-)) I can create Keys in the reg, but when I want to set a value, there is a problem. The value is created, but is NOT set! I have tried several times, but always the same result. Here is the sample script from the msdn - doesn't work! REGCREATEKEY,, HKEY_LOCAL_MACHINE ,, SYSTEM\CurrentControlSet\SampleKey , DAREG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS REGSETVALUE,,HKEY_LOCAL_MACHINE,,SYSTEM\CurrentControlSet\SampleKey,,SampleV alue,DAREG_SZ,,Hello World I have activated the DUA Logging, it reports: DUAgent Service - Command: 9 Succeded. DUAgent Service - Command: 11 Succeded. I have really no idea whats the problem, any help would be fine! Thanks in advance. Mario |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Hi, Peter!
> Could someone please help on this issue, please > > I have the same issue as Mario, and tried alot of things but the value is > never set :-( > As I see it could be a DUA bug. You can try aviod problem if for instance put all registry command in to the .reg file and ask DUA to download this file and execute regedit /s temp.reg HTH, Nick -- Nikolai Vorontsov Quadrox NV |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Hi Nikolai
That works, thanks. I am wondering, that the MS guys take no action on this thread. It's clear that this is not a specific bug on my build... Peter has the same problem. thanks mario "Nikolai Vorontsov" <nickviz@mail.ru> wrote in message news:uNN4htHbDHA.2284@TK2MSFTNGP12.phx.gbl... > Hi, Peter! > > > > Could someone please help on this issue, please > > > > I have the same issue as Mario, and tried alot of things but the value is > > never set :-( > > > > As I see it could be a DUA bug. You can try aviod problem if for > instance put all registry command in to the .reg file and ask DUA to > download this file and execute regedit /s temp.reg > > HTH, > Nick > > -- > Nikolai Vorontsov > Quadrox NV > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Nice to hear, we can do this another way, but would like a comment from MS
about this issue Could you please tell me the command you have used in your DUA script to excute regedit Thx /peter "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message news:e2qRcCIbDHA.1384@TK2MSFTNGP10.phx.gbl... > Hi Nikolai > > That works, thanks. > I am wondering, that the MS guys take no action on this thread. > It's clear that this is not a specific bug on my build... Peter has the same > problem. > > thanks > mario > > > "Nikolai Vorontsov" <nickviz@mail.ru> wrote in message > news:uNN4htHbDHA.2284@TK2MSFTNGP12.phx.gbl... > > Hi, Peter! > > > > > > > Could someone please help on this issue, please > > > > > > I have the same issue as Mario, and tried alot of things but the value > is > > > never set :-( > > > > > > > As I see it could be a DUA bug. You can try aviod problem if for > > instance put all registry command in to the .reg file and ask DUA to > > download this file and execute regedit /s temp.reg > > > > HTH, > > Nick > > > > -- > > Nikolai Vorontsov > > Quadrox NV > > > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Thanks alot, works just fine.
Now I only have one problem left with Embedded news:OodJXt5aDHA.2928@tk2msftngp13.phx.gbl /Peter "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message news:OYKKE0IbDHA.2548@TK2MSFTNGP09.phx.gbl... > hi peter > > heres the command: > > EXECUTEPROCESS,,,,c:\windows\system32\regedt32.exe,,/s > d:\dua\updates\hotfix.reg,DASPECIAL,4294967295,,DASEC_REV,,,,DASEC_REV,,,,,, > c:\windows,1,,WinSta0\Default > > I exported the reg entrys from xpp... > > mario > > "Peter" <@> wrote in message news:eqh%23MsIbDHA.880@TK2MSFTNGP09.phx.gbl... > > Nice to hear, we can do this another way, but would like a comment from MS > > about this issue > > > > Could you please tell me the command you have used in your DUA script to > > excute regedit > > > > Thx > > > > /peter > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > > news:e2qRcCIbDHA.1384@TK2MSFTNGP10.phx.gbl... > > > Hi Nikolai > > > > > > That works, thanks. > > > I am wondering, that the MS guys take no action on this thread. > > > It's clear that this is not a specific bug on my build... Peter has the > > same > > > problem. > > > > > > thanks > > > mario > > > > > > > > > "Nikolai Vorontsov" <nickviz@mail.ru> wrote in message > > > news:uNN4htHbDHA.2284@TK2MSFTNGP12.phx.gbl... > > > > Hi, Peter! > > > > > > > > > > > > > Could someone please help on this issue, please > > > > > > > > > > I have the same issue as Mario, and tried alot of things but the > value > > > is > > > > > never set :-( > > > > > > > > > > > > > As I see it could be a DUA bug. You can try aviod problem if for > > > > instance put all registry command in to the .reg file and ask DUA to > > > > download this file and execute regedit /s temp.reg > > > > > > > > HTH, > > > > Nick > > > > > > > > -- > > > > Nikolai Vorontsov > > > > Quadrox NV > > > > > > > > > > > > > > > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Thats interesting, I had/have the same problem with the user interface core!
But now I am using my custom shell, so I cant see a start menü when I launch the explorer... have you any errors in your fbalog or event log, so we can look into possible accordances?! "Peter" <@> wrote in message news:upTCFLJbDHA.2620@TK2MSFTNGP09.phx.gbl... > Thanks alot, works just fine. > > Now I only have one problem left with Embedded > news:OodJXt5aDHA.2928@tk2msftngp13.phx.gbl > > > /Peter > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > news:OYKKE0IbDHA.2548@TK2MSFTNGP09.phx.gbl... > > hi peter > > > > heres the command: > > > > EXECUTEPROCESS,,,,c:\windows\system32\regedt32.exe,,/s > > > d:\dua\updates\hotfix.reg,DASPECIAL,4294967295,,DASEC_REV,,,,DASEC_REV,,,,,, > > c:\windows,1,,WinSta0\Default > > > > I exported the reg entrys from xpp... > > > > mario > > > > "Peter" <@> wrote in message > news:eqh%23MsIbDHA.880@TK2MSFTNGP09.phx.gbl... > > > Nice to hear, we can do this another way, but would like a comment from > MS > > > about this issue > > > > > > Could you please tell me the command you have used in your DUA script to > > > excute regedit > > > > > > Thx > > > > > > /peter > > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > > > news:e2qRcCIbDHA.1384@TK2MSFTNGP10.phx.gbl... > > > > Hi Nikolai > > > > > > > > That works, thanks. > > > > I am wondering, that the MS guys take no action on this thread. > > > > It's clear that this is not a specific bug on my build... Peter has > the > > > same > > > > problem. > > > > > > > > thanks > > > > mario > > > > > > > > > > > > "Nikolai Vorontsov" <nickviz@mail.ru> wrote in message > > > > news:uNN4htHbDHA.2284@TK2MSFTNGP12.phx.gbl... > > > > > Hi, Peter! > > > > > > > > > > > > > > > > Could someone please help on this issue, please > > > > > > > > > > > > I have the same issue as Mario, and tried alot of things but the > > value > > > > is > > > > > > never set :-( > > > > > > > > > > > > > > > > As I see it could be a DUA bug. You can try aviod problem if for > > > > > instance put all registry command in to the .reg file and ask DUA to > > > > > download this file and execute regedit /s temp.reg > > > > > > > > > > HTH, > > > > > Nick > > > > > > > > > > -- > > > > > Nikolai Vorontsov > > > > > Quadrox NV > > > > > > > > > > > > > > > > > > > > > > > > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
I am seeing the same results with this command. You could argue that this
is a documentation problem - but I won't make that arguement The commandreference should really be 11, [ErrorMode], hKey, [ExpandMode], Key, [ExpandMode], ValueName, Type, [Size,] Value A size parameter is only needed for DAREG_NONE, DAREG_BINARY, DAREG_LINK, DAREG_RESOURCE_LIST, DAREG_MULTI_SZ. For value types that do not require a size - you should leave out the parameter entirely. DUA will look at the type and based on this information determine if the next parameter should be the size or the value. In the command you included DUA sees that the type is REGSZ and expects the next parameter to be the value. Since the next value is specified as a null string - DUA assumes this is the value you want to set and moves on (this is why the command shows as a success). It ignores anything beyond the last parameter. The real bug is that we should catch this when you compile your script. So you will find that this command sets an empty string: REGSETVALUE,,HKEY_LOCAL_MACHINE,,SYSTEM\CurrentControlSet\SampleKey,,SampleV alue,DAREG_SZ,,Hello World Whereas this command actually sets the value: REGSETVALUE,,HKEY_LOCAL_MACHINE,,SYSTEM\CurrentControlSet\SampleKey,,SampleV alue,DAREG_SZ,Hello World Sorry for the confusion. - John This posting is provided "AS IS" with no warranties, and confers no rights. "Peter" <@> wrote in message news:eKECcRHbDHA.1644@TK2MSFTNGP10.phx.gbl... > Hi > > Could someone please help on this issue, please > > I have the same issue as Mario, and tried alot of things but the value is > never set :-( > > /Peter > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > news:OVb7c99aDHA.2308@TK2MSFTNGP12.phx.gbl... > > hi all, I posted this weeks ago, no response, I hope someone can help > me... > > John Macintyre, hope you will read this post !!! ;-)) > > > > I can create Keys in the reg, but when I want to set a value, there is a > > problem. > > The value is created, but is NOT set! > > > > I have tried several times, but always the same result. > > Here is the sample script from the msdn - doesn't work! > > > > REGCREATEKEY,, HKEY_LOCAL_MACHINE ,, SYSTEM\CurrentControlSet\SampleKey , > > DAREG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS > > > > > REGSETVALUE,,HKEY_LOCAL_MACHINE,,SYSTEM\CurrentControlSet\SampleKey,,SampleV > > alue,DAREG_SZ,,Hello World > > > > > > I have activated the DUA Logging, it reports: > > DUAgent Service - Command: 9 Succeded. > > DUAgent Service - Command: 11 Succeded. > > > > I have really no idea whats the problem, any help would be fine! > > Thanks in advance. > > > > Mario > > > > > > |
|
|
|
#8 |
|
Guest
Posts: n/a
|
Great, now it works...
Thanks John! Mario "John Macintyre [MS]" <johnmac@online.microsoft.com> wrote in message news:emVKyAMbDHA.1580@tk2msftngp13.phx.gbl... > I am seeing the same results with this command. You could argue that this > is a documentation problem - but I won't make that arguement Thecommand > reference should really be > > 11, [ErrorMode], hKey, [ExpandMode], Key, [ExpandMode], ValueName, Type, > [Size,] Value > > A size parameter is only needed for DAREG_NONE, DAREG_BINARY, DAREG_LINK, > DAREG_RESOURCE_LIST, DAREG_MULTI_SZ. For value types that do not require a > size - you should leave out the parameter entirely. DUA will look at the > type and based on this information determine if the next parameter should be > the size or the value. In the command you included DUA sees that the type > is REGSZ and expects the next parameter to be the value. Since the next > value is specified as a null string - DUA assumes this is the value you want > to set and moves on (this is why the command shows as a success). It > ignores anything beyond the last parameter. The real bug is that we should > catch this when you compile your script. > > So you will find that this command sets an empty string: > REGSETVALUE,,HKEY_LOCAL_MACHINE,,SYSTEM\CurrentControlSet\SampleKey,,SampleV > alue,DAREG_SZ,,Hello World > > Whereas this command actually sets the value: > REGSETVALUE,,HKEY_LOCAL_MACHINE,,SYSTEM\CurrentControlSet\SampleKey,,SampleV > alue,DAREG_SZ,Hello World > > Sorry for the confusion. > - John > > This posting is provided "AS IS" with no warranties, and confers no rights. > > "Peter" <@> wrote in message news:eKECcRHbDHA.1644@TK2MSFTNGP10.phx.gbl... > > Hi > > > > Could someone please help on this issue, please > > > > I have the same issue as Mario, and tried alot of things but the value is > > never set :-( > > > > /Peter > > > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > > news:OVb7c99aDHA.2308@TK2MSFTNGP12.phx.gbl... > > > hi all, I posted this weeks ago, no response, I hope someone can help > > me... > > > John Macintyre, hope you will read this post !!! ;-)) > > > > > > I can create Keys in the reg, but when I want to set a value, there is a > > > problem. > > > The value is created, but is NOT set! > > > > > > I have tried several times, but always the same result. > > > Here is the sample script from the msdn - doesn't work! > > > > > > REGCREATEKEY,, HKEY_LOCAL_MACHINE ,, SYSTEM\CurrentControlSet\SampleKey > , > > > DAREG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS > > > > > > > > > REGSETVALUE,,HKEY_LOCAL_MACHINE,,SYSTEM\CurrentControlSet\SampleKey,,SampleV > > > alue,DAREG_SZ,,Hello World > > > > > > > > > I have activated the DUA Logging, it reports: > > > DUAgent Service - Command: 9 Succeded. > > > DUAgent Service - Command: 11 Succeded. > > > > > > I have really no idea whats the problem, any help would be fine! > > > Thanks in advance. > > > > > > Mario > > > > > > > > > > > > |
|
|
|
#9 |
|
Guest
Posts: n/a
|
Hi Mario
Have found the solution thanks to Fred :-) very weird issue. "Is your development computer in English? I had the same behavior (i.e.. "User Interface Core" settings have no effect) with a French development computer version. I changed my regional settings to English, and now "User Interface Core" setting work perfectly! I don't know how regional settings of the development computer can impact on the final target but it does!! Hope this help, Fred." /Peter "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message news:#s9lmTJbDHA.2328@TK2MSFTNGP09.phx.gbl... > Thats interesting, I had/have the same problem with the user interface core! > But now I am using my custom shell, so I cant see a start menü when I launch > the explorer... > > have you any errors in your fbalog or event log, so we can look into > possible accordances?! > > > > "Peter" <@> wrote in message news:upTCFLJbDHA.2620@TK2MSFTNGP09.phx.gbl... > > Thanks alot, works just fine. > > > > Now I only have one problem left with Embedded > > news:OodJXt5aDHA.2928@tk2msftngp13.phx.gbl > > > > > > /Peter > > > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > > news:OYKKE0IbDHA.2548@TK2MSFTNGP09.phx.gbl... > > > hi peter > > > > > > heres the command: > > > > > > EXECUTEPROCESS,,,,c:\windows\system32\regedt32.exe,,/s > > > > > > d:\dua\updates\hotfix.reg,DASPECIAL,4294967295,,DASEC_REV,,,,DASEC_REV,,,,,, > > > c:\windows,1,,WinSta0\Default > > > > > > I exported the reg entrys from xpp... > > > > > > mario > > > > > > "Peter" <@> wrote in message > > news:eqh%23MsIbDHA.880@TK2MSFTNGP09.phx.gbl... > > > > Nice to hear, we can do this another way, but would like a comment > from > > MS > > > > about this issue > > > > > > > > Could you please tell me the command you have used in your DUA script > to > > > > excute regedit > > > > > > > > Thx > > > > > > > > /peter > > > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > > > > news:e2qRcCIbDHA.1384@TK2MSFTNGP10.phx.gbl... > > > > > Hi Nikolai > > > > > > > > > > That works, thanks. > > > > > I am wondering, that the MS guys take no action on this thread. > > > > > It's clear that this is not a specific bug on my build... Peter has > > the > > > > same > > > > > problem. > > > > > > > > > > thanks > > > > > mario > > > > > > > > > > > > > > > "Nikolai Vorontsov" <nickviz@mail.ru> wrote in message > > > > > news:uNN4htHbDHA.2284@TK2MSFTNGP12.phx.gbl... > > > > > > Hi, Peter! > > > > > > > > > > > > > > > > > > > Could someone please help on this issue, please > > > > > > > > > > > > > > I have the same issue as Mario, and tried alot of things but the > > > value > > > > > is > > > > > > > never set :-( > > > > > > > > > > > > > > > > > > > As I see it could be a DUA bug. You can try aviod problem if for > > > > > > instance put all registry command in to the .reg file and ask DUA > to > > > > > > download this file and execute regedit /s temp.reg > > > > > > > > > > > > HTH, > > > > > > Nick > > > > > > > > > > > > -- > > > > > > Nikolai Vorontsov > > > > > > Quadrox NV > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
|
|
|
#10 |
|
Guest
Posts: n/a
|
I have already read the postig....
really funny, that the develop machine settings take an effect on this mario "Peter" <@> wrote in message news:eo7WPuTbDHA.2588@TK2MSFTNGP09.phx.gbl... > Hi Mario > > Have found the solution thanks to Fred :-) very weird issue. > > "Is your development computer in English? > I had the same behavior (i.e.. "User Interface Core" settings have no > effect) with a French development computer version. I changed my regional > settings to English, and now "User Interface Core" setting work perfectly! I > don't know how regional settings of the development computer can impact on > the final target but it does!! > > Hope this help, > Fred." > > /Peter > > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > news:#s9lmTJbDHA.2328@TK2MSFTNGP09.phx.gbl... > > Thats interesting, I had/have the same problem with the user interface > core! > > But now I am using my custom shell, so I cant see a start menü when I > launch > > the explorer... > > > > have you any errors in your fbalog or event log, so we can look into > > possible accordances?! > > > > > > > > "Peter" <@> wrote in message news:upTCFLJbDHA.2620@TK2MSFTNGP09.phx.gbl... > > > Thanks alot, works just fine. > > > > > > Now I only have one problem left with Embedded > > > news:OodJXt5aDHA.2928@tk2msftngp13.phx.gbl > > > > > > > > > /Peter > > > > > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > > > news:OYKKE0IbDHA.2548@TK2MSFTNGP09.phx.gbl... > > > > hi peter > > > > > > > > heres the command: > > > > > > > > EXECUTEPROCESS,,,,c:\windows\system32\regedt32.exe,,/s > > > > > > > > > > d:\dua\updates\hotfix.reg,DASPECIAL,4294967295,,DASEC_REV,,,,DASEC_REV,,,,,, > > > > c:\windows,1,,WinSta0\Default > > > > > > > > I exported the reg entrys from xpp... > > > > > > > > mario > > > > > > > > "Peter" <@> wrote in message > > > news:eqh%23MsIbDHA.880@TK2MSFTNGP09.phx.gbl... > > > > > Nice to hear, we can do this another way, but would like a comment > > from > > > MS > > > > > about this issue > > > > > > > > > > Could you please tell me the command you have used in your DUA > script > > to > > > > > excute regedit > > > > > > > > > > Thx > > > > > > > > > > /peter > > > > > "Mario Dambauer" <mario_dambauer@i-one.at> wrote in message > > > > > news:e2qRcCIbDHA.1384@TK2MSFTNGP10.phx.gbl... > > > > > > Hi Nikolai > > > > > > > > > > > > That works, thanks. > > > > > > I am wondering, that the MS guys take no action on this thread. > > > > > > It's clear that this is not a specific bug on my build... Peter > has > > > the > > > > > same > > > > > > problem. > > > > > > > > > > > > thanks > > > > > > mario > > > > > > > > > > > > > > > > > > "Nikolai Vorontsov" <nickviz@mail.ru> wrote in message > > > > > > news:uNN4htHbDHA.2284@TK2MSFTNGP12.phx.gbl... > > > > > > > Hi, Peter! > > > > > > > > > > > > > > > > > > > > > > Could someone please help on this issue, please > > > > > > > > > > > > > > > > I have the same issue as Mario, and tried alot of things but > the > > > > value > > > > > > is > > > > > > > > never set :-( > > > > > > > > > > > > > > > > > > > > > > As I see it could be a DUA bug. You can try aviod problem if for > > > > > > > instance put all registry command in to the .reg file and ask > DUA > > to > > > > > > > download this file and execute regedit /s temp.reg > > > > > > > > > > > > > > HTH, > > > > > > > Nick > > > > > > > > > > > > > > -- > > > > > > > Nikolai Vorontsov > > > > > > > Quadrox NV > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

The command
