Deploy Windows Deployment Services (WDS) Step by Step
A great step by step Windows Deployment Services setup including creating and deploying images. The tutorial can be found by clicking here
Remove all local profiles with exceptions
Copy the below code to notepad and rename as a vbs file. Example – DeleteLocalProfiles.vbs. If the script does not work, re-enter the speech marks ( ” )
Const LocalDocumentsFolder = “C:\Documents and Settings\”
set objFSO = createobject(“Scripting.FileSystemObject”)
set objFolder = objFSO.GetFolder(localdocumentsfolder)
on error resume next
for each fldr in objFolder.SubFolders
if not isexception(fldr.name) then
objFSO.DeleteFolder fldr.path, True
end if
next
Function isException(byval foldername)
select case foldername
case “All Users”
isException = True
case “Default User”
isException = True
case “LocalService”
isException = True
case “NetworkService”
isException = True
case “Administrator”
isException = True
case Else
isException = False
End Select
End Function
Remove Local Profiles Via Script
If you wish to remove a selected number of local profiles via script but not all, for example remove all local profiles starting with 80 or 90 or pc etc, you can use the below script as a bat fileand run on system startup or shutdown via group policy.
Please note, deleting local profiles will also delete the my documents folder within the profile unless you have my documents folder redirection configured.
@echo off
c:
cd\documents and settings
for /f %%f IN (‘dir /b 10*; dir /b 11*; dir /b 12*;) DO rd /s /q %%f
Change the numbers 10, 11, 12 as required. The above script will delete local profiles starting with 10, 11 or 12.
Flash Player Directory Location
If Flash Player is installed on your machine, it will be located at:
C:\WINDOWS\system32\Macromed\Flash
The MSI files cannot be found. They need to be in the same location as ClientSetup.exe
Check that the below files are located in the same directory. If not add them in and run command again.
clientsetup.exe
fcsssa.msi
mp_ambits.msi
momagent.msi
There is a problem with this Windows Installer package
If you are unable to uninstall WSUS and receive the above error, use the Windows CleanUp utility to remove the installation.
There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
1) Click start
2) Click run
3) Type %temp% and press enter
4) In most cases, you can safely delete the contents. If you are not sure, copy files or folders to a different location.
5) Delete all files and folders. The ones which you are unable to delete, you can skip.
6) Try the install process again, should work.
The last catalog synchronization attempt was unsuccessful
WSUS catalog synchronization depends on connectivity to the upstream server or Microsoft Update.
A possible fix is:
1) Start WSUS 3.0
2) Click Options
3) Click Update Source and Proxy Server
4) Review update source settings and make changes as needed
5) Review proxy server settings and make changes as needed
6) Click Synchronization
7) In the action pane click Synchronize Now
If the synchronisation is successful the above error may have occured due to a minor network issue.
An I/O operation initiated by the Registry failed unrecoverably
If you receive multiples of the below error within your event log, the fix is to restart the server.
Source: Application Popup
Category: STATUS_WAIT_0
Type: Error
Event ID: 333
Description: An I/O operation initiated by the Registry failed unrecoverably.
The Registry could not read in, or write out, or flush, one of the files that contain the system’s image of the Registry.
Content file download failed. Reason: CRC verification failure. Source File
If you receive an error similar to the one below:
Error:
Content file download failed. Reason: CRC verification failure. Source File:
/msdownload/update/v3-19990518/cabpool/windowsserver2003.windowsxp-kb908531-v2-x64-enu_ed601a11a3ab95665ef8ac0c9e5db12008090225.exe
Destination File:
C:\WSUS\WsusContent\d3\ED601A11A3AB95665EF8AC0C9E5DB12008090225.exe.
Resolution:
Delete the file C:\WSUS\WsusContent\d3\ED601A11A3AB95665EF8AC0C9E5DB12008090225.exe if it exists
Check that your web filtering software is not blocking access
