Tag Info

New answers tagged

1

There isn't anything inherently wrong with using the SYSTEM account - it is an extremely high priveleged account, higher even then the local administrators group. The big thing is being sure that not only the script / executable itself is clean but also whatever input it'll be using (if any). Using one of the other security principles such as the network ...


1

The impact of running scheduled tasks as System is that System is a very highly privileged account. Even more powerful than an administrator. What this means is that your scheduled task has all the privileges it needs to completely trash the system if your scheduled task is misconfigured, or if something malicious is inserted into your batch file, etc. ...


0

In my experience, this is a UAC issue. The script needs elevation to complete successfully.


0

Have a root around with Process Explorer. You might find that an instance of CONHOST.EXE is still lurking around (i.e.: an instance spawned for your console app). Now, I haven't done any C coding since ~1997, and that was with Borland C++ (i.e.: pre .NET framework). However, your code doesn't have an explicit return code - not sure if this would cause the ...


2

I reported this bug to Microsoft last year, via our 3rd party support company. They acknowledged it as a bug, but refused to fix without a high business impact - I was hacking something in development at the time. In my research I discovered that the correct profile will be used if you have an interactive session running as the user your scheduled task is ...


2

Figured out how to do it myself. It's somewhat of a workaround but that's what I expected to get. Alright, first step is to grab a program called AutoLogon.exe from Microsoft: http://technet.microsoft.com/sv-se/sysinternals/bb963905.aspx Stop! Don't cringe just yet. Read on... Run it, set it so that Administrator should log on automatically. Create a ...


0

It's all about the Session that your program runs in. If no one is logged in, there's no interactive session to display under, I believe it runs under Session 0, which has a weird UI that doesn't show up like the others. Now, if your program detects when explorer.exe launches (or some other way to detect user login) and magically remorphed itself or ...


13

I have a program that is launched on system startup using Task Scheduler on Windows Server 2012. The program must start even if the computer reboots automatially. Then why do you not make it a system service, as the windows specs define? How can I solve this? You can not. Background programs are not supposed to interact with the UI. Or: the UI ...



Top 50 recent answers are included