Migrating WSUS, Error in Microsoft Documentation or is it me?


i migrating our wsus server 2003 server new 2008 build. found new migration document here.
http://technet.microsoft.com/en-us/library/ee822824(ws.10).aspx#bkmk_svridentity

very handy getting server work downstream server did nothing me. anyway...


i following steps , going ok until need change server identity power shell script.

[reflection.assembly]::loadwithpartialname("microsoft.updateservices.administration")$updateserver = [microsoft.updateservices.administration.adminproxy]::getupdateserver()$config = $updateserver.getconfiguration()$config.serverid = [system.guid]::newguid()$config.save()

when run following error

[reflection.assembly]::loadwithpartialname("microsoft.updateservices.administration")$updateserver = [microsoft.updateservices.administration.adminproxy]::getupdateserver()$config = $updateserver.getconfiguration()$config.serverid = [system.guid]::newguid()$config.save()
unexpected token 'updateserver' in expression or statement.
at line:1 char:86

so turns out there wrong updateserver variable. powershell knowledge not best sure here. need declare $updateserver variable before run script or have run powershell script way or error in document? or there way change wsus server id way without having run script @ all.

this last step me great if can right.

as older wsus server still hosting services there way turn off wsus without uninstalling it? stopping update services service this?

three things you'll want do, sure:

1. stop , disable update services service.

2. stop , disable windows internal database service (assuming nothing else using it),
    or if wsus server using sql server , sql server needs stay running, detach database database service.

3. disable webservices:
    a. if wsus web-based service installed on machine, can stop and disable the world wide web publishing service.
    b. if cannot stop w3svc, if "wsus administration" website being used (port 8530), stop website.
    c. if cannot stop w3svc, in default website, remove v-dirs supporting wsus, particularly /selfupdate , /content, prevent clients accessing resources. if /selfupdate inaccessible, wuagent not attempt connect other v-dir in site (of course, disabled update services service prevent responses webservices). removing /content necessary because connections initiated bits, not wuagent, , may left over. (in fact, should ensure client downloading activity completed prior bouncing gpo new server, downloading original server no longer necessary.)

lawrence garvin, m.s., mcitp:ea, mcdba, mcsa
principal/cto, onsite technology solutions, houston, texas
microsoft mvp - software distribution (2005-2009)
my mvp profile: http://mvp.support.microsoft.com/profile/lawrence.garvin
my blog: http://onsitechsolutions.spaces.live.com


Windows Server  >  WSUS



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...