Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2007-11-27
7
880 Views
Last Modified: 2013-11-25
please help
0
Comment
Question by:itbabe
  • 3
  • 3
7 Comments
 
LVL 6

Expert Comment

by:MorDrakka
ID: 20358912
Hi,

Can you do so by creating a scheduled task ?

M.
0
 

Author Comment

by:itbabe
ID: 20358932
I would like to do this by edting the script.
0
 
LVL 10

Expert Comment

by:kevin_uk05
ID: 20358962
What sort of script?
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:itbabe
ID: 20358969
vbscript
0
 
LVL 10

Expert Comment

by:kevin_uk05
ID: 20359009
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
 

Author Comment

by:itbabe
ID: 20359132
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
 
LVL 10

Accepted Solution

by:
kevin_uk05 earned 500 total points
ID: 20359197
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The purpose of this article is to demonstrate how we can use conditional statements using Python.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question