A.5 AFS Redirector Parameters

The AFS Redirector is implemented with three components: %windir%\system32\drivers\AFSRedir.sys, %windir%\system32\drivers\AFSRedirLib.sys and %windir%\system32\AFSRDFSProvider.dll. These components provide the interface between the Windows Installable File System interface and the WNet application interface and the AFS file system. The

[HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]

Value: DebugFlags

RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]

Type: REG_DWORD

Default: 0

Bit 0 (0x1): Trigger Debug Break on AFSRedir.sys start. Used for kernel debugging.

Bit 1 (0x2): Output trace logging to Kernel Debugger. Used for kernel debugging.

Bit 2 (0x4): Enable Force Crash Ioctl. Checked builds only. Used for force a BSOD.

Bit 3 (0x8): Enable Bug Check on all exceptions. Normally exceptions are caught by handlers. Used during testing.

Bit 4 (0x10): Reserved.

Bit 5 (0x20): Do not start the AFS Redirector if Windows did not perform a clean shutdown.

Value: TraceBufferSize

RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]

Type: REG_DWORD

Default: 0 {0 .. 10000} (KBs)

Specifies the size of the circular trace log buffer allocated within kernel memory. 0 disables trace logging.

Value: TraceLevel

RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]

Type: REG_DWORD

Default: 0 {0..4}

0: No logging; 1: Error; 2: Warning; 3: Verbose; 4: Maximum Verbosity

Value: TraceSubsystem

RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\Parameters]

Type: REG_DWORD

Default: 0

Bit 0 (0x1): I/O Subsystem

Bit 1 (0x2): File Control Blocks and Name Processing

Bit 2 (0x4): Lock Processing (requires Verbose or higher level)

Bit 3 (0x8): Extent Processing

Bit 4 (0x10): Worker Thread Processing

Bit 5 (0x20): Reference counting of directory entries

Bit 6 (0x40): Reference counting of objects

Bit 7 (0x80): Reference counting of volumes

Bit 8 (0x100): Reference counting of file control blocks

Bit 9 (0x200): Garbage Collection

Bit 10 (0x400): Pipe and share processing

Bit 11 (0x800): Directory notification interface

Bit 12 (0x1000): Network Provider support processing

Bit 13 (0x2000): Directory node count processing

Bit 14 (0x4000): PIOCTL processing

Bit 15 (0x8000): Authentication Group creation and assignment

Bit 16 (0x10000): Library load and unload, task queuing

Bit 17 (0x20000): Process creation and destruction

Bit 18 (0x40000): Extent Active counting

Bit 19 (0x80000): Redirector initialization

[HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\NetworkProvider]

Value: Debug

RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider]

Type: REG_DWORD

Default: 0

Set to 1 to log all AFSRDFSProvider Network Provider requests to C:\TEMP\AFSRDFSProvider.log. The C:\TEMP directory cannot be changed and must exist.

Value: Name

RegKey: [HKLM\SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider]

Type: REG_SZ

Default: "OpenAFS Network"

This value defines the name displayed in the Explorer Shell and to which network drive mappings are made.