Quote: Originally Posted by abuttino
I am writing a batch file for a group of people that might or might not know how to run as admin. I would like to know if there are any files or varibles that are different for the admin or the current user.
If you are needing to identify the privilege level of a user programatically and act on this information - I think you would be better looking to write your code in PowerShell rather in a simple batch.
I believe that PS has all the tools you will need. I have not worked with it personally yet, (it's on my ToDo list
There are a lot of tutorials available on he web and I have seen sites that will help you with specific problems that arise