wajhiuddin
asked on
how to set registry for "run once"
I need to set a bat file in "HKLM\Software\HKEY_LOCAL_ MACHINE\So ftware\Mic rosoft\Win dows\Curre ntVersion\ RunOnce " Need to know the steps how to add values in the this registry entries
Please do not through the links to follow becasue I had them already and they all very confusing and thats why Iam here so I can get some steps to follow
Thanks
Please do not through the links to follow becasue I had them already and they all very confusing and thats why Iam here so I can get some steps to follow
Thanks
ASKER
need more details
REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f]
REG ADD "HKLM\Software\HKEY_LOCAL_ MACHINE\So ftware\Mic rosoft\Win dows\Curre ntVersion\ RunOnce" /v MyBatFile /t REG_SZ /d "C:\MyFolder\MyBatFile.BAT "
REG ADD "HKLM\Software\HKEY_LOCAL_
Above command should be run in command prompt..
ASKER
It dodn't work but I was able to set manually and it did work. Now I am trying to export this registry to other machines using unattended bat file but this bat file gives me a worning "Are you sure you want to add infor....."
with the option "Yes" and "No" any ideas how I can automate this??
Thanks
with the option "Yes" and "No" any ideas how I can automate this??
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Why dont you use group policy for this ?
http://zienkiewicz.eu/?p=63
also explained in method 2 here
http://www.winhelponline.com/blog/disable-ie8-tour-welcome-screen-runonce-all-users/
http://zienkiewicz.eu/?p=63
also explained in method 2 here
http://www.winhelponline.com/blog/disable-ie8-tour-welcome-screen-runonce-all-users/
ASKER
This works Thanks
Does that help?