How to get Windows 11 to launch a TD project at restart (and general tips for a laptop running TD for a few months)

I was wondering if anyone has good practises and tips for a laptop that will run a TD project for an installation for a few months?

Any tips are welcome but specifically at this point I am trying to launch my TD project after a reboot.
I managed to get the computer to reboot at a specific date and time, weekly, with Task Scheduler, however I cannot get Task Scheduler to launch my TD project after the reboot.

I have tried to create a new task, set the Action to “start a program” (at log on, or at start up), I have selected the .toe file, but Task Scheduler doesn’t launch the TD project.
What I am missing?
Any tips?

Hi @FaustoB,

the windows startup folder should still work? Bring up the “Run Dialog Box” with Windows Key + R, type shell:startup and place a shortcut to your file here.

Hope this helps
cheers
Markus

I had a similar issue a while back and after several shots in the dark tinkering with various settings in the task scheduler, I discovered a simple delay of a minute or so was all that was needed.
IIRC, you can configure this in the advanced settings when you add a new trigger.

I can’t be certain, but I assume that not everything TD needs to run has loaded in the background before a non-delayed trigger runs

I use the shell:startup approach but have found that it’s nice to provide some feedback to support personnel. instead of just dropping a link to the project directly into shell:startup, consider creating a .bat or .cmd file:

ECHO "Our kickass project will launch in 10 seconds..."
timeout /t 10
"d:\path to project\project.toe"

this let’s you use timeout to easily test and debug delays in launching the file.

Thanks @snaut @longwave @flowb !

Both shell:start solutions work perfectly.
I ended using @flowb solution, with the 10 second delay, very neat.

Didn’t have the chance yet to try the Windows 11 Task Scheduler solution with a 1 minute delay.

Now I am in the process of getting rid of any prompt that occasionally pops up between the reboot and actually launching Windows… such as “Finish to set up your computer!” choices “Now” or “Remind me in 3 days”, because the machine it’s just there, stalled, waiting for a human to choose between these two amazing choices.

My workaround on Windows 11 was going into Settings > System > Notifications and then scroll down to Additional Settings, uncheck all the boxes
“Show the Windows welcome …” OFF, ,
“Suggest ways to get the most out of Windows and finish setting up this device” OFF, “Get tips and suggestions…” OFF)

Anything else I should think of? any power settings? screen on/off?
Is anybody using something like Team Viewer or similar? (the machine will be 60km away, I would love to just turn Wifi off actually for simplicity (no Windows updates etc…) but I am open to suggestions)

My team uses Splashtop rather than TeamViewer because we like the licensing and deployment model but, it’s really a matter of preference.

Under System > Power > Screen, sleep & hybernate…: set all options to “Never”

Energy Saver to off.

I don’t see any reason for a remotely deployed machine why you wouldn’t want to simply disable all notifications.

Managing updates is annoying. There are posts on the interwebs about registry hacks and various approaches to making windows not auto-update. I don’t have a good goto solution for this. My own system is a Win 11 Pro Workstation edition, but we usually deploy to Windows 10 Enterprise systems that are managed by a third party that we’ve contracted out to. They maintain a system image that has smart configurations that mostly squash all of that effectively.

I just went looking through the docs.derivative.ca hoping to find a good whitepaper to refer you to but couldn’t find one besides the one about powershell, which covers some large scale remote management best practices.

@ben Assuming it doesn’t already exist and that I somehow overlooked it, it would be nice to put together a Windows configuration for Permanent Installations checklist/whitepaper that we can refer to.

1 Like

@flowb Yeah we don’t have articles in official documentation on this specifically, it does seem to constantly be changing and difficult to stay on top of. @tomsepe_212781 wrote this nice guide some years ago for Windows 10, you can apply this all to Windows 11.

Another for power settings on Windows here

search term “Windows Configuration” in the Community section.

2 Likes