BackOffice Products
1834816 Members
2832 Online
110070 Solutions
New Discussion

Windows equivalent of UNIX "script" command

 
Raynald Boucher
Super Advisor

Windows equivalent of UNIX "script" command

Hello all,

Is there a way to log all commands to a file in a Windows XP environment?

Here is what I'm aiming at:
Windows update (IE -> tools -> Windows Update) allows installation of multiple patches without prompting the user.
When I try to install some patches in batch uninterrupted mode, the process gets interupted by prompts and hangs.

I suspect the Windows app submits the patch installation command with some parameters or sets/refers to some environment variables. A trace file could let me know.

In any case, I would really like to know how to install patches unattended, specially these days where there is one per week.

Thanks
Ray
1 REPLY 1
Rune J. Winje
Honored Contributor

Re: Windows equivalent of UNIX "script" command

/u unattended
/q quiet
/z no reboot

http://support.microsoft.com/?id=296861

Also if in a corporate environment have a look at Software Update Service which gives you better control over which patches are installed and saves some bandwidth.

Check out the demo and info here:
http://www.microsoft.com/windowsserversystem/sus/default.mspx


Cheers,
Rune