How do I make a registry change in SCCM using a domain account and not the local administrator account

I need to make some registry changes for my systems using SCCM. Through GPO, access to registry editing tools have been disabled. When I tried running the regedit /S command it does not work. But the registry tools will work with a domain admin account. Is there any way I can set SCCM to run the command line using the domain admin account. I think it uses the local administrator user by default?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Two ways to look at this :
1 Using SCCM and fiddling a workaround
2 Using ADM policy templates and doing it correctly

1 - SCCM
You can do this in SCCM by running it as a Task sequence and giving it the correct account to run in.  

I am assuming you are running on a domain and your client PCs have the Domain Admin added to the local Administrators group.

In which case run the Task Sequence with:
A command line  cmd.exe /c regedit.exe /s \\servername\servershare\whatever.reg
Run the command using the domain administrators account

2 - ADM Templates
All Group policy does is make registry changes.

You can use Group policy to make the registry changes you require.  Without the need for running "regedit /s whatever.reg"

To do this you use ADM or ADMX templates.  These are templates you add into a group policy object that let you set the registry keys through a group policy.  For further info try this link..


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JYBejeshAuthor Commented:
Thanks MarkieS,

I will try the task sequence and keep you posted. Much appreciated!

JYBejeshAuthor Commented:
Dear MarkieS,

This worked perfectly.. I got to get the registry changes with the task sequence...

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.