Or, maybe just stop using %WINDIR% for non-Windows components? That whole concept is so "Windows NT" (and earlier).

I create a folder in C:\Program Files, put KixForms.DLL there and register it using the full path. Works on all versions, including Windows 8 and Server 2012. I haven't touched the Windows folder structure for years.

The warnings are coming up for a reason and rather than finding a way to circumvent them, just follow best practice and keep non-Windows components elsewhere.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D