It looks like there is a limitation on using regwrite with hex values. Here is a different way to do it. Not as pretty, but it should work.
TQ
'Import Registry Settings
set oFile = CreateObject("scripting.FileSystemObject")
set oShell = CreateObject("wscript.shell")...
This is the best and most complete example I have seen. I use it all the time and I follow their model.
http://www.devguru.com/Technologies/wsh/quickref/wshshell_RegWrite.html
Hope this helps
TQ
Try this to get started, this lists all the groups that a user is a member of. You could easily take this and add your mapped drive logic in the for loop.
Hope this helps
TQ
Dim grp, Root, DomainPath, Domain, sOU, sUser
Set Root = GetObject("LDAP://RootDSE")
DomainPath =...
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.