Error 1327 Invalid drive

  • ID dell'articolo: 31161
  • Aggiornato il: 05 nov 2013

Issue

Deployment of a Sophos package from the Sophos Enterprise Console or manually running the setup.exe causes the msi to fail with the following error:

1327, Invalid Drive <driveletter>

First seen in

Sophos Anti-Virus for Windows 2000+

Cause

The installer tries to access the network location to confirm it has the necessary rights. This issue occurs when the access attempt is performed as the computers SYSTEM account rather than a user account and the SYSTEM account does not have the necessary rights to the network location.

This can be caused when the folder redirection has been performed on the HKLM registry hive instead of the HKCU hive. Microsoft's KBA on folder redirection can be found here: http://support.microsoft.com/kb/242557

Note that (as described in the above link) the modified hive should be HKCU. The HKLM hive should retain the default settings so that the SYSTEM account accesses it's local resources instead of attempting to access the network.

What To Do

Before continuing read our warning on making changes to the registry.

You will need to make two changes:

  1. Revert the HKLM hive back to the defaults (If required, see Further Information below)
  2. Configure the folder redirection on the HKCU hive so that users can still access the redirected folders. See Microsoft KBA242557

Further Information

By default the registry values under:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
all point to %ALLUSERSPROFILE%\ at the beginning of the path. 

The registry values under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders 
all point to C:\Documents and Settings\All Users\ or %ALLUSERSPROFILE%\ at the beginning of the path.

Usually you will find that only a few of the keys under these locations have been modified, so a quick check of which keys have been edited and which keys have not will show which format to use. If unsure, compare against another machine.

Group Policy or a start-up script can be used to deploy the change across a wider scale. 

 
Per maggiori informazioni o per assistenza, vi preghiamo di contattare il supporto tecnico.

Valutate l'articolo

Molto scadente Eccellente

Commenti