Ethan Darwin
asked on
Group Policy to execute BCDEDIT
I need to execute the following command on all workstations:
"C:\Windows\system32>bcded it /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?
"C:\Windows\system32>bcded
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?
(b)? What b?
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
Ideally i only want it run once.
Oh, it takes less than a second to execute.
If you don't want to"wait", go like this
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
ASKER
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.
ASKER
I am unsure of where to start with (b)