On Mon, 19 Apr 2010 08:45:02 -0700, OlivierT
<OlivierT@newsgroup> wrote:
>Hi all,
>
>With Windows 2003, I'm using
>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run to lunch
>process each time the user log in.
>I tryed to create the same key at the same place with Windows 2008 but it
>doesn't work.
>
>How can I do the same with Windows 2008 ? Does the Run Key still exist ?
>
>Thank you,
>
>Olivier Yes, the key does exist, but it only exists when the user is currently
logged on. it is specific to each user account and is only assembled
as part of the logon process. If you try to create or copy it without
a user logged on, such as remotely connecting to a machine with no one
logged on, it won't exist. You would need to look at the HKEY_USERS
hive, which has a copy of all users that have logged on.
There is a ".DEFAULT" key that exists with common settings for new
users, but it does not have a Run key. I haven't tried it, but you can
test creating one to see if it populates either an existing user
account once it logs on, or a new user once they've logged on.
Ace
This posting is provided "AS-IS" with no warranties or guarantees and confers no rights.
Please reply back to the newsgroup or forum for collaboration benefit among responding engineers, and to help others benefit from your resolution.
Ace Fekay, MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services
If you feel this is an urgent issue and require immediate assistance, please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.