Solved

How to find who is the Local System Account?

Posted on 2016-10-01
8
63 Views
Last Modified: 2016-11-09
I have 2 accounts(admin1 and admin2) both have same rights,administrator rights
,so i use a tool called ''nssm''becouse i want to run a .bat file as system and the tool is super ok but Have only 2 options:

    1.Log on as Local System Account + this option i desire: Allow service interract with Desktop

    2.Use this account(set user and pass),this allow me to run only in backround
If i set 1'st option the tool runs on Admin2 desktop after i restart the PC and i want to run only in admin1, so i want to make ADMIN1 the oly Local System Account


P.S
I think the tool not so good..any ideas?
thanks
0
Comment
Question by:john lambert
[X]
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
8 Comments
 
LVL 95

Expert Comment

by:John Hurst
ID: 41824995
Right Click on Computer and select Manage. Go to Users and Groups, Users and the users will list on the right. See if there is a description (you can also select Properties of any user).
0
 
LVL 34

Expert Comment

by:ste5an
ID: 41825168
What kind of batch is it and how often do you want to run it?

Maybe scheduled tasks is an option.
0
 
LVL 70

Accepted Solution

by:
Qlemo earned 500 total points
ID: 41825269
A process can only interact with the desktop of the same user (by default). Everything different needs special and sophisticated setup.
A scheduled task (as mentioned above) with a user can interact with the desktop of that user, so it should be a solution. You do not need any additional application to manage this.

But to give better advice, we would need to know the details of what you want to do and the batch does.
1
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 70

Assisted Solution

by:Qlemo
Qlemo earned 500 total points
ID: 41826173
From private message:

well i use a Scanner.bat and i need to run it 24/24h with all costs,even if they restart or log off my acc., the .bat file must run as system and start only on my desktop(we are 4 administrators) every time rdp Power is ON.
You can't do that, unless your RDP session is running 24/7 too. As said, a scheduled task has to run under the same account as yours to be able to display a window. Running the batch as System by changing the account inside the batch file is feasible, but tricky and prone to failure. Whatsoever, logging off your RDP session kills the task.
If you want to run the task without need to have a RDP session, you won't get a window ever.

The only reliable way is to have a generator and a viewer process running independent from each other. The generator process might e.g. write into a file, changed each day to make cleanup easy (if kind of logging), or a file replaced which each go and only containing the most recent  results (whatever they are).
1
 

Author Comment

by:john lambert
ID: 41826354
someone work for a such of script using some c# things etc....
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 41826376
Without knowing what the script does, no-one will be able to tell. You can try to create a Gig project for this with a suitable description.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 41827032
John, your setup is not clear to me.
Running processes as system and at the same time visible on your desktop is possible using psexec -s -i some.exe, by the way. psexec is downloadable from Microsoft.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

728 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