System unauthorizedaccessexception task scheduler When the scheduler launches it, it fails and logs: System. RootFolder. 0 COM object API? Look at the answer in the back of the book and work forward. However, some updates can mess up your system and cause instability, especially automatic updates for legacy software such as graphic card drivers. Read. I have also removed this Batch file and had the Scheduled Task run the PowerShell directly with the same results: c: cd\scripts powershell. Commands Mar 2, 2018 · I'm logged on a domain account which is administrator of this computer, and the provided XML was exported from a task I scheduled manually directly on Windows with the very same account, but I still get this: System. dll, System. Get(); Above code throws the following exception please May 28, 2009 · System. ITaskService Jun 13, 2016 · Exception type: System. While the share permissions were set correctly, the NTFS permissions were missing. New-PSDrive : The specified drive root "\DOMAINSERVER\FOLDERNAME" either does not exist, or it is not a folder. my client windows 10 my remote server windows server 2012R. SomeProgram. Check the Windows Task Scheduler: Start Windows Task Scheduler. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at Microsoft. dll Assemblies: netstandard. My users are continuously getting the following exceptions when creating a task from my application :- System. It works fine running from Visual Studio on my desktop. StartSyncCycle(String overridePolicy, Boolean interactiveMode) 現在、Visual Studioの . I receive the following error: System. UnauthorizedAccessException: 使用 Word Interop 检索 COM 类工厂失败,出现错误代码 80070005。 3 Excel Interop:退出Excel应用程序实例会导致我的测试失败? 3 将C#应用程序作为计划任务运行; 4 C#控制台应用程序使用Interop. exe". Feb 25, 2025 · Get to the Task Scheduler in no time with these easy shortcuts Task Scheduler is a system tool available in all versions of Windows. Jul 19, 2011 · File system check by chdsdk reported no errors; When removing these entries from the project files (by the undo function of the version control system), they were auto-inserted again after a few seconds. And if you want to set the permission for the item, you will need Files. Combine(appdata, configFile); StreamWriter writer = new StreamWriter(configFile); writer. Mar 5, 2024 · Hi @David Tissen, For graph and rest api, you will need at least Files. UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {A1D59B81-C868-4F66-B58F-AC94A4A7982E} failed due to the following error: 80070005. UnauthorizedAccessException: 'Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Yes I tried creating a job Apr 14, 2018 · Hi. But you may be an administrator user, so the task you create requires administrator privileges, but your program runs with non-administrator privileges by default, which causes the current problem. msc. Apr 1, 2021 · System. Then uses that list to connect to all servers and get a list of scheduled tasks. csproj files; Then the problem was We are currently using TaskService to schedule a task. Threading Dec 6, 2011 · System. The same Filestream snippet for the same path is working on a console based C# application, in the sense the file test. Really strange! Solution: Windows restart; Remove auto-inserted IntermediateOutputPath entries from *. Do note, SYSTEM user has full access on your local machine only. Dive deep into PHP coding, troubleshoot Windows issues, and empower yourself with our comprehensive IT knowledge base. Running them under a locked screen works fine, but I can’t get it to run when the user is logged off. UnauthorizedAccessException on Scheduled Task I have a program written in vb . Security. Which means the scheduled task is now working some how. [UnauthorizedAccessException: Access to the path 'C:\inetpub Checked that Administrative Tools/Services/Task Scheduler uses "Local System" as its Log On As account. (User was logged in w You signed in with another tab or window. The user was able to access the remote security eventlog via eventvwr. InvalidOperationException: A sync cycle has already being requested. Fails when trying to run the app on the same machine as the Task Scheduler. Dec 17, 2020 · I have got a task from business to make scheduled task on Exchange Server 2016. Apr 14, 2018 · It could have something to do with the firewall settings, UAC, or group membership on the target server. domino. 4. Otherwise there would be access denied because same task already created by other user (and he have more rights on it than you). The user account does not have the permissions to run this task. Question is, when I run this task to test, it get completed successfully PowerShell is a cross-platform (Windows, Linux, and macOS) automation tool and configuration framework optimized for dealing with structured data (e. 1. Hope Aug 31, 2017 · System. UnauthorizedAccessException (A first chance exception) 2. Mar 18, 2025 · When using Task Scheduler, you receive the following error message: Access is denied. Echo %date% %time% as the first and last line the . The program reads each May 29, 2018 · Maybe I can mention scheduled task as well - I have never tried to use a scheduled task for such a scenario. net (05) It is very simple and work on every machine except this one server (other machine have the same hw, OS updates etc. I also tried creating a batch file that runs my UiPath process, and then scheduling Oct 22, 2019 · If the task is not a system task it will be added to the hash table I’m using to generate the final list which will be exported using export-csv. UnauthorizedAccessException,Microsoft. 34 System. When I try to 'connect' in the Import tasks from the task scheduler window (everything is running on the local machine and I have local admin access) I get a simple Sep 10, 2019 · ScheduleReboot: specifies the date when the system will be rebooted. I have a very simple program that copies files from one location to another, and I have scheduled its run everyday using the Windows scheduler. My robot service is running as “Local Administrator”, but my schedule job is ran by domain user (test_user). Tasks Assemblies: mscorlib. UnauthorizedAccessException, Message: Access to the path "" is denied 0 C# Access to the path is denied exception creating a file in Documents Jan 23, 2010 · You can get the current user's application data folder using the environment variable APPDATA. String) [Get-ChildItem], UnauthorizedAccessException I need to create and modify tasks in Windows Task Scheduler on Windows Server 2003 from an ASP. No entries would be returned from a remote get-winevent -logname security. then, you would need configure in gpo and make that dedicated account a member of the “shutdown the system” entry and in the “Force shutdown from remote system” entry: Jul 13, 2017 · Am trying to schedule a job using task scheduler and want to run a job if the user is logged in or not. It says completed with no result. Your task will now run as SYSTEM user. I don't know exactly where the exception is thrown, but I think it's at a line where a COM object gets instantiated. Once this was updated correctly the script was able to perform a copy to the network May 26, 2018 · I chose SYSTEM user as I don't want to take care about changing passwords or create user just for this task and I would like to execute task wether any user is logged on or not. However this exception is thrown when running the console app via a scheduled task: System. GetWindowsUpdate Jun 21, 2021 · My user is not an administrator user, no matter I create or delete Task (task scheduler or C#), I will not encounter permission problems. Traditional methods of managing scheduled tasks often involve manual checks or using the Windows Task Scheduler GUI. UnauthorizedAccessException: 'Access to the path 'C:\Program Files\Skyroom' is denied. Mar 14, 2025 · When backing up using Task Scheduler . Impersonate: I suppose you could impersonate an account with access rights to write to the location in question. GetFolder(""); which turns out to be: C:\Windows\System32\Tasks. Jun 21, 2021 · I am trying to delete the task from the windows task scheduler in c# using below code - using TaskService ts = new TaskService(); ts. Sep 19, 2015 · I am getting Access Denied, no matter what I try, when attempting to execute the demo on https://taskscheduler. + Get-ChildItem -Path $SourcePath -File -Recurse -Verbose -Force | Move + CategoryInfo : NotSpecified: (:) [Get-ChildItem], UnauthorizedAccessException. However when attempting to trigger the task through Task Scheduler it immediately fails with the code 0xC0000005. When run, this AutoHotkey script creates the following dialog: 38594-uac Click to enlarge. If the task relies on a network share, it will fail. UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Apr 10, 2019 · The Batch file that the Scheduled Task executes. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' doesn't have permission to access or modify the task Feb 26, 2021 · はじめに・・・基本的に本記事の内容は同様の内容が諸先輩方により紹介されている。が、PowerShellスクリプトを紹介する際にどうしても考慮する必要がある点なので、まとめることとした。他サイトと内容重複する点も多々あるがご容赦願いたい。 P You signed in with another tab or window. Any suggestions as of what i am missing here. Aug 23, 2018 · I have other ps scripts running fine in the task scheduler, this it the only one that writes a log and renames a file (the rename is the other item that doesn’t work, but that’s another issue). Jan 11, 2019 · I am relatively new to using files and creating directories in C#, but I have been stuck for a while. _ServerName and _DomainName are the same, the local machine. It helps you schedule automated tasks that run programs or scripts at specific times. UnauthorizedAccessException: System. at Microsoft. Oct 22, 2023 · IT Support Guides: Your destination for mastering WordPress and Gravity Forms. txt". By default, Task Scheduler starts tasks from C:\windows\system32 and process could not write into it. Provide details and share your research! But avoid …. For anyone used to using MS Windows own Task Scheduler, System Scheduler is an ideal and easy to use replacement, with great flexibility and features. IPersistFile code: ManagementObjectSearcher searcher = new ManagementObjectSearcher(scope, query); ManagementObjectCollection queryCollection = searcher. ), REST APIs, and object models. Reload to refresh your session. ComponentModel. "System. txt is not the same as (get-date) + ". DateTime object, and the latter will append the string ". ITaskFolder Mar 27, 2020 · Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have I have an ASP. DeleteTask(TaskName); Jan 21, 2022 · See below for the errors I get when I try to run the bat file via Task Scheduler. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). Mar 18, 2017 · Hi JoeWarankie, When you mentioned “If I select the connectors tab, it shows 2 connectors, however when I select the azure connector, it does not show any detail at all, no user name, no profile name, synchronization statistics is blank, connection status, etc. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) doForms Support doForms. Commands Sep 25, 2021 · Looking into this further. Dec 16, 2024 · System Scheduler is an excellent tool to schedule unattended running of applications, batch files, scripts and much more. I tested this and found it created the scheduled task but not the shortcut. May 7, 2025 · Running the task (!) manually from the task scheduler GUI and looking at the log file, I see: Username: DOMAIN\SYSTEM RunAs User: DOMAIN\SYSTEM [] Import-GPO : Access is denied. I’ve recently changed the way I build these hash tables as I realised I was using an outdated method from Powershell V1 days previously. NET web application which does the following: Reads an Excel file. #How to avoid accidental installs# Windows updates and patches improve the features and stability of the system. Jan 9, 2012 · DBA working for this client side has created a SQL Agent task to run this SSIS package which uses this configuration file. The excel file will have an image URL located in it that points to somewhere on the internet. UnauthorizedAccessException: Access is denied. But when the scheduler launches it, it fails and logs System. UnauthorizedAccessException: I am curious how to ensure Duplicati to run First of all, what do you need to check to see if the path has permissions or not? For this, let's see below how you can do this. This should change the username to NT AUTHORITY/SYSTEM. I don't use this approach so I am unsure of the technical details, aspects and challenges. exe is run by the SQL Server Agent Scheduler at the scheduled time through the following command syntax: triggerjob. exe @echo %date% - %time% MyScript is ending. I am able to run a simple batch file using the same task scheduler settings while logged off. SomeProgram RC=%errorlevel% Then change the scheduled task to execute program "cmd. You signed out in another tab or window. AccessControl. Feb 20, 2017 · Powershell: Create a Schedule Task into a Scheduled Task Folder; Path not found 1 Windows Task Scheduler -- Fails to run Powershell Scripts Mar 23, 2017 · This problem is due to permissions writing to a network share. TaskScheduler. But still when I lock the pc and then log back in, notepad won’t open. Destination folder has Full control rights for SYSTEM user but anyway returns message "Access denied". The issue is that -name (get-date). Also, have a look at Run as Administrator (XP/Vista/7) A_IsAdmin Params [Lib] in the same vein. The issue occurs due to one of the following reasons: The user account that you used to run the task doesn't have the necessary administrative privileges. etc. The _TaskSchedulerUsername and _TaskSchedulerPassword is a valid local account with admin priviledges; I used these credentials to open the Windows Task Scheduler and manually create a task, as a test, and was able to do so without problems. InteropServices. It doesn't make sense to create a special user/group for this as outlined here . The application runs as expected, gets the data, creates the pdf, connects to Fax Service, fills the FaxDocument properties, but bombs on ConnectedSubmit2. Apr 17, 2014 · The code works fine when running the console app via command line. Diagnostics. When checked in event log I see below errors, can anyone help Jan 20, 2022 · Click Change, and a new window pops up. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' Mar 1, 2013 · Within the group policy management interface, browse to Computer Configuration | Administrative Templates | Windows Components | Task Scheduler 2. jpg is getting created. Just chalking it up as an Jul 21, 2017 · Triggering the task by double-clicking on the . net application. Also make sure the SQL share has sufficient space as that of total database space. codeplex. UnauthorizedAccessException Access is denied. Please help me. OpenProcessHandle(Int32 access) at System Jul 19, 2011 · File system check by chdsdk reported no errors; When removing these entries from the project files (by the undo function of the version control system), they were auto-inserted again after a few seconds. exe' is denied. at System. But when i try to create a task in my own computer, passing computer name, domain, user and password I receive "Unauthorazed error". This just runs the PowerShell Script. UnauthorizedAccessException in one routine. Before you close the dialog to save the new task, check the little box to open the properties dialog. System Scheduler runs totally independently of the MS Windows Task Namespace: System. bat so that know when the task starts and ends. GetFolderPath(Environment. g. Asking for help, clarification, or responding to other answers. IPersistFile Dec 17, 2018 · "McKnife, that sounds a bit like Münchhausen - a scheduled task to monitor local scheduled tasks " - nooo. So when loading both for comparison the time was seen as different. Select the Task. @echo %date% - %time% MyScript is starting. Update. Scheduled tasks do have console interaction by default. Cause. csproj files; Then the problem was May 7, 2020 · RemoteException wrapping System. Connect(); ITaskFolder rootFolder = scheduler. ReadWrite. Connects to a domain controller to get a list of all servers in the domain. ' Here is my code in case it helps: Jun 17, 2022 · When i run the script in a task schedule using a service account i know has permissions to write to the system log it fails, it also fails when i use my credentials to run it in task schedule even though it works when i run it manually. You would expect to let this check run everyday and see a positive/negative result every day - if there is no result at all, well, then task scheduler itself is broken ;-) code: ManagementObjectSearcher searcher = new ManagementObjectSearcher(scope, query); ManagementObjectCollection queryCollection = searcher. . dll - 作为计划任务运行时失败 Aug 14, 2019 · System. Type SYSTEM and press check names, then select the user when it finds it. SpecialFolder. MetadirectoryServices. GetProcessHandle(Int32 access, Boolean throwIfExited) at System. dll Assembly: System. PowerShell. ps1 Here is the PowerShell Script: Jan 29, 2019 · I had same issue: Created ps1 file in share and task scheduler to run with -Bypass file \fileshare deployed with GPO under NT AUTHORITY\System to run, but it failed with permission denied, even dir \sharedfolder was showing directory. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' The username and password can access on remote desktop to remote server. Comparisons. Threading. Win32Exception: Access is denied at System. Aug 17, 2022 · Create a bat file that executes your program. PowerShell is a cross-platform (Windows, Linux, and macOS) automation tool and configuration framework optimized for dealing with structured data (e. here is the script Apr 4, 2014 · Ok, here is the reason: This code runs twice on the same host: first time manually from cmd and second time from Windows Task Scheduler. Sep 16, 2021 · 2021-09-17 07:33:51 System. I guess this change happened with 10. The scheduled job definition file contains the fractional seconds, the scheduled task definition did not. Runtime. This failure happens when actually triggered on it's schedule or by right-clicking the task within the Task Scheduler app and clicking 'Run'. Able to run remotely and manage a remote Task Scheduler. The PSWindowsUpdate module has this command to allow remote powershell management of windows updates: Enable-WURemoting. There are a few other issues with the file when it runs in the scheduler. Thank you. Aug 17, 2020 · A third option is to use Task Scheduler to launch Duplicati at time of logon. Once you've installed the module on a remote system and ran that command, then you can remotely manage updates via that module, like this quick example to update all servers: Oct 13, 2020 · Transcript started, output file is C:\temp\pslog. Have tried the links provided but issue persists. This is guaranteed to be unique even if users will be renamed. Even though I'm logged in as admin, I can't change the user Jun 27, 2022 · Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have May 15, 2018 · I’ve been using task scheduler to run UiPath processes. (Exception de HRESULT : 0x80070005 (E_ACCESSDENIED)) at void Microsoft. GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd) Dec 19, 2017 · This happens when I try to run job from task scheduler with “Run whether user is logged on or not”. Mar 10, 2018 · To do this I'm creating a task scheduler that contains at path cmd. “Run whether logged in or not” option is checked. Session, Access Denied: 0x80070005:. OpenProcessHandle(Int32 access) at System We are currently using TaskService to schedule a task. Used Process Monitor to look for potential issues but nothing jumped out at us (and we are Process Monitor noobs). When simulating a scheduled task, you should mimic these settings. I have changed system to security in the select path Aug 27, 2019 · I've got a custom scheduled task set up in Windows Task Scheduler, but somehow the access control permissions for it have gotten broken. The block I edited looks like this now. ApplicationData) string configFile = Path. NET web application. WriteLine("my config data"); writer. May 7, 2024 · System. exe <JobDefinitionID> <ScheduleID> <FQDN-DPMServer> The following one is an example of a typical command that's run by Schedule Agent Scheduler to begin execution of the job at the scheduled time: Start-ADSyncSyncCycle : System. hold down the Shift key and right click on the "Task Scheduler" in "Administrative Tools" and selecting "Open as different user" Fill out the user as remotecomputer\administrator and use the remote computer's administrator password; Right click on the "Task Scheduler (Local)" and select "Connect to another computer" and choose the remote computer Aug 19, 2014 · System. UnauthorizedAccessException exception. Feb 13, 2014 · I had this issue with the Security log. System Scheduler runs totally independently of the MS Windows Task Dec 6, 2011 · System. Win32. This works great for admin users, but now I'm trying to schedule a task for non-admin users. They don't however if the task includes the option to "hide" the task and also (but only when a user account is set as the user context) to execute even if the user isn't logged in -- if the context is LocalService there is no interaction. txt" to a string representation of the date. And it worked. But if i manually create a task in the task scheduler, and export it to XML: I can find a UserId element inside a Principles element: Jan 5, 2015 · Submitting forms on the support site are temporary unavailable for schedule maintenance. Have prepared script for that, but, when I run script under service account in PowerShell (to test it, if there are any errors or not, since Task Scheduler does not shows errors), I am getting such error: May 7, 2020 · RemoteException wrapping System. (Exception from See below for the errors I get when I try to run the bat file via Task Scheduler System. Windows Task Scheduler System. Cannot start a new run till this one completes. Apr 8, 2024 · TriggerJob. If the SQL Server is remote Jan 25, 2012 · If I schedule the application with Task Scheduler or try to run from a service with a timer, it fails when calling the ConnectedSubmit2 on the FaxDocument object. NETを使用してexcelのマクロを自動で実行するアプリケーションを作成し、それをタスクスケジューラでユーザーがログインしていない状態でも毎日指定の時刻に実行しようとしています。 現状、実行ユーザーを管理者権限のあるユーザーにすれば、ユーザーがログインしてい Aug 14, 2024 · Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. 11 and went unnoticed by us until recently. com/ which is using System; using Microsoft. A system administrator will need to ensure both sets of permissions allow for the account to write to the folder. UnauthorizedAccessException Message: Access is denied. Close(); Dec 13, 2016 · Delete the existing shortcut in the autostart folder (or Task Manager in Win 10) (it starts Duplicati with user priviliges). For example: Oct 22, 2023 · IT Support Guides: Your destination for mastering WordPress and Gravity Forms. Tasks. Nov 27, 2012 · But when I set it up as a Windows schedule task, it fails thinking the user/pass is incorrect: System. SafeFileHandle. The jobsData and plugin used to be written into the localappdata directory which is tied to the user and doesn’t cause this issue. Verify that the account the task runs as has the appropriate privileges for any systems that you query. UnauthorizedAccessException,PSWindowsUpdate. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) + CategoryInfo : NotSpecified: (:) [Get-WindowsUpdate], UnauthorizedAccessException + FullyQualifiedErrorId : System. Jul 2, 2024 · Also tried running the task scheduler on SYSTEM account, but the same issue is occurring. JSON, CSV, XML, etc. OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) at System. exe within Windows works fine. I changed the scheduled job to use (Get-Date). How i do to connect to remote server. UnauthorizedAccessException above in FileStream. Process. Exception: "Access to the path is denied" 2. All permission to get list item permission. The former will try to read a property named "txt" on the returned System. Aug 22, 2013 · Exception: System. We use the default folder: TaskScheduler scheduler = new TaskScheduler(); scheduler. 8. Therefore, you can do something like: string appdata = Environment. Jun 25, 2015 · I ran the script (successfully). Date to remove the time element. UnauthorizedAccessException was unhandled. Sep 17, 2016 · It throws the System. Action - setting Automatic Reply to a mailbox. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at System. Nov 24, 2014 · For Windows 7 users, have a look at Create a scheduled task natively [AHK_L]. If I change that to “Run only when user is logged in”, the job completes. You switched accounts on another tab or window. NET System. Aug 19, 2013 · Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. UnauthorizedAccessException: Accès refusé. The Network Service that the web app runs under is unable to make the changes. May 10, 2022 · thanks! but i still get the error: VERBOSE: Accepted [8] Updates ready to Download Access is denied. No code example anywhere deals with UserId. txt. V2Interop. exe c:\scripts\makefolder. If I uncheck the option ‘Run only when user is logged in’ it works fine, if I check the option in scheduler whether user is logged in or not. Aug 12, 2010 · System. UnauthorizedAccessException when attempting to write a file from an asp. Jan 2, 2014 · System. When you are in a remote PowerShell session your logon session on this remote computer is flagged as a "network" logon (Logon Type: 3). Open the Windows Scheduler and create a new task: At system start execute Duplicati. May 17, 2024 · System. For example: Jul 20, 2018 · I created the scheduled job using Get-Date which includes fractional seconds. exe and for arguments the executable path. All permission at least. Are there application or domain specific privileges that you might have missed? If you’re running New-ADUser as SYSTEM, things won’t work out (hopefully). Nov 18, 2013 · When I try to run this task automatically from Task Scheduler using the same non-privileged account, it successfully starts, but then aborts with a . CreateFile May 28, 2020 · Description. Mar 26, 2011 · I have a very simple program that copies file from one location to another, and I have scheduled it run everyday using the windows scheduler. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Jul 8, 2024 · Note: if you are creating task for each user that launches application - you have to include User SID in a task name. ComTypes. ProcessManager. Mar 28, 2024 · By running this script, they can quickly gather and analyze task information, identify unauthorized or potentially harmful tasks, and take necessary actions. View the settings for Disable New Task Creation I need to create and modify tasks in Windows Task Scheduler on Windows Server 2003 from an ASP. UnauthorizedAccessException, Access is denied. UnauthorizedAccessException: Access to the path '' is denied. The problem of permissions for Scheduled Tasks applies to Windows OS 2016 / Windows 10 and later, as far as I can tell. UnauthorizedAccessException: Access to the path 'C:\Windows\notepad. TaskScheduler; class P You may get the following exception when turning off the "Use Windows Task Scheduler" option: Windows Task Scheduler System. Scheduler. SafeHandles. UnauthorizedAccessException: Attempted to perform an unauthorized operation. Copy from Stack Overflow: Powershell Remote: Microsoft. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Grant the user access to Window's Task Scheduler. System. It errors with an System. Mar 14, 2017 · How do you register a scheduled task with the Task Scheduler 2. com Aug 8, 2018 · first of all, it is better to create a dedicated account for this scheduled task. Mar 20, 2021 · There is a way to specifically do what the original question asked for: to modify the permissions of a Scheduled Task to allow Authenticated Users to "run/trigger" that Scheduled Task. Change the Security options from "Run only when user is logged on" to "Run whether user is logged on or not". ) Basically the app launchs with a form open for about 60 seconds then it closes the window and saves the disk space to an SQL DB. mfg gcfe kmslt zlscr sefj mkljnxq mzuh isidqa pyn qywd