FWIW - the MapDrive() UDF that I wrote can update the label. I works on all platforms, including Windows 8, 8.1, and 10. That UDF uses the same logic as your VB code converted to Kix. One thing that this UDF does is waits for a valid connection after mapping before writing the drive label.

The latest version - 1.5 - can be downloaded from my web site. Use it as is or not, you might be able to see what's not working with your code.

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