You should really think about organizing your users in Windows NT groups. It'll make administration a lot easier and you can implement security restrictions (e.g. file system security) much easier. As an alternative, if you don't want to use the Windows NT groups, you could create the .INI file that I described. It'll at least streamline your code. The advantage of the Windows NT groups is that you won't have to edit your script at all if you add/remove/reassign a user.
If you need to run the inventpory script every time somebody logs in, the you can write it into HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run (requires administrative rights to write to but is valid for all users on that computer) or HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run (is valid only for the user currently logged in)
_________________________
There are two types of vessels, submarines and targets.