I found the trouble. I'm trying to change a value at
HKLM\System\CurrentControlSet\Print\Printers and the key Printers don't
appears until the service "Printer queue" is started. I'm going to try to
start this service first and ask for the key until the access is granted. If
somebody have another method... this will be wellcome!!!
"\RemS" <RemS@xxxxxx> escribió en el mensaje
> "G Aranda" wrote:
>> Ok... the trouble, is that when I put something on the start up "Machine
>> Configuration" from the OU Policies, there is no user loged on the
>> machine... the machine is starting.
>> "Pegasus (MVP)" <I.can@xxxxxx> escribió en el mensaje
>> > "G Aranda" <nospam@xxxxxx> wrote in message
>> > news:OJZIgvbRJHA.1160@xxxxxx
>> >> Hi everyone,
>> >> I want to know wich user is executing the code that we put on a server
>> >> on
>> >> the "Machine Configuration" to be executed on the start up (WSF). I
>> >> have
>> >> a problem on the Windows XP registry, because I'm unable to change
>> >> somes
>> >> values from this user.
>> >> Thanks in advance to evyone,
>> >> G Aranda
>> > The environmental variable %UserName% tells you the current user.
> What is key you like to edit?
> Have you already tried to accomplish this with a logonscript at User
> or is there a special reason for linking a user configuration script to a
> group of computers independent which users logon? Then you could use
> processing or, you could extend the user logonscript code so it is able to
> determine the computer and the OU that computer is in.