This has been part of our commercial login script for a couple of years now. I know the logic works for legacy scripting, so the test must be for GPO script.

We use this logic to decide if the user's home folder should be mapped manually, most specifically for when a VPN user connects and then wants to run the login script instead of logging in via the VPN.

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