Reducing network utilization
Windows provides several features that presume the use of a large, fast hard-disk.
While many of these features can also be useful on a diskless system where the disk is actually on the network, using them decreases cache effectiveness and thereby increases network utilization. In an environment that is sensitive to network utilization, consider reducing the effect of these features by disabling them or adjusting their properties.
In particular, offline folders are not useful on a diskless system and can be detrimental to the performance of Windows on a diskless system. Offline folders cache network files — a feature that is not applicable to a system where all files are on the network.
All of these features are configurable through the target device itself. The following features are configurable in the Windows Group Policy.
- Offline Folders
- Event Logs
Configuring Windows features on a standard vDisk
- Prepare a Standard Image vDisk for configuration.
- Shut down all target devices that use the Standard Image vDisk.
- From the Console, change the Disk Access Mode to Private Image.
- Boot one target device.
- Configure one or more features.
- Prepare the Standard Image vDisk for use
- Shut down the target device previously used to configure the vDisk.
- From the Console, change the Disk Access Mode to Standard Image.
- Boot one or more target devices.
Configuring the recycle bin
If you disable the recycle bin, files are deleted immediately. Consequently, the file system reuses respective disk sectors and cache entries sooner.
To configure the recycle bin:
- From the target device, or Windows Explorer, right-click the Recycle Bin.
- Select Properties.
- Select Global.
- Select from the following settings:
- Use one setting for all drives
- Do not move files to the Recycle Bin. Remove files immediately when deleted.
Configuring offline folders
Disabling offline folders is strongly recommended to prevent Windows from caching network files on its local disk – a feature with no benefit to a diskless system. Configure this feature from the target device or using Windows Group Policy.
To configure from the target device:
- Open Windows Explorer.
- Select Tools>Folder Options.
- Select Offline Folders.
- Uncheck Enable Offline Folders.
To configure using the Windows Group Policy:
On the domain controller, use the Microsoft Management Console with the Group Policy snap-in
to configure the domain policies for the following:
Object | User Coniguration\Administrative Templates\Network\Offline Files |
---|---|
Policy | Disable user configuration of offline files |
Setting | Enabled |
Policy | Synchronize all offline files before logging off |
Setting | Disabled |
Policy | Prevent use of the Offline Files folder |
Setting | Enabled |
Configuring event logs
Reduce the maximum size of the Application, Security, and System logs. Configure this feature using the target device or Windows Group Policy.
To configure event logs, on the target device:
- Select Start>Settings>Control Panel.
- Open Administrative Tools>Event Viewer.
- Open the properties for each log.
- Set the Maximum log size to a relatively low value. Consider 512 kilobytes.
To configure using the Windows Group Policy:
On the domain controller, use the Microsoft Management Console with the Group Policy snap-in to configure the domain policies for the following object:
Object | Computer Configuration\Windows Settings\Event Log\Settings for Event Logs |
---|---|
Policy | Policy Maximum Application Log Size |
Setting | Relatively low value. Consider 512 kilobytes. |
Policy | Maximum Security Log Size |
Setting | Relatively low value. Consider 512 kilobyte. |
Policy | Maximum System Log Size |
Setting | Relatively low value. Consider 512 kilobytes. |
Disabling Windows automatic updates
If you have the Windows automatic updates service running on your target device, Windows periodically checks a Microsoft web site and looks for security patches and system updates. If it finds updates that have not been installed, it attempts to download them and install them automatically. Normally, this is a useful feature for keeping your system up-to-date. However, in a Provisioning Services implementation using Standard Image mode, this feature can decrease performance, or even cause more severe problems. This is because the Windows automatic updates service downloads programs that fill the write cache. When using the target device’s RAM cache, filling the write cache can cause your target devices to stop responding.
Re-booting the target device clears both the target device and Provisioning Services write cache. Doing this after an auto-update means that the automatic update changes are lost, which defeats the purpose of running automatic updates. (To make Windows updates permanent, you must apply them to a vDisk while it is in Private Image mode, as described below).
To prevent filling your write cache, disable the Windows Automatic Updates service for the target device used to build the vDisk.
To disable the Windows automatic updates feature:
- Select Start>Settings>Control Panel>Administrative Tools.
- Select System.
- Click the Automatic Updates tab.
- Select the Turn Off Automatic Updates radio button.
- Click Apply.
- Click OK.
- Select Services.
- Double-click the Automatic Updates service.
- Change the Startup Type by selecting Disabled from the drop-down list.
- If the Automatic Updates service is running, click the Stop button to stop the service.
- Click OK to save your changes.
To make Windows updates permanent:
- Shut down all target devices that share the vDisk.
- Change the vDisk mode to Private image.
- Boot one target device from that vDisk.
- Apply Windows updates.
- Shut down the target device.
- Change vDisk mode to Standard image.
- Boot all target devices that share this vDisk.