View Single Post
26 Nov 2009  
Barman58

Windows 8.1 Pro x64 x3 + Windows 10 Preview, Ubuntu
 
 

Quote   Quote: Originally Posted by abuttino View Post
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
My System SpecsSystem Spec