To: Technical
Executing a command under the context of that account, whether through a batch file, an application, or SSMS isn't elevating your privilegesApparently you're not clever enough to submit a 'login' command in a batch script file with Administrator credentials? And then do your dirty work, and end with a deletion of log file entries, followed by a 'logout' command?
441 posted on
08/12/2021 10:04:16 AM PDT by
RideForever
(Trollin', trollin', trollin', keep those lies a-rollin' ...)
To: RideForever
Sure - you can authenticate in a batch file with admin credentials...
But if you already have admin credentials, you can just log in with them and do what you want. The batch file isn't giving you any special powers...! Yikes.
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson