Skip navigation

Obtain Higher Rights

Sometimes Administrator rights are too weak for tasks we need to accomplish. The situation is frustrating when you try to end a process that seems to be causing problems and you obtain an Access denied message, or you want to change access rights and can't.

To gain more power than you have with simple Administrator rights, you can use Windows NT's At command. This command depends on the Scheduler service. The Scheduler service's default startup setting is System Account. You can use a simple, one-line batch file that contains the function taskmgr.exe (e.g., mytask.bat), as in the following example:

at 17:30 /interactive "c:\bats\mytask.bat" 

In my example, mytask.bat resides in the \bats directory. The /interactive parameter lets you use the taskmgr.exe function directly.

Be careful in employing this procedure. Test the procedure on an NT workstation before you use it on your company's servers. In addition, plan your experiment for quitting time so that you have all night to recover the system if necessary.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish