• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 936
  • Last Modified:

How can I force a script to run under the NT AUTHORITY/SYSTEM account ?

please help
0
itbabe
Asked:
itbabe
  • 3
  • 3
1 Solution
 
MorDrakkaCommented:
Hi,

Can you do so by creating a scheduled task ?

M.
0
 
itbabeAuthor Commented:
I would like to do this by edting the script.
0
 
kevin_uk05Commented:
What sort of script?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
itbabeAuthor Commented:
vbscript
0
 
kevin_uk05Commented:
What is current setup. The best way to have a script run under the system account is to run the script at computer startup via Group Policy, what does the script do?
0
 
itbabeAuthor Commented:
But I would like it to run under the system account even when I run it under a local admin account and start the script myself.
0
 
kevin_uk05Commented:
Download PSEXEC and then run the following from a command line

psexec.exe -i -s wscript.exe C:\YourScript.VBS

This will run the script under the Local System Account.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now