cawasaki
asked on
script install KB in GPO computer logon script
Hi,
i need to install a windows KB944043 with gpo
i have windows 2008 Active Directory and Windows xp computers
i need a script to place them in computer logon script, this script check:
- if a kb is already installed, the script close and not install kb
- if kb is not installed, the script lunch KB install with /q parameters and reboot the computer
thanks
i need to install a windows KB944043 with gpo
i have windows 2008 Active Directory and Windows xp computers
i need a script to place them in computer logon script, this script check:
- if a kb is already installed, the script close and not install kb
- if kb is not installed, the script lunch KB install with /q parameters and reboot the computer
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Oh and this assumes the user is an admin.
ASKER
hi
strPackage = "KB944043.msi"
my file is .exe and not .msi
and user not admin!!!
any help?
thanks
strPackage = "KB944043.msi"
my file is .exe and not .msi
and user not admin!!!
any help?
thanks
Can still be done just takes more work
ASKER
i prefer computer gpo and not user gpo!
ASKER
any help?
Sorry been busy. Since your not doing it through a log in script. It should work for a nonadmin. The script works the same for .exe and for .msi.
Associate the gpo with a test box and see what kind of results you get. I dont normally do deployments through GPOs so it may or may not work.
Let me know.
Associate the gpo with a test box and see what kind of results you get. I dont normally do deployments through GPOs so it may or may not work.
Let me know.
ASKER
ok guys,
I have use another script, it is very easy: i place this code in the batch file:
wmic qfe list brief|find /i "KB944043"
if errorlevel 1 start KB.exe /quiet /forcerestart
--------
I use Computer gpo to lunch a logon script.
I have placed a script and the KB.exe in NETLOGON folder.
infortunately, its not work!!!
any help?
I have use another script, it is very easy: i place this code in the batch file:
wmic qfe list brief|find /i "KB944043"
if errorlevel 1 start KB.exe /quiet /forcerestart
--------
I use Computer gpo to lunch a logon script.
I have placed a script and the KB.exe in NETLOGON folder.
infortunately, its not work!!!
any help?