So - I removed the credentials (which was my local User account & an administrator) from the windows-agent Smgr entry, biunced the agent, ran the job, and now get: Error code '2', error description: 'The system cannot find the file specified.'. Based on prior message, I would think it is the temp job-report file it can't find.
Original Message:
Sent: Jan 21, 2025 03:43 AM
From: Peter Daransky
Subject: Automic V24 windows agent & windows job: Either a required impersonation level was not provided, or the provided impersonation level is invalid'.
Hm,
think now we reached the point where I'll need a trace to take a look :-(
But other question (just curious), why you want to use it in this way ?
I mean, the "Logon As" option in Smgr comes from Win95 era where the jobs can interact with desktop. But this is meanwhile very specific and restricted use case, at least since Windows Vista (where UAC and service isolation was introduced). If the Agent is running as Service, it runs in isolated Session so there is no desktop. So it do not make any sense to me ...
Concrete, through the Local System the Smgr is started as "super user", but then through the "Logon User As", the Smgr starts the Agent as particular user (in interactive mode - probably also UAC will apply). So and finally if the Logon=1 in INI is set, the agent will try to start the tasks (Job/FTs) as different user which will require all the "superuser" permissions again.
Anyway, back to your case. Based on the screenshot (Agent log) it looks like, the Job is done (Process completed) and the AE is trying to transport the Report? The message in log does not really complains about permissions on file, I think the Agent tries to switch to the particular user and this, what's not working ?
Original Message:
Sent: Jan 20, 2025 09:31 AM
From: James Ebaynor
Subject: Automic V24 windows agent & windows job: Either a required impersonation level was not provided, or the provided impersonation level is invalid'.
Hi Peter,
As seen in services, the Service-Manager is being started as Local System (in the "log on as" field).

The job is defined as "batch", but I have tried several of the other options such as 'command' and 'logon as batch user', etc. - but same error is the result - Either a required impersonation level was not provided, or ...
Original Message:
Sent: Jan 20, 2025 03:37 AM
From: Peter Daransky
Subject: Automic V24 windows agent & windows job: Either a required impersonation level was not provided, or the provided impersonation level is invalid'.
Hi,
it's bit complicated :-) So few questions before:
1.) How is the Smgr started ? Is it started, as service "Local System" ?
2.) What is the Job setup you're trying to start ? (Interpeter Type/Batch Mode/View Job on Desktop/Use Windows OS Job)?
BR p
Original Message:
Sent: Jan 10, 2025 10:53 AM
From: James Ebaynor
Subject: Automic V24 windows agent & windows job: Either a required impersonation level was not provided, or the provided impersonation level is invalid'.
Hi Leon,
Thanks for the quick response.
Indeed - I recall those extra rights that must be added, remember them from back in V9.
I added them - but still getting the error.
- Act as part of the operating system
- Adjust memory quotas for a process
- Back up files and directories
- Log on as a service
- Replace a process level token
- Restore files and directories
In looking at the error message, it seems that the agent can't write the temp job report file (OAACHEME.TXT in this case), to the agent temp folder. I have adjusted that folder and given full access.

Original Message:
Sent: Jan 10, 2025 10:19 AM
From: Leon Carroll
Subject: Automic V24 windows agent & windows job: Either a required impersonation level was not provided, or the provided impersonation level is invalid'.
Theres a series of additional rights to be added for a defined user to run the agent -
https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/24.3.0/Automic%20Automation%20Guides/Content/InstallAgents/InstallAgentWindows_Java.htm?tocpath=Installing%7CInstalling%20the%20Agents%7CInstalling%20On-Premises%20Agents%20Manually%7CInstalling%20the%20Agent%20for%20Windows%20(Java)%7C_____0
See additional rights required here.
Original Message:
Sent: Jan 10, 2025 09:52 AM
From: James Ebaynor
Subject: Automic V24 windows agent & windows job: Either a required impersonation level was not provided, or the provided impersonation level is invalid'.
Hello & Happy New Year Community,
V24 windows agent starts up fine via SMGR and using admin credentials defined in SMGR.
When running simple windows job using the same admin credentials in LOGIN object, job Faults-Other w/ "Either a required impersonation level was not provided, or the provided impersonation level is invalid'.
If I remove the admin credential from SMGR and try starting the agent - it doesn't start & doesn't create a log - making me think its not finding java.
Any help or guidance much appreciated!
SMGR-Dialog definition for agent:

Last few lines of agent log:
