Print View

driveremap.exe does not complete from a command line when remapping Citrix server drives


When using driveremap.exe to remap server drives on a Citrix server from the command line, the process never completes and leaves the server with high CPU utilisation.

The System event log has the following error continually:

Event Type: Error
Event Source: Application Popup
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.

When tracing the process it ends up in a endless loop acessing the following resources:

DrvRemap.exe:236 SET INFORMATION D:\Documents and Settings\build\NTUSER.DAT.LOG * 0xC000026E Length: 45056

DrvRemap.exe:236 DeleteValueKey HKCU\Software\Microsoft\Windows\ShellNoRoam\MUICache\@C:\WINDOWS\inf\unregmp2.exe,-161 c000017d

The registry key may vary, but it will always be a subkey of HKEY_CURRENT_USER.


It would appear that the drive remapping has dismounted the drive with the profiles before completing the remap process.

Possible causes are:

- Profiles on D: causing unexpected results
- Additional resources not copied from the CD

Posible resolutions are:

- Run driveremap.exe from a network drive with a copy of the CD image
- Copy driveremap.exe, DriveRemapUI.dll, msvcr70.dll and the Support folder from the CD to the local server

If running as an unattended install, launching from the RunOnceEx key does not complete successfully, possibly because the HKEY_CURRENT_USER registry key is not loaded completely.

0xC000026E STATUS_VOLUME_DISMOUNTED: The specified volume is no longer mounted
0xC000017D STATUS_NO_LOG_SPACE: The system could not allocate the required space in a registry log.


Citrix Presentation Server 4.5

Created: 28th March 2008
Updated: 28th March 2008

Print View

© 2005-2024 Jamie Morrison