Subscribe to Windows IT Pro
September 17, 2001 12:00 AM

Obtain Higher Rights

Windows IT Pro
InstantDoc ID #22201
Rating: (0)

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.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.