So I guess this is why it's not running for me [;-) Thanks for the input so
far though, hopefully I figure this out.

Cheers,
Tony

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 25, 2002 7:21 AM
To: NT 2000 Discussions
Subject: RE: The RunOnce key


Wow! That's contradictory to everything I've ever been told about that key.
I guess you never stop learning new things, uh?


Larry A. Duncan
Field Systems Engineer, Southeast Region
Altiris Inc.
[EMAIL PROTECTED]

T: 615.599.5031
T: 800.869.9747
F: 615.599.5259

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Saraga, Scott l
Sent: Thursday, April 25, 2002 8:52 AM
To: NT 2000 Discussions
Subject: RE: The RunOnce key

"I believe you're looking for the .DEFAULT entry under HKEY_USERS. This is
the default information used for all NEW user accounts created on a system."

Larry, that statement is incorrect. The .DEFAULT entry under HKEY_USERS is
used only when no user is logged on. If you wanted to put a registry key for
all NEW user profiles you would have to perform these steps:

        1. Run Regedt32.exe
        2. Load Hive "%userprofile%\..\default user\NTUSER.DAT"
        3. Create the necessary Key(s)
        4. Unload Hive loaded on step 2

http://www.microsoft.com/windows2000/techinfo/reskit/en-us/regentry/69674.as
p

Scott Saraga

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 3:25 PM
To: NT 2000 Discussions
Subject: OT: The RunOnce key


I believe you're looking for the .DEFAULT entry under HKEY_USERS. This is
the default information used for all NEW user accounts created on a system.
It won't effect existing accounts. For that, you would need to enumerate
each user profile on the system.

HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Runonce

BTW, this would be TOTALLY ON-TOPIC on the Scripting mail list. You can
subscribe to the scripting mail list at:
http://www.topica.com/lists/scripting. It's an active list with over 850
subscribers and 17+ messages a day. But, the content is great and the people
are friendly.



Larry A. Duncan
Field Systems Engineer, Southeast Region
Altiris Inc.
[EMAIL PROTECTED]

T: 615.599.5031
T: 800.869.9747
F: 615.599.5259

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Woods, Tony G AG:EX
Sent: Wednesday, April 24, 2002 12:50 PM
To: NT 2000 Discussions
Subject: OT: The RunOnce key

Hi all,

Just curious where in the registry I could stick a path to a batch file that
would run just once as each new user logs into a PC? It doesn't need to run
each time, just the one time to set one setting on a program that has
settings set in the HKCU\Software\... area.

Cheers,
Tony

Tony Woods MCSE, CNA
Ministry of Attorney General
910 Government Street
Victoria, BC, Canada, Earth
http://www.ag.gov.bc.ca <http://www.ag.gov.bc.ca>


------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002



------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002


------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to