PC Review


Reply
Thread Tools Rate Thread

Problems setting Key with DUA - Please Help!

 
 
Mario Dambauer
Guest
Posts: n/a
 
      26th Aug 2003
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


 
Reply With Quote
 
 
 
 
Nikolai Vorontsov
Guest
Posts: n/a
 
      27th Aug 2003
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

 
Reply With Quote
 
Mario Dambauer
Guest
Posts: n/a
 
      27th Aug 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      27th Aug 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
> >

>
>



 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      27th Aug 2003
Thanks alot, works just fine.

Now I only have one problem left with Embedded
news:(E-Mail Removed)


/Peter

"Mario Dambauer" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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%(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > 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
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Mario Dambauer
Guest
Posts: n/a
 
      27th Aug 2003
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:(E-Mail Removed)...
> Thanks alot, works just fine.
>
> Now I only have one problem left with Embedded
> news:(E-Mail Removed)
>
>
> /Peter
>
> "Mario Dambauer" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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%(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > 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" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > 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
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
John Macintyre [MS]
Guest
Posts: n/a
 
      27th Aug 2003
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 command
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:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
> >
> >

>
>



 
Reply With Quote
 
Mario Dambauer
Guest
Posts: n/a
 
      28th Aug 2003
Great, now it works...

Thanks John!

Mario



"John Macintyre [MS]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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

command
> 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:(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      28th Aug 2003
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" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> 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:(E-Mail Removed)...
> > Thanks alot, works just fine.
> >
> > Now I only have one problem left with Embedded
> > news:(E-Mail Removed)
> >
> >
> > /Peter
> >
> > "Mario Dambauer" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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%(E-Mail Removed)...
> > > > 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" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > 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" <(E-Mail Removed)> wrote in message
> > > > > news:(E-Mail Removed)...
> > > > > > 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
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Mario Dambauer
Guest
Posts: n/a
 
      28th Aug 2003
I have already read the postig....

really funny, that the develop machine settings take an effect on this

mario

"Peter" <@> wrote in message news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
> > 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:(E-Mail Removed)...
> > > Thanks alot, works just fine.
> > >
> > > Now I only have one problem left with Embedded
> > > news:(E-Mail Removed)
> > >
> > >
> > > /Peter
> > >
> > > "Mario Dambauer" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > 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%(E-Mail Removed)...
> > > > > 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" <(E-Mail Removed)> wrote in message
> > > > > news:(E-Mail Removed)...
> > > > > > 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" <(E-Mail Removed)> wrote in message
> > > > > > news:(E-Mail Removed)...
> > > > > > > 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
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
setting up a LAN problems =?Utf-8?B?U2hhbmEgTWFzb24=?= Windows XP Networking 4 20th Jun 2006 10:06 PM
Problems setting up ICS =?Utf-8?B?Vml6emFpcg==?= Windows XP Networking 1 30th Mar 2005 08:20 AM
setting up vpn and having problems. =?Utf-8?B?cGhhcjc3?= Windows XP Work Remotely 1 21st Sep 2004 09:47 PM
DPI Setting - Higher setting causes problems in Internet Explorer? ndavey@hemscott.net Windows XP Basics 0 1st May 2004 05:11 PM
Problems setting up new Network. Tim Windows XP Networking 2 11th Sep 2003 08:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:03 PM.