From: OlivierT on
I will check the path.
In the event log, I've got nothing. All is blue...

I'm going to reinstall Windows and test again.

Olivier

"Ace Fekay [MVP - Directory Services]" wrote:

> I agree with Chris. You do not create that key. The system creates it
> for the currently logged on user account.
>
> You stated in created it in this location.
> HCU\Software\Microsoft\Windows
>
> It should exist in:
> HCU\Software\Microsoft\Windows\CurrentVersion\Run
>
> But it looks like it was just a typo, since you stated the correct
> path in your original post.
>
> Are there any errors in the Event logs?
>
> Ace
>
>
>
> On Tue, 20 Apr 2010 08:55:02 -0700, OlivierT
> <OlivierT(a)discussions.microsoft.com> wrote:
>
> >Thank you for your responses but it doesn't work with my win 2008 R2.
> >
> >I create Run key under HCU\Software\Microsoft\Windows. In Run Key, I create
> >2 entries with REG_SZ named a and b.
> >I tryed to execute the command by the Run menu and it works fine.
> >
> >When I logoff and login again, the command doesn't lunched.
> >
> >Olivier
> >
> >
> >"Ace Fekay [MVP - Directory Services]" wrote:
> >
> >> On Mon, 19 Apr 2010 11:36:42 -0600, "Dave Patrick"
> >> <DSPatrick(a)nospam.gmail.com> wrote:
> >>
> >> >Ace,
> >> >
> >> >HKEY_USERS\.DEFAULT subkey is not for new users. It is loaded when no one is
> >> >logged on aka (system account) For current_user you would, as you mentioned,
> >> >need to have the user logged on or edit the users hive by loading (File|Load
> >> >Hive) ntuser.dat within their profile folder.
> >> >
> >> >\Default User profile uses ntuser.dat in \default user directory.
> >>
> >>
> >> Thanks for the correction. :-)
> >>
> >> As for the User Run key, I would imagine if he can identify the SID of
> >> the user, he can change it in HKEY_USERS, too. Sometimes if an account
> >> has problems such as from a virus, if there are any other accounts,
> >> I've logged in as the other account (as long as an admin account), and
> >> went in there to check and change the user's Run key, if anything
> >> looks suspicious.
> >>
> >> Ace
> >> .
> >>
> .
>
From: OlivierT on
I reinstall windows and all works correctly.
I suppose I had something wrong in my windows.

Thank you.

Olivier

"Ace Fekay [MVP - Directory Services]" wrote:

> I agree with Chris. You do not create that key. The system creates it
> for the currently logged on user account.
>
> You stated in created it in this location.
> HCU\Software\Microsoft\Windows
>
> It should exist in:
> HCU\Software\Microsoft\Windows\CurrentVersion\Run
>
> But it looks like it was just a typo, since you stated the correct
> path in your original post.
>
> Are there any errors in the Event logs?
>
> Ace
>
>
>
> On Tue, 20 Apr 2010 08:55:02 -0700, OlivierT
> <OlivierT(a)discussions.microsoft.com> wrote:
>
> >Thank you for your responses but it doesn't work with my win 2008 R2.
> >
> >I create Run key under HCU\Software\Microsoft\Windows. In Run Key, I create
> >2 entries with REG_SZ named a and b.
> >I tryed to execute the command by the Run menu and it works fine.
> >
> >When I logoff and login again, the command doesn't lunched.
> >
> >Olivier
> >
> >
> >"Ace Fekay [MVP - Directory Services]" wrote:
> >
> >> On Mon, 19 Apr 2010 11:36:42 -0600, "Dave Patrick"
> >> <DSPatrick(a)nospam.gmail.com> wrote:
> >>
> >> >Ace,
> >> >
> >> >HKEY_USERS\.DEFAULT subkey is not for new users. It is loaded when no one is
> >> >logged on aka (system account) For current_user you would, as you mentioned,
> >> >need to have the user logged on or edit the users hive by loading (File|Load
> >> >Hive) ntuser.dat within their profile folder.
> >> >
> >> >\Default User profile uses ntuser.dat in \default user directory.
> >>
> >>
> >> Thanks for the correction. :-)
> >>
> >> As for the User Run key, I would imagine if he can identify the SID of
> >> the user, he can change it in HKEY_USERS, too. Sometimes if an account
> >> has problems such as from a virus, if there are any other accounts,
> >> I've logged in as the other account (as long as an admin account), and
> >> went in there to check and change the user's Run key, if anything
> >> looks suspicious.
> >>
> >> Ace
> >> .
> >>
> .
>