Script for giving a domain group local admin right on workstations

0 comments

Posted on 3rd June 2010 by admin in Windows 2003

option Explicit

Dim objGroup
Dim strComputer

On Error Resume Next

strComputer = “.”
Set objGroup = GetObject(“WinNT://” & strComputer & “/Administrators,group”)

objGroup.add(“WinNT://yourdomain/yourgroup,group”)
Set objGroup = Nothing

Change the location where WSUS stores updates locally

Comments Off

Posted on 9th November 2009 by admin in Windows 2003

,

If you are getting out of space on the drive where you are saving WSUS updates, you can install a new drive and then move the updates to the new location. You can use WSUSUtil.exe with MoveContent command to move the updates to new location.

Eg:

wsusutil movecontent contentpath logfile -skipcopy [/?]

Parameter Definition
contentpath
The new root for content files. The path must exist.
logfile
The path and file name of the log file to create.
-skipcopy
Indicates that only the server configuration should be changed, and that the content files should not be copied.
/help or /?
Displays command-line help for movecontent command.

windows 2003 sp2 setup could not verify the integrity of the file update.inf

Comments Off

Posted on 1st April 2009 by dyadav15 in Windows 2003

Clear the temporary file and restart the hotfix installation or the service pack installation

Note Skip this method if the operating system is Windows 2000.

To clear the temporary file and restart the hotfix installation or the service pack installation, follow these steps:

  1. Delete all the tmp*.cat files in the following folders:

    %systemroot%\system32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE}

    %systemroot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}

  2. Delete all the kb*.cat files in the following folders:
    %systemroot%\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}
    %systemroot%\System32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE}
  3. Delete all the oem*.* files from the %systemroot%\inf folder.
  4. At the command prompt, type the following commands. Press ENTER after each command.
    net stop cryptsvc
    ren %systemroot%\System32\Catroot2 oldcatroot2
    net start cryptsvc
    exit
  5. Restart the failed hotfix installation or service pack installation.

Windows 2003 R2 AD with SP2 – Network connections are empty

Comments Off

Posted on 2nd January 2009 by dyadav15 in Windows 2003

The Service Pack 1 for Windows Server 2003 changed the account that run the RPC service to NetworkService. I changed the account that run this service back to LocalSystem(same that without SP1), and the Network Connections service back to Started state