VB script needed: Load the (win7) default profile & add a RunOnce entry for sccm 2012 TS OSD
Posted on 2014-04-04
VB script needed: Load the (win7) default profile & add a RunOnce entry.
Eventually to be used in as task sequence in SCCM 2012 R2 OS-Deployment-if that make any difference in permissions or impersonations, etc.
I have sampled several people's scripts for IE settings, wallpaper, etc. but after editing them down for just what I need, I just can't get any of them to work (errors) when I test them in a command window.
Don't know much about VB scripting...so instead of posting the different scripts I've tried:
Does anyone have a down and dirty VB script for:
-Loading the default profile's registry hive;
-writing a NEW string value (REG_SZ) entry in the RunOnce key; &
-unloading the hive?