6 Ocak 2016 Çarşamba

Gpupdate /force Logon script olarak çalıştırma / Gpupdate /force option initially run as a logon script


Gpupdate /force seçeneğinizi başlangıçta logon script olarak çalıştırma.


Gpupdate /force option initially run as a logon script

'VB Script for Refreshing GroupPolicy Settings silently
'Created: 06/01/2016
'Created By: hakanoncel.blogspot.com

Dim WshShell
Set WshShell = CreateObject("Wscript.Shell")
WshShell.Run "gpupdate.exe /target:user /force /wait:0",0,true
Set WshShell = Nothing
'Hand back the errorlevel
Wscript.Quit(Result)

Share:

0 yorum:

Yorum Gönder

Blog Arşivi