Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Groups = wntAccessList("","\\%ServerName%\d$\dirname" , 300, 0)The problem is that I can not retrieve all users/groups if I run a script on a windows OS different than the remote servers. ex: the script is run 2000 (or XP), and file server is 2003 and vs.
However, If the script is run on a Windows OS the same as the remote server OS (ex: 2000 and 2000), then I can retrieve all the Users/Groups information.
If I just add the servername in the first double-quote and it works. Why?
Groups = wntAccessList("%ServerName%","\\%ServerName%\d$\dirname" , 300, 0)
Article ID: W17070
File Created: 2007:07:03:14:28:04
Last Updated: 2007:07:03:14:28:04