I need a vbs script that I can deploy using group policy that will copy file to users desktop and each subsequent logon overwite the file or check if exists and halt
WshShell.ExpandEnvironmentStrings("%logonserver%\netlogon\fileshare\file.txt" and %userprofile%
if your file/s are small then i would go for this as it means (typically) the user will be dumping the file from the 'best place', alternatively (and perhaps less likely to naff off your AD guys) a DFS share will work in a similar fashion and pick the right server based on AD site location
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.