Skip to main content

Changing Default Port of WSUS Server from 8530 to 80?

Problem : How to change Default Port of WSUS Server from 8530 to 80?

Environment : Windows Server 2008 R2 with WSUS 3.0 SP2

Solution :

1) Go to Start -> RUN -> inetmgr

2) Go to "WSUS Administration" Site

3) Under "Edit Site", click on "Bindings"

3) Change the port from 8530 to 80, and click OK

4) Open Registry Editor with Start -> RUN -> regedit

5) Goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup

6) Change "Port Number" Value to "80"

7) Goto Command prompt and type following command
cscript "WSUS Installation Location\Update Services\setup\installselfupdateonport80.vbs
e.g.
"cscript "c:\Program Files\Update Services\setup\installselfupdateonport80.vbs"
C:\Windows\system32>cscript "c:\Program Files\Update Services\setup\installselfupdateonport80.vbs"

Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

SetupSelfupdateTree: Finding the index of the Web site on which WUS is installed...
SetupSelfupdateTree: Leaving GetWUSWebSiteIndex.
SetupSelfupdateTree: Finding the index of the web site bound to port 80...
SetupSelfupdateTree: iWebSiteIndex: 2 ServerBindings: :8080:index: 0
SetupSelfupdateTree: iWebSiteIndex: 179262852 ServerBindings: :80:index: 0
SetupSelfupdateTree: Found the index of site on Port 80: 179262852
SetupSelfupdateTree: rootMetabasePath: IIS://LocalHost/W3SVC/179262852/ROOT
SetupSelfupdateTree: szPort80RootPath=C:\Program Files\Update Services\WebServices\Root\
SetupSelfupdateTree: iWusWebSiteIndex=179262852 iPort80WebSiteIndex=179262852
SetupSelfupdateTree: Warning: This is standalone WUS install. No need to do configuration for SxS install.
Success: InstallSelfupdateOnPort80 succeeded.


8) You Have Done It!!!
   :)

Comments

  1. You're so interesting! I do not believe I've truly read something like that before.
    So great to discover someone with a few unique thoughts on this issue.

    Seriously.. many thanks for starting this up. This website is one thing
    that is needed on the web, someone with a little originality!


    Feel free to visit my blog - longtailpro (www.squidoo.com)

    ReplyDelete
  2. Thank you. Keep visiting the page for new things.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Am facing the same issue with my server 2012. Have just installed and client computers have not reported to the WSUS. How have tried to use the method elaborated above but it doesn't seem to work for me. This installselfupdateonport80.vbs is not recognized.
    If anybody can assist please.

    ReplyDelete
  5. I have followed same but no luck, I am getting error like "Can't connect to server "xxx servername" The server may be using another port or different secure sockets layer setting.

    ReplyDelete
  6. Can you please help me out on this issue: I have followed same but no luck, I am getting error like "Can't connect to server "xxx server name" The server may be using another port or different secure sockets layer setting.

    ReplyDelete
  7. Can some one help me out on above issue.. Thanks for your help in advance.

    ReplyDelete

Post a Comment

Popular posts from this blog

Windows Server 2008 R2 always boots in recovery mode

If you are facing below Issues :
- You faced the Windows Server 2008 R2 Clean boot issue
- Windows Server 2008 R2 starts in recovery mode
- After installing windows updates on Windows server 2008 R2 system goes in recovery mode after reboot
- Safe mode also doesn't work in above case and get stuck at classpnp.sys

Then this is the solution for all above:

1. Boot into Windows Recovery Mode
2. Open Command Prompt
3. Type:

sfc /SCANNOW /OFFBOOTDIR=C:\  /OFFWINDIR=C:\Windows

4. Goto following location :

C:\Windows\winsxs\
Check out for pending.xml file.
If it is present, then DELETE it.

5. Reboot the system.

6. Select normal boot mode. 

You have done it!