gfd_sl
Member
- Local time
- 5:21 PM
- Posts
- 1
- OS
- Windows 10
Hey guys,
I have a script with Powershell routines to run periodically.
I have already applied the following commands to make it run.
Set-ExecutionPolicy Unrestricted
dir c:\Support\routines.ps1 | unblock-file -confirm
This script runs manually without any problems: I open PS and type "c:\Support\routines.ps1" without "". Works 100%
When placed in the task scheduler, the blue screen appears and nothing else happens. It's set up to not be hidden or anything else. It simply must be performed once/day and that's it.
Would anyone know how to make it run on the OS in question (Windows 11), given that the only thing that remains is a blue screen that never closes?
Thanks!
I have a script with Powershell routines to run periodically.
I have already applied the following commands to make it run.
Set-ExecutionPolicy Unrestricted
dir c:\Support\routines.ps1 | unblock-file -confirm
This script runs manually without any problems: I open PS and type "c:\Support\routines.ps1" without "". Works 100%
When placed in the task scheduler, the blue screen appears and nothing else happens. It's set up to not be hidden or anything else. It simply must be performed once/day and that's it.
Would anyone know how to make it run on the OS in question (Windows 11), given that the only thing that remains is a blue screen that never closes?
Thanks!
- Windows Build/Version
- Version 11
My Computer
System One
-
- OS
- Windows 10
- Computer type
- PC/Desktop
- CPU
- Intel i7-3770
- Motherboard
- ASUS
- Memory
- 16 GB
- Graphics Card(s)
- Onboard
- Sound Card
- Onboard
- Monitor(s) Displays
- LG M228WA
- Screen Resolution
- 1680x1050
- Hard Drives
- SSD 120 GB + HD 2 TB