When we get new computers on out domain, it helps if we run gpupdate /force a few times. I have a batch file that runs that command 3 times. However, each time I do that, I need to answer "do you want to logout?" How can I run GPUPDATE /FORCE then input the answer N then run GPUPDATE /FORCE a second time without me needing to touch it?
Use:
echo N| xxxcommand
Thank you, it's working
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |