What I’m looking for is how I can set parts of a batch file to run as say my account the admin….
In my script I have “net time \\server /set /yes” and that will sync the time with the network server but when logon to a restricted user they can run that part it gives them an error can I set that part to run as an admin account for certain parts and if so how can I do that?