:: SetVB6RTPerms.cmd :: resets file permissions on an NTFS system :: so all users can access the VB6 runtimes :: when installed to the default %systemroot%\System32 cacls %systemroot%\System32\msvbvm60.dll /E /G everyone:R cacls %systemroot%\System32\OLEAUT32.DLL /E /G everyone:R cacls %systemroot%\System32\OLEPRO32.DLL /E /G everyone:R cacls %systemroot%\System32\ASYCFILT.DLL /E /G everyone:R cacls %systemroot%\System32\STDOLE2.TLB /E /G everyone:R cacls %systemroot%\System32\COMCAT.DLL /E /G everyone:R