The latest version of the PowerShell Application Deployment Kit (https://psappdeploytoolkit.codeplex.com/) has the following: Invoke-HKCURegistrySettingsForAllUsers It might be worth a look. . . From: [email protected] To: [email protected] Subject: Re: [MDT-OSD] RunOnce for Each User Date: Wed, 26 Nov 2014 18:52:57 +0000
If your using MDT, use ZTI-DefaultUser http://blogs.technet.com/b/deploymentguys/archive/2008/06/06/useful-script-number-5-adjusting-the-default-user-registry-hive.aspx Sent from Windows Mail From: Marcum, John Sent: Tuesday, November 25, 2014 17:12 To: [email protected] I didn't get the expected results. How can I verify that the key is in the default user runonce? From: [email protected] [mailto:[email protected]] On Behalf Of Niall Brady Sent: Tuesday, November 25, 2014 12:19 PM To: [email protected] Subject: Re: [MDT-OSD] RunOnce for Each User something like thius http://www.windows-noob.com/forums/index.php?/topic/10471-customization-of-internet-explorer-9-hkcu-key-problems/ On Tue, Nov 25, 2014 at 7:17 PM, Niall Brady <[email protected]> wrote: copy it to the default user account as a run once reg key entry. On Tue, Nov 25, 2014 at 7:04 PM, Marcum, John <[email protected]> wrote: I have a script that I need to run once for each user at first logon. How would I set that up in my TS? The script will be local on the machine. John Marcum MCITP, MCTS, MCSA Desktop Architect Bradley Arant Boult Cummings LLP Confidentiality Notice: This e-mail is from a law firm and may be protected by the attorney-client or work product privileges. If you have received this message in error, please notify the sender by replying to this e-mail and then delete it from your computer. Confidentiality Notice: This e-mail is from a law firm and may be protected by the attorney-client or work product privileges. If you have received this message in error, please notify the sender by replying to this e-mail and then delete it from your computer. Confidentiality Notice: This e-mail is from a law firm and may be protected by the attorney-client or work product privileges. If you have received this message in error, please notify the sender by replying to this e-mail and then delete it from your computer.
