TimeSync update!
hi all,
We need to create a package in exe format (wise package studio) which executes two commands: "W32tm /config /syncfromflags:DOMHIER /update" and "Gpupdate /force".
however when we execute the 2nd "Gpupdate/force" command through batch file it enters into an infinite loop. however if we give this command through command prompt it does the needful successfully. unable to predict the reason behind it.
i want to run the package silently without any cmd screen popup.
Plz help me out.
We need to create a package in exe format (wise package studio) which executes two commands: "W32tm /config /syncfromflags:DOMHIER /update" and "Gpupdate /force".
however when we execute the 2nd "Gpupdate/force" command through batch file it enters into an infinite loop. however if we give this command through command prompt it does the needful successfully. unable to predict the reason behind it.
i want to run the package silently without any cmd screen popup.
Plz help me out.
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
AngelD
16 years ago
Posted by:
karshi
16 years ago
Thankx for ur reply.
i have tried giving "wait" but it didn't help. I will try with "%ComSpec% /c".
However we tried with "/x /c gpupdate /force" and gave the defaultdir as "sys32, it is now not entering in infinite loop. But am not very clear about this behaviour.
Also we noticed that reboot is required to see the change.
Thanx again for ur help.
i have tried giving "wait" but it didn't help. I will try with "%ComSpec% /c".
However we tried with "/x /c gpupdate /force" and gave the defaultdir as "sys32, it is now not entering in infinite loop. But am not very clear about this behaviour.
Also we noticed that reboot is required to see the change.
Thanx again for ur help.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.