Since Server Core lacks the interface required to obtain status information, you must obtain it at
the command prompt. To obtain Windows Update status, type
CScript %SYSTEMROOT%\system32\
SCRegEdit.WSF /AU /V
and press Enter. The script outputs a simple status indicator as shown in
Figure 3.2. You may find that you want to perform the update immediately. In this case, you type
WUAUClt /DetectNow
and press Enter. The server uses its Internet connection to perform an immediate
update.
42 CHAPTER 3
PERFORMING ESSENTIAL MAINTENANCE TASKS
Figure 3.2
Verify that Windows
Update is actually set
to run on the server.
If you choose at a later time not to perform an update, you can tell the Windows Update server
to stop by typing
Net Stop WUAUServ
and pressing Enter. The Windows Update server stops
immediately. If you want to disable Windows Update completely, type
CScript %SYSTEMROOT%\
system32\SCRegEdit.WSF /AU 1
and press Enter. The ???Working with Services??? section of Chapter 1
tells you more about working with services from Task Manager. Make sure you also review the
???Controlling Services with the SC Command??? of this chapter to discover how to control services
from the command line.
Pages:
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167