Learn when you want, where you want with convenient online training courses. Sign up now!
Experts Exchange Solution brought to you by
"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.
sExePath = "\\server\patches\WindowsXP-KB927891-v3-x86-ENU.exe"
sSwitches = "/u /q /z"
Set oShell = CreateObject("WScript.Shell")
sRegKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate"
' suppress error in case values does not exist
On Error Resume Next
' check for marker
sRegMarkerValue = "" ' init value
sRegMarkerValue = oShell.RegRead( sRegKey & "\WindowsXP-KB927891-v3-x86-ENU.exe")
On Error Goto 0
' to be sure update is installed only once, test on marker
If sRegMarkerValue <> "yes" Then
oShell.Run Chr(34) & sExePath & Chr(34) & " " & sSwitches, 1, True
' create marker
oShell.RegWrite sRegKey & "\WindowsXP-KB927891-v3-x86-ENU.exe", "yes"
Open in new window
In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.