Rerun job not passing the PowerShellUniversal.Job in the ui
Hello Michael,
Thank you for the screenshot.
You are right that the rerun can still work even though the Job field looks empty.
I reproduced this on PowerShell Universal 2026.3.5 with a script started by a trigger when another job completes.
In that test, leaving the Job field untouched passed the original Job object to the script again.
In my test, the field was empty because the form could not turn the Job object into text to display it, which may also explain what you are seeing.
The Parameters tab of that test job also showed only the type name, PowerShellUniversal.Job.
Please avoid editing the Job field when you rerun such a job.
In my test, typing text in it replaced the original Job object with that text.
I am passing this to our QA team so the rerun form can show the Job object, and I will let you know what comes of it.
Kind regards,
Serious bug with Hangfire + SQL
Hi elsupermang,
Thank you for this very detailed report.
We read the PowerShell Universal 2026.3.2 source, and it confirms the following.
On startup, a stored one-time schedule whose Hangfire job is missing, Deleted or Succeeded is scheduled again, and if its time has passed it is queued to run right away.
That startup path does not check whether the schedule is paused.
When a one-time schedule is renamed, the stored row is looked up under the new name, so the row and the Hangfire job created under the old name stay in place.
The Hangfire job stored for the schedule only hands the work off, so it can complete before the step that runs the script or workflow removes the stored row.
The case where a paused one-time schedule still runs has already been corrected by our development team, and that correction will ship in an upcoming release.
Until a fix is available, removing the schedule and creating a new one, as you suggest, avoids the rename path described above.
A one-time schedule you already renamed can still have its old entry, which can run at the next PSU restart.
Best regards,
Microsoft Authentication Secret expiration
Hello hoppe,
Thank you for your question.
Devolutions Server can already warn you before the secret expires.
Since version 2025.3.10.0, it displays a warning banner and emails alerts to administrators as the secret expiration date on the Microsoft Authentication page approaches.
From your screenshot, your server is recent enough to include this.
For your own monitoring, I recommend reading the date from Entra ID directly, where the secret itself is kept.
By REST, the Microsoft Graph "Get application" request, which accepts your app registration's client ID, returns its passwordCredentials, and the endDateTime of each one is the expiration date of that secret, in UTC.
By PowerShell, Get-MgApplication from the Microsoft Graph PowerShell module returns the same PasswordCredentials with their EndDateTime.
Microsoft publishes a sample script that lists every secret expiring within the number of days you choose, with its end date, on its Learn page "PowerShell sample: Export app registrations with expiring secrets and certificates".
For an unattended monitoring app, Microsoft lists Application.Read.All as the least privileged permission for this read.
When you renew the secret, create the new one in the app registration, paste its value in the Secret value field of the Microsoft Authentication page with its new expiration date, and click Save.
Delete the old secret in Entra ID only once sign-in works with the new one.
https://docs.devolutions.net/server/kb/how-to-articles/configure-microsoft-authentication-with-entra-id/
Let me know if you have any questions.
Best regards,
2026.3.4 OneTime scheduled jobs only show up on the computer they were registered with
Hello realslacker,
Thank you for the code.
Since the name is built from the script name and the change request key, the same change request always gives the same schedule name.
In version 2026.3.4, each node checks a new name only against its own schedule list.
If the node that runs New-PSUSchedule already lists that name, the server refuses the call with an error saying a schedule with that name already exists.
If the call runs on the other node, it is accepted, and it replaces the pending run of the first schedule in the shared database with a new one at the new start time.
So the second schedule you see on the other node carries the same name, and while a run is pending, only one run stays queued for that change request.
A run whose schedule only one node lists can still be dropped as described in our last message.
After a run, the name is removed only from the node that ran it, so a node that still lists it keeps refusing that name until it restarts.
Our recommendation to start the follow-up with Invoke-PSUScript still stands, and our development team is working on the fix.
If you do see the follow-up job run more than once for the same change request, please send the job ID, computer name and start time of each of those jobs.
Best regards,
Creating New Credential in Variables and Secrets Overwrites Existing Credential
Hello bcehlenfield,
Thank you for reporting this, and for the clear description.
We reproduced the behavior in our lab on PowerShell Universal 2026.3.4 and on the latest version, 2026.3.5.
Creating a new credential does not change any existing credential in the vault.
The Edit Secret Properties window, which opens when you click a credential's name, never loads the stored user name and password.
Those fields only show what was typed in that window earlier, or what the browser filled in on its own.
When you click Save, whatever is in those fields is written to the credential you have open.
So the existing credential is only overwritten if Save is clicked while the window shows the other values.
We believe the values you saw came from your browser's password manager.
When you created the new credential, the browser most likely saved that user name and password.
It then filled them into the next window that has the same fields.
We also found a related issue in the same window.
If you type a user name and password for one credential and click Cancel, the next credential you open shows those same values.
We have reported both issues to our development team (ticket SFC-1246, for internal reference only).
Until a fix is available, here is a safe way to work:
Reload the page before you open another credential.
Before you click Save, check that the User Name and Password fields are empty, or hold values you typed yourself.
If you only need to change properties such as the description, leave User Name and Password empty, and the stored credential stays as it is.
Decline the browser's offer to save these passwords, and remove any saved entries for your PowerShell Universal address.
To confirm that your existing credential is intact, you can run this short script from Automation > Scripts, with your own credential names:
$Secret:ExistingCredential.UserName
$Secret:ExistingCredential.GetNetworkCredential().Password -eq $Secret:NewCredential.GetNetworkCredential().Password
The first line should return the original user name, and the second line should return False.
If the stored value is wrong, click the pencil icon on that credential, type the correct user name and password, and save.
Could you let us know which browser you use, and whether you clicked Save in the window that showed the wrong values?
Upgrading to 2026.3.5 does not change this behavior yet.
You can find more on secret variables and the $Secret: scope here: https://docs.devolutions.net/powershell-universal/platform/variables
We will update you as soon as we have news from the development team.
Best regards,
UDTable shows row (with rendered columns) even when showing 0-0 of 0 rows after searching
Hello,
Thank you for posting the fix you found.
Your diagnosis is correct.
The -Data parameter of Out-UDTableData takes a single object, so an empty ArrayList passed with -Data becomes one row, and your -Render blocks fill it with their default values.
When the same collection is piped, an empty result sends nothing, so no row is built.
Your single pipeline is the right pattern, and it matches the server-side examples in our documentation.
https://docs.devolutions.net/powershell-universal/apps/components/data-display/table
Best regards,
2026.3.4: published folders (/assets) are cached without validation - old CSS/JS after a deployment
Hello Mordecai,
Thank you for the detailed report.
We reproduced it on PowerShell Universal 2026.3.4, with the Linux container image and Chrome.
Files in a published folder are sent with "Cache-Control: public" and a "Last-Modified" header that comes from the file's write time.
There is no "ETag" and no "max-age".
PowerShell Universal also always sends the full file, never a 304 Not Modified.
Today, published folders have no setting to change these headers.
Here is why the old CSS and JavaScript stay in the browser.
When a response has no "max-age", the browser guesses how long it can reuse it.
The usual guess is 10% of the time since "Last-Modified".
For example, a file last written 300 days ago can be reused for about 30 days without asking the server.
Files in a container image often keep an old or fixed date, so this window can be long.
In our test, the browser kept the old files after a deployment, both when the page was opened again and after a normal reload.
A hard reload fixed a plain HTML page, but not a PowerShell Universal app.
Files listed in New-UDApp -Stylesheets and -Scripts are added by the app after the page loads, and Chrome kept serving them from its cache even on a hard reload.
If you load your files that way, this explains what you saw.
If you load them from plain HTML, a cache in front of PowerShell Universal can do the same thing, because "Cache-Control: public" lets an ingress or a CDN store the file.
I have reported this to the PowerShell Universal team as a bug (ticket SFC-1235, for internal reference only).
The report includes your request for "no-cache" with "ETag" or "Last-Modified" checks, or a setting for the cache headers.
Until it is fixed, these options work:
Keep the content hash in your stylesheet and script URLs. This is the most reliable fix, and it is what PowerShell Universal does for its own files.
Set "Cache-Control: no-cache" for the /assets/ path on your ingress or reverse proxy. Make sure it replaces the header instead of adding a second one. We tested this, and the browser then showed the new files at every step, in an app too. Browsers that already cached a file keep it until it expires, so change its URL once when you turn this on. Since PowerShell Universal always sends the full file, each page load downloads it again, which is fine for small files.
I will update you here when I have news from the team.
Published folders documentation: https://docs.devolutions.net/powershell-universal/platform/published-folders/
HTTP caching background: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching
Best regards,
2026.3.4 OneTime scheduled jobs only show up on the computer they were registered with
Hello realslacker,
Thank you for the detailed report.
We reproduced this on a two-node 2026.3.4 cluster in our lab and confirmed the cause.
When New-PSUSchedule -OneTime runs, the schedule is added only to the schedule list of the node that handled the call.
It is also saved in the shared database, but the other node reads it from there only when its service starts.
This is why the other node does not show the schedule until it restarts.
This is also the likely cause of your duplicates.
A job that checks for an existing schedule before it creates one only sees the schedules of its own node.
So when the same job runs on the other node, it creates a second schedule.
There is a more serious effect you should know about.
When the scheduled time comes, the run goes through two steps, and each step can land on either node.
If either step lands on the node that does not know the schedule, the run is dropped and no job is created.
In our test, 19 of 24 one-time runs were dropped this way.
The node that dropped a run logs one of these errors in its system log:
Failed to execute job with schedule <name>, followed by Schedule <name> not found
Schedule <name> not found.
The dropped runs do not show up as failed jobs.
They are not gone for good, though.
They stay in the database, and the next time either node restarts, they all start at once, even if their time passed long ago.
We have reported this to our development team as a bug.
Until it is fixed, we recommend not creating one-time schedules from jobs on a multi-node setup.
Instead, have the parent job start the follow-up script with Invoke-PSUScript, using the same connection your jobs use today for New-PSUSchedule.
Add -Queue with a node name or computer group if the follow-up must run on a given node.
We tested this in the same lab, and the follow-up ran on the node we chose.
If the follow-up has to wait, you have two options:
For short delays, pass the start time as a parameter and have the script wait until then.
For longer delays, store the pending work in a shared table and start the due items from one regular schedule in schedules.ps1, loaded by both nodes.
The second option also prevents duplicates, since the parent job can check the shared table before it adds an item.
Could you share the lines that create the schedule, including how its name is built?
This will help us confirm which of these effects you are seeing.
The schedule and cmdlet documentation is here:
https://docs.devolutions.net/powershell-universal/automation/schedules
https://docs.devolutions.net/powershell-universal/powershell-commands/invoke-psuscript
Best regards,
All requests, including /api/v1/status, hang while the PostgreSQL database is unavailable – please fail fast and report the database state
Hello Mordecai,
Thank you for the detailed report and the clear test results.
We reproduced the behaviour in our lab with PowerShell Universal 2026.3.4 and PostgreSQL 17, using the same test of stopping the database container.
We confirmed it as a bug in PowerShell Universal, and I have reported it to the development team with our test results.
Your suggestions for configurable retry settings, a fast database check, a maintenance page and documentation are included in the report.
Here is what we found.
The PostgreSQL plugin uses the Entity Framework Core retry strategy with its default settings, 6 retries with a growing delay.
Each database call made during an outage waits for that whole cycle before it fails.
In our test, /api/v1/status returned 503 "Database unavailable." only after about 137 seconds, and /api/v2/status after about 85 seconds.
Every probe with a 5 second timeout failed, so from the probe's side the endpoint looks hung.
The login page returned a 500 error with the raw retry message after about 86 seconds, which a reverse proxy usually turns into a timeout or a blank page.
/api/v1/alive is an internal endpoint used by the login and loading screens.
It returned 200 with a databaseUnavailable flag in the body, so it is not suited for health probes.
Static files and the TCP port kept answering at once during the whole outage, which shows that the PSU process itself was not hung.
At startup, version 2026.3.4 runs the database migrations before it starts to listen.
When the database cannot be reached at that moment, the process stops within a few seconds, which explains the restart loop you saw.
Once the database came back, PSU served requests again within a few seconds without a restart.
There is currently no setting to change the retry count, the retry delay, or a separate timeout for health checks.
Until a fix is available, these Kubernetes settings should avoid the restarts and give users a clear message:
Liveness probe: use a TCP check on the PSU port instead of /api/v1/status, so a database outage no longer restarts the pod.
Readiness probe: keep /api/v1/status with a short timeout, so the pod leaves the service while the database is down and returns once PSU answers 200 again.
Startup probe: use a TCP check that allows enough failures for the first start.
Init container: wait for PostgreSQL before PSU starts, so a cold start during an outage waits instead of looping.
Reverse proxy: serve a custom maintenance page for 502, 503 and 504 responses, so users see a message instead of a blank page.
Here is an example, adjust the port and host names to your deployment:
initContainers:
- name: wait-for-postgres
image: postgres:17-alpine
command: ["sh", "-c", "until pg_isready -h <postgres-host> -p 5432; do sleep 2; done"]
containers:
- name: psu
startupProbe:
tcpSocket: { port: 5000 }
periodSeconds: 10
failureThreshold: 30
readinessProbe:
httpGet: { path: /api/v1/status, port: 5000 }
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
livenessProbe:
tcpSocket: { port: 5000 }
periodSeconds: 20
failureThreshold: 6
If you want the liveness probe to prove that HTTP still answers, a GET on a static file such as /assets/favicon.ico answered within milliseconds in our outage test.
It is not a documented health endpoint, so the TCP check remains the safer choice.
Please note that the init container only runs when the pod starts, so it does not cover a container restart inside a running pod.
The status endpoints are documented here: https://docs.devolutions.net/powershell-universal/config/hosting/high-availability/
I will keep you updated on the progress of the report.
Let me know if you have questions about the probe settings.
Best regards,
HTTP PATCH Method is not updating attributes
Hello dalbrecht,
Thank you for upgrading and for the detailed test results.
The HTTP 422 response is expected on 2026.3.8.0, because that version of the public REST API does not allow PUT or PATCH on SSH Shell entries.
Devolutions Server 2026.3.14.0, released on November 11, adds PUT and PATCH support for SSH Shell entries, including the host field (ticket DVLS-15659, for internal reference only).
You can see the change in the release notes: https://devolutions.net/server/release-notes/
Once you are on 2026.3.14.0, I suggest a test on a single entry first:
Send a PATCH to the same endpoint with only the field you want to change, for example {"data": {"host": "10.0.0.10"}}.
If the PATCH asks for other required keys, send their current values unchanged, taken from a GET of the same entry.
Read the entry back with a GET and check that data.host shows the new value.
Open the entry in the web interface or in Remote Desktop Manager to confirm it was saved.
Since 2026.3.13.0, a GET on an entry also returns its host, so your script can check each change.
I would use PATCH rather than PUT for this, since PUT replaces the main fields and a wrong path value would move the entry.
This only covers SSH Shell entries, as SSH Tunnel and Port Forward entries still cannot be edited through the API.
If the re-IP work has to start before you can upgrade, let me know, and I will send you a PowerShell option that does not rely on the REST API.
Best regards,
2026.3.4 Git Sync "Failed" when initialize.ps1 throws an error after sync
Hello Shannon,
Thank you for contacting the Delutions support team.
We have not reproduced this on our side yet, so I opened an investigation ticket.
I agree that the status should point to initialize.ps1 instead of reporting a Git problem.
As far as I can tell, when a sync has to reload the whole configuration, PowerShell Universal runs .universal/initialize.ps1 first.
If the script writes any error, even a non-terminating one, the sync can be recorded as a generic failure.
In the meantime, the real error should be in the system log.
Look for an "Exception:" line from UniversalConfigurationService just before "Git sync <id> failed with result".
As a workaround, make sure initialize.ps1 does not write error records:
Wrap steps that can fail in try/catch.
Use -ErrorAction SilentlyContinue or -ErrorAction Ignore where an error is expected and harmless.
Write the problem to your own log file, because warnings and output from initialize.ps1 are not recorded.
For example:
try {
# The step that can fail, with -ErrorAction Stop on the cmdlet
}
catch {
Add-Content -Path 'C:\Logs\psu-initialize.log' -Value "$(Get-Date -Format o) $($_.Exception.Message)"
}
Use a path outside the repository folder, so Git sync does not pick up the log file.
Then click Synchronize Now on the Git page, or run Sync-PSUGit.
To help the investigation, could you send me the following:
The system log lines around a failed sync.
The error your initialize.ps1 writes, or the script itself if you can share it.
Your operating system, install type (service, IIS or Docker) and database.
I will keep you posted as soon as I hear back from the team.
The configuration scripts are described here: https://docs.devolutions.net/powershell-universal/config/repository
Git sync settings and troubleshooting are described here: https://docs.devolutions.net/powershell-universal/config/git
Best regards,
2026.3.4 Running jobs that target a Computer Group results in parameters not being passed to child jobs
Hello realslacker,
Thank you for the clear reproduction steps.
We reproduced the issue in our lab on PowerShell Universal 2026.3.4, and also on 2026.3.3.
When a script runs on all computers in a group, PSU creates one child job for each computer.
The parameter values you enter are saved on the parent job only, and they are not copied to the child jobs.
Each child job then starts without any of the values, so PowerShell asks for the required parameter and the job waits for feedback.
Optional parameters are lost the same way, so they fall back to their default values.
We have reported this to our development team as a bug (ticket SFC-1207, for internal reference only).
We will update this case as soon as we have news about a fix.
Until a fix is available, you can run the script on one computer at a time.
In the Run Script dialog, set Run On to the computer itself instead of the group, and the job keeps all its parameters.
If you prefer to script it, Invoke-PSUScript does the same thing when Queue is a single computer name:
foreach ($computer in 'SERVER01', 'SERVER02') {
Invoke-PSUScript -Name 'YourScript.ps1' -Queue $computer -Parameters @{ YourParameter = 'value' }
}
For child jobs that are already waiting, you can open each one from the Jobs page and type the value in the feedback prompt.
That lets the job finish, but any optional parameter in it will still use its default value.
You can also stop those jobs and run them again on each computer.
A child job that you stop this way shows the Error status instead of Canceled.
The Scripts page covers running a script on all computers: https://docs.devolutions.net/powershell-universal/automation/scripts
Best regards,
No keyboard input accepted in debug terminal
Hello,
Thank you for the details.
This is a known defect in PowerShell Universal 2026.3.4, and it is the same problem you reported in your Bug Report thread.
The debug terminal shows the [DBG] prompt but drops most keystrokes, while the other terminals in the admin console work normally.
The app Debugger tab uses the same terminal as the job page, so it has the same problem.
The same problem was already present in 2026.3.3, which matches what you saw there.
Our development team is tracking it (ticket PSU-1643, for internal reference only), and we do not have a fix date yet.
Until the fix ships, you can still control and inspect a paused app in two ways.
The buttons above the debug terminal still work: Continue, Step Into, Step Over, Step Out and List Source Code.
To run your own commands, you can attach to the app's runspace from a PowerShell 7 console on the PowerShell Universal server.
In the admin console, open the app, then the Debugger tab, and note the process ID and runspace ID of the breakpoint.
Open a PowerShell 7 console on the server as an administrator.
Run the commands below with your own values.
Enter-PSHostProcess -Id <ProcessId>
Debug-Runspace -Id <RunspaceId>
You then get a debugger prompt where you can read variables and run commands against the paused app.
When you are done, type exit twice to detach and leave the process.
If the app is still paused after that, click Continue in the Debugger tab.
The steps are described in our documentation: https://docs.devolutions.net/powershell-universal/development/debugging-scripts
We will post updates in your Bug Report thread, so you can follow the fix there: https://forum.devolutions.net/topics/57350/debug-terminal-is-not-allowing-any-keyboard-input
Best regards,
2026.3.4 - Regex POST and PATCH APIs Not Working When App at Root
Hello Jacob,
Thank you for confirming that the non-regex workaround is fine for now.
Our development team confirmed the issue and is now working on a fix (ticket PSU-1616, for internal reference only).
The fix is currently planned for the 2027.1 release.
I will update this thread when the fix is available.
For your NamingDictionary endpoint, the documented colon syntax has no optional segment, so each URL form needs its own endpoint.
If that endpoint only answers GET requests, you can keep your regex version as it is.
We tested your exact NamingDictionary pattern on 2026.3.4 with an app at the root, and GET requests worked with and without the ID.
If it also needs POST or PATCH, you can create two standard endpoints, one for each URL form:
$Common = @{ Method = @('POST','PATCH'); Environment = 'Dedicated - API - v1'; Authentication = $True; Role = @('Administrator', 'Requestors') }
New-PSUEndpoint -Url '/my/api/v1/NamingDictionary/:Dictionary' -Path 'D:\Powershell Universal\Endpoints\NamingDictionary.ps1' @Common
New-PSUEndpoint -Url '/my/api/v1/NamingDictionary/:Dictionary/:Id' -Path 'D:\Powershell Universal\Endpoints\NamingDictionaryId.ps1' @Common
Each endpoint needs its own script file, because PSU does not load a second endpoint that uses the same file.
To keep the logic in one place, you can put it in a shared script and dot-source it from both endpoint files.
Each endpoint file then only needs this one line:
. 'D:\Powershell Universal\Shared\NamingDictionary.ps1'
Adjust the paths and roles to match your setup.
In the shared script, $Dictionary and $Id work as usual, and $Id is empty when the URL has no ID.
We tested this setup on 2026.3.4 with an app at the root, and POST and PATCH reached the shared script for both URL forms.
The regex GET endpoint also kept working next to these two endpoints on the same base path.
You can find the colon syntax in the Variable URL section of the endpoints page: https://docs.devolutions.net/powershell-universal/api/endpoints
Once the fix is released, you can move these endpoints back to regex if you want to keep everything consistent.
Best regards,
2026.3.1 editing files under .universal folder from GUI causes editor hang
Hello realslacker,
The internal ticket is still open on our side, and no fixed version has been announced yet.
We will keep you posted on this ticket when the fixed version is available.
Best regards,
debug terminal is not allowing any keyboard input
Hello,
Thank you for testing 2026.3.4 and for confirming that the debug terminal now opens.
We reproduced the keyboard problem in our lab on 2026.3.4.
When a job stops at Wait-Debugger, the debug terminal shows the [DBG] prompt, but most of the time it ignores what you type.
It happens in both the Integrated and the PowerShell 7 environments, and the other terminals are not affected.
So you are not missing anything, this is a defect in the debug terminal itself.
We are reporting it to our development team, and we will let you know when a fix is available.
Until then, the buttons above the debug terminal still work, because they do not need the keyboard.
Continue lets the script run to the end.
Step Into, Step Over, and Step Out move through the script.
List Source Code shows the source code of the script.
You can hover over each button to see its name.
Reloading the page sometimes brings typing back, but not reliably.
To check variable values while the script is paused, you can attach to it from a PowerShell console on the PowerShell Universal server.
The job page shows the two numbers you need in the PID / Runspace field.
Enter-PSHostProcess -Id <PID>
Get-Runspace
Debug-Runspace -Id <Runspace>
You must run these commands as an administrator on the server, or as the account that runs the job.
The full steps are in our documentation, in the section about debugging from a PowerShell console: https://docs.devolutions.net/powershell-universal/development/debugging-scripts
Best regards,
How can I set PSU to another culture?
Hello Denis,
Thank you for the detail, a group managed service account changes the approach.
You do not need to sign in as the gMSA.
When a job has no Run As credential, PowerShell Universal runs it as the service account, so a job can change the gMSA's own regional format.
The Set-Culture cmdlet sets the culture for the account that runs it.
Here is how to apply it once:
In the admin console, go to Automation > Scripts, create a new script, and set its environment to Windows PowerShell 5.1.
Paste the lines below, and replace nl-BE with the format you want, for example fr-BE.
whoami
Set-Culture -CultureInfo nl-BE
Run the script once, and check that the whoami output shows your gMSA name.
Restart the PowerShell Universal service so that new jobs pick up the change.
Microsoft states that Set-Culture takes effect in new PowerShell sessions, which is why the restart is needed.
To confirm, run these two lines in a new job:
[cultureinfo]::CurrentCulture.Name
(Get-Date).ToString()
The first line should show nl-BE, and the date should now show the day first.
You can then delete the one-time script.
The rest of my last message still applies, including the fixed format of dates inside "$(Get-Date)" strings.
If you would rather not run this from PowerShell Universal, let me know and I will send a registry method instead.
Here is the Microsoft page for the cmdlet:
Best regards,
How can I set PSU to another culture?
Hello Denis,
Thank you for your question.
PowerShell Universal does not have its own culture setting for scripts.
Each job takes its culture from the Windows account that runs PowerShell Universal.
By default, the PowerShell Universal service runs as Local System.
That account keeps the regional format chosen when Windows was installed, which is often English (United States).
You can check what your jobs see by running this short script once in PowerShell Universal:
[cultureinfo]::CurrentCulture.Name
[cultureinfo]::CurrentCulture.DateTimeFormat.ShortDatePattern
To change it for all scripts at once, copy your regional format to the system accounts on the server:
Sign in to the PowerShell Universal server with an administrator account and open Control Panel > Region.
On the Formats tab, pick the format you want, for example Dutch (Belgium), and click Apply.
On the Administrative tab, click Copy settings.
Check "Welcome screen and system accounts", then click OK.
Restart the server.
Microsoft states that this change takes effect after a restart, so please plan a short maintenance window.
If the service runs under a dedicated account instead of Local System, you will see it on the Log On tab of the service in services.msc.
In that case, sign in once as that account, set the format in the Region settings, and restart the service.
Scripts that use a Run As credential take the format of that account, so set it there as well.
API endpoints that run in the Integrated environment are an exception.
They use the language of the incoming request instead.
PowerShell Universal only supports English (United States), French and Danish there, so other languages fall back to month/day/year.
If your endpoints need your regional format, set them to the PowerShell 7 or Windows PowerShell 5.1 environment.
Those environments follow the Windows setting, like scripts do.
One PowerShell behavior is worth knowing before you test.
PowerShell always uses the US format, month then day, when a date is placed in a double-quoted string such as "$(Get-Date)", or cast with [datetime].
This is by design in PowerShell and does not depend on the server culture.
To get the server format, use $date.ToString(), Get-Date -Format d, or "{0}" -f $date instead.
The dates shown in the admin console itself do not follow this Windows setting either.
If those are the dates you meant, let me know and I will log a feature request.
If your server runs on Linux or in Docker rather than Windows, let me know and I will send the matching steps.
Here are the related pages:
https://docs.devolutions.net/powershell-universal/getting-started/
https://docs.devolutions.net/powershell-universal/automation/scripts/
Best regards,
PSU 2026.3.4 – PowerShell 7 handshake failures and internal gRPC connection errors
Hello Daniel,
Thank you for the detailed description and the logs.
Your symptoms match a known issue in PowerShell Universal 2026.3.x (ticket PSU-1520, for internal reference only).
Starting with 2026.3.x, PSU connects to its PowerShell 7 processes over the IPv6 loopback address ::1.
When a proxy is set with the HTTP_PROXY or HTTPS_PROXY environment variables, these local gRPC calls are also sent to the proxy, unless NO_PROXY lists ::1.
A NO_PROXY value of localhost,127.0.0.1 is no longer enough.
This is why the Integrated environment works, while PowerShell 7 jobs and the -Integrated cmdlets in the console fail with "failed to connect to all addresses".
It also explains why the port answers when you test it directly.
To confirm, please run these two lines as a script in the Integrated environment.
Get-ChildItem Env: | Where-Object Name -match 'proxy'
$env:PSModulePath -split ';'
The Integrated environment runs inside the PSU server process, so it sees the same variables as the service.
Please send me the output either way, since the second line also helps with the "Error checking module path" message in your host log.
If the first line returns HTTP_PROXY, HTTPS_PROXY or GRPC_PROXY, please add ::1 and [::1] to NO_PROXY where the proxy variables are defined, and keep your existing entries.
NO_PROXY=localhost,127.0.0.1,::1,[::1]
Then restart the PowerShellUniversal service and run the script again to check that the new value is visible.
If the service still shows the old value, please reboot the machine.
PowerShell 7 jobs should then complete normally.
If the first line returns nothing, the proxy is not the cause.
In that case, please also send the System and PowerShellHost logs from C:\ProgramData\PowerShellUniversal\Logs for one failed job.
The fix is planned for PowerShell Universal 2026.3.5, which is not released yet.
That release should remove the need for the NO_PROXY change.
For background on the environment types, see https://docs.devolutions.net/powershell-universal/config/environments
Best regards,
Job timout issue
Hello Michael,
Thank you for the answers, the log excerpt and the screenshot, they help a lot.
To answer your question, this does not look like a collision where one job blocks the other.
It looks more like both jobs were caught in the same startup rush.
Your screenshot shows it well, since DHCP\Get-Scopes.ps1 and Boarding\Get-TerminatedEmployees.ps1 are child jobs of two different schedules, yet both started at 12:00:36 AM and both failed within a second of each other at 12:03 AM.
Two different scripts failing at the same second points to the server being busy at that moment, not to anything in the scripts themselves.
In the PowerShell 7 environment, each job starts its own PowerShell process, and that process must check in with the server before the Job Handshake Timeout runs out.
At midnight, your midnight schedules, up to 15 of them, start together, and Process-DHCP-Data and BHR Term Process then start their child jobs on top of them.
On a single node, all of these new processes compete for CPU, disk and security scanning at the same time, so a few of them can miss the 120 second window.
This would also explain why the failures look random, and why a re-run works once the server is quiet again.
Here is what we suggest to spread the load:
Turn on Random Delay for the midnight schedules, so each one starts at a random point within 60 seconds instead of all at once: https://docs.devolutions.net/powershell-universal/automation/schedules
For a wider window, add both -RandomDelay and -RandomDelayMaximum to those New-PSUSchedule lines in .universal\schedules.ps1, for example 300 for up to five minutes.
If the timing allows, move the BHR Term Process and Process-DHCP-Data schedules away from midnight and away from each other, for example to 12:15 AM and 12:30 AM, so their child jobs do not start in the same rush.
In the parent scripts, add a short pause between child job launches so they do not all start in the same second.
Keep the PowerShell Universal folders and executables excluded in your EDR, as listed in the Antivirus Configuration section I shared earlier.
Even when the EDR blocks nothing, scanning a new process can slow its start without leaving a block event.
For the logs, you do not need to create an account.
You can simply reply to our email from service@devolutions.net with the subject "00135551: Logs" and attach the file there, zipped if it is large.
The most useful file now is the full System log for November 1, from %ProgramData%\PowerShellUniversal\Logs\System.
It will show what the server was doing between midnight and 12:04 AM, and how many jobs it was starting at that moment.
If you can, please also tell us:
The number of CPU cores and the amount of memory on the server.
Whether these failures only happen around midnight, or also in your 6 AM and 8 AM slots.
Whether a SQL Server backup or maintenance task runs around midnight.
Best regards,
Code Folding in VSCode using the Devolutions PowerShell Universal Extension 2026.3.3 is not working.
Hello Finn,
Thank you for narrowing this down, your test pointed us straight at the cause.
Yes, this is an interaction between the two extensions, and the fix belongs on our side, in the PowerShell Universal extension.
We reproduced the issue and confirmed what causes it.
For files opened through the PowerShell Universal connection, our extension asks the Microsoft PowerShell extension to work out the folding regions.
That hand-off currently returns no regions, so VS Code shows no folding arrows.
When the Microsoft extension is disabled, our extension skips that step and VS Code uses its standard indentation-based folding instead.
That is why folding works in your separate profile.
I have reported it to our development team (ticket PSU-1619, for internal reference only).
Updating the extension to 2026.3.4 will not change this, since the folding code is the same in that version.
In the meantime, you have two options.
Your separate profile works well for editing.
Please note that it has none of the Microsoft PowerShell extension features, such as attaching the debugger to PowerShell Universal runspaces.
Or if you prefer to keep both extensions in one profile, add this to your VS Code settings.json:
"[powershell]": {
"editor.foldingStrategy": "indentation"
}
We tested it with both extensions enabled, and the folding arrows and Fold All work again on PowerShell Universal files.
It also applies to your local PowerShell files, which will then fold by indentation instead of by syntax.
You can find more details on folding options here: https://code.visualstudio.com/docs/editing/codebasics#_folding
I will update you as soon as a fix is planned.
Best regards,
Job timout issue
Hello michaelhanson1458,
Unfortunately, we didn't receive any logs or any new cases related to your email.
I will open a new case and send you a secure link to share your logs.
Best regards,
Upgrade change Install Directory
Hello,
Thank you for the clear description, it made the cause easy to find.
What you saw comes from the way the PowerShell Universal installer handles upgrades.
When the new MSI runs through its setup wizard, it does not reuse your custom folder.
It installs to the default C:\Program Files (x86)\Universal folder instead.
During the same upgrade, Windows Installer removes the old version and its whole folder.
This is why D:\Apps\Universal was deleted.
Your settings and data are kept, because by default they are stored under C:\ProgramData and not in the install folder.
If you kept any of your own files inside D:\Apps\Universal, please restore them from a backup.
For future upgrades, run the MSI from an elevated command prompt and pass your folder with the INSTALLFOLDER property:
msiexec /i "C:\Temp\Devolutions.PowerShellUniversal.<version>.msi" INSTALLFOLDER="D:\Apps\Universal" /qn /norestart /l*v "C:\Temp\psu-upgrade.log"
The silent switch (/qn) is needed here, because the setup wizard resets the folder to the default even when INSTALLFOLDER is set.
Your existing appsettings.json is not replaced, the installer only creates it when it is missing.
If the PowerShellUniversal service runs under a dedicated account, also add SERVICEACCOUNT and SERVICEACCOUNTPASSWORD to the command.
The Update-PSUServer cmdlet has no folder option and always uses the default folder, so please use msiexec for now.
If there is no rush, you can wait for the next release and upgrade with the command above, which moves it back to D:\Apps\Universal.
To move your current 2026.3.4 install back right away, uninstall it first.
Then reinstall 2026.3.4 with the same command.
The uninstall step is needed because the installer does not allow an upgrade to the same version.
As a precaution, back up C:\ProgramData\UniversalAutomation and C:\ProgramData\PowerShellUniversal before you uninstall.
After the move, update anything that still points to the old path, such as firewall rules or antivirus exclusions for Universal.Server.exe.
You can find all installer properties on our installation page:
https://docs.devolutions.net/powershell-universal/getting-started
I am also sharing this upgrade behavior with our development team, so the wizard can keep the existing folder in a future version.
Best regards,
Alberta Time Zone Change
Hello ashrafulalam,
Thank you for the clear description and the screenshots.
We reproduced the issue in our lab, and your PSU settings are correct.
Alberta moved to UTC-6 all year on November 1, 2026, and Windows added a new time zone for it, "(UTC-06:00) Mountain Time (Alberta)".
On Windows, PowerShell Universal turns a time zone name like America/Edmonton into a Windows time zone.
Windows still matches America/Edmonton to the older Mountain Standard Time zone, which went back to UTC-7 on November 1.
Because of this, schedules set to America/Edmonton run one hour late, and the admin console shows times one hour behind.
Restarting the service does not change this.
For the schedules, please change the time zone from America/Edmonton to America/Regina.
America/Regina is the Saskatchewan time zone, which is also UTC-6 all year, so the run times will match Alberta time.
You can pick it in the same Time Zone list on each schedule.
In our test, a daily schedule set to 9:28 with America/Regina ran at 9:28 Alberta time, while the same schedule with America/Edmonton ran at 10:28.
Your schedules that run every 10 minutes are not affected, since they keep running every 10 minutes.
The admin console takes its time zone from your browser, which reports America/Edmonton, and the server reads it the same way.
You can see this on your User Settings page, where Time Zone shows "(UTC-07:00) Mountain Time (US & Canada)".
There is no setting to change this in the console, so the times shown there will stay one hour behind until a fix is available.
We are passing this to our development team so that PSU handles the new Alberta time zone correctly.
If you want to confirm it on your server, you can run these two lines in PowerShell 7 (pwsh.exe), not in Windows PowerShell 5.1:
[System.TimeZoneInfo]::FindSystemTimeZoneById('America/Edmonton').GetUtcOffset([DateTime]::UtcNow)
[System.TimeZoneInfo]::FindSystemTimeZoneById('America/Regina').GetUtcOffset([DateTime]::UtcNow)
On an affected server, the first line shows -07:00 and the second shows -06:00.
Could you let us know your PowerShell Universal version, so we can follow the fix for it?
You can find more about schedules here: https://docs.devolutions.net/powershell-universal/automation/schedules/
Best regards,
2026.3.4 - Regex POST and PATCH APIs Not Working When App at Root
Hello Sunny,
Thank you for testing 2026.3.4 so quickly, and for the clear steps to reproduce it.
We reproduced the issue in our lab on 2026.3.4, and the log you sent shows the same result on your server.
When an app is hosted at the root ("/"), regex endpoints that accept POST, PATCH or DELETE get an HTTP 405 (Method Not Allowed) with an empty body.
That empty 405 is the blank response you see.
The web routing hands the request to the app at the root before PowerShell Universal checks its regex endpoints, and that app only accepts GET.
GET requests to regex endpoints are not affected, which is why the 2026.3.4 fix looks partial.
It also explains your Invoke-PSUEndpoint result, because that cmdlet runs the endpoint inside PowerShell Universal and skips the web routing.
The GET in your log is a separate request, sent about 13 seconds before the POST.
The app at the root answered it, signed the user in with Windows authentication, and returned the app page.
The POST was not turned into a GET, and it received the 405 directly.
I am reporting this to our development team with our lab results and your log, as a follow-up to the earlier regex issue (ticket PSU-283, for internal reference only).
Moving the app away from the root still works, and we confirmed it in the lab.
If the app needs to stay at the root, there is a second workaround that we also confirmed.
Standard endpoints, without the Regex setting, accept POST, PATCH and DELETE normally when an app is at the root.
Your example URL has no regex pattern in it, so you can define it as a standard endpoint with a leading slash, and keep everything else the same:
$Var = @{ URL = '/my/api/v1/Computer/Request'; Method = @('POST','PATCH','DELETE'); Environment = 'Dedicated - API - v1'; Description = "Request API"; Authentication = $True; Role = @('Administrator', 'Requestors'); Path = "D:\Powershell Universal\Endpoints\myendpoint.ps1" }
New-PSUEndpoint @Var
In our lab, this endpoint worked next to your regex GET endpoint on the same base path.
If a write URL needs a variable part, the colon syntax also worked, for example /my/api/v1/Computer/:Id/Update.
You can find the syntax here: https://docs.devolutions.net/powershell-universal/api/endpoints/
Your GET endpoints that use regex can stay as they are.
One more point from your log: the account my\jsundberg3 received only the Reader role, while this endpoint allows Administrator and Requestors.
Please check that the account that calls the endpoint has one of those two roles.
Best regards,