Group Policy to execute BCDEDIT

I need to execute the following command on all workstations:
"C:\Windows\system32>bcdedit /set {default} USEPLATFORMCLOCK on"

Ref:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Virtualization_Host_Configuration_and_Guest_Installation_Guide/#KVM_guest_timing_management-Using_the_Real_Time_Clock_with_Windows_2008_and_later_guests)

Can this be done via group policy?
Ethan DarwinAsked:
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.

Ethan DarwinAuthor Commented:
Hi, got myself confused. (a) is solved.

I am unsure of where to start with (b)
0
McKnifeCommented:
(b)? What b?
0
Ethan DarwinAuthor Commented:
Sorry, my post above was relevant to my original question before I edited it. It had two parts and the first I solved myself however the second remains as printed.
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

McKnifeCommented:
Just save that command as a startup batch script. Set it up as in https://technet.microsoft.com/en-us/library/cc779329(v=ws.10).aspx
0

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
Ethan DarwinAuthor Commented:
I thought of that but wondered if that would result in it being run every time at startup.

Ideally i only want it run once.
0
McKnifeCommented:
Oh, it takes less than a second to execute.
If you don't want to"wait", go like this
If exist %windir%\admin\bcdedit goto end
Md %windir%\admin\bcdedit
bcdedit /set {default} USEPLATFORMCLOCK on
:end

Open in new window

1
Ethan DarwinAuthor Commented:
Thanks, I was not as much concerned with waiting as I was with potential side effects of running the same command multiple times. If it makes no difference to run it daily then the startup batch script will be fine.
0
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
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.