JSI Tip 10143. You cannot access a WebDAV Web folder from Windows XP?

Jerold Schulman

February 7, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When you use a drive letter mapped to a WebDAV Web folder, you receive Disk is not formatted. When you use a UNC path, you receive \serverwebfolderfolder is not accessible.When you use the command prompt, you receive File Not Found.

This behavior will occur on any Service Pack for the 32-bit edition, or on the x64 edition, if the collective size of all file attributes in a folder exceeds 1 MB, approximately 1,000 bytes per file.

I have scripted WebDAVlimit.bat to alter the maximum number of files that can be stored in a WebDAV Web folder.

The syntax for using WebDAVlimit.bat is:

WebDAVlimit NumberOfFiles

Where NumberOfFiles ranges between 1000 and 999999.

WebDAVlimit.bat contains:

@echo offsetlocalif {%1}
{} goto ERRif {%1}
{0} goto ERRset  OK=%1call :quiet>nul 2>&1if "%OK%" NEQ "%numb%" goto ERRset /a numb=%1if %numb% LSS 1000 goto ERRif %numb% GTR 999999 goto ERRset /a numb=%numb% * 1000@echo reg add HKLMSYSTEMCurrentControlSetServicesWebClientParameters /V FileAttributesLimitInBytes /T REG_DWORD /F /D %numb%reg add HKLMSYSTEMCurrentControlSetServicesWebClientParameters /V FileAttributesLimitInBytes /T REG_DWORD /F /D %numb%net stop webclientnet start webclient endlocalgoto :EOF:ERR@echo Syntax: WebDAVlimit FileLimit (1000 - 999999).endlocalgoto :EOF:quietset /a numb=%OK%



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like