How to Stop Windows Auto Shutdown Due to qrexec_timeout

I have a windows cube that automatically shuts down after the number of seconds from qvm-prefs <windows-template> qrexec_timeout 30000. What’s the command to stop it from shutting down, timeout = default?

You can always try the command with --help. It could give you hint

is for starting?
shutdown_timeout is for shutting down?

Whatever you want to default in qvm-prefs nevertheless would be

$ qvm-prefs --default VMNAME [PROPERTY]

where the [PROPERTY] in your case would be qrexec_timeout or shutdown_timeout.

If your question is why Windows can’t start at all, then there is no clear answer to that based on info you gave us

Why did you set qrexec timeout to almost 9 hours at all?

I can be using Windows and it shuts down on me. That’s the problem.

When you first create a Windows cube, the instruction requires this step, qvm-prefs <windows-template> qrexec_timeout 300.

I recall Windows would shut down on me while I’m using it after 300 seconds, so I increased it to something like 10000. This would often give me some time to finish doing something. But sometimes it’s not enough time. I just threw 30000 as an example.

I’m looking for a way to use Windows for an unlimited amount of time.

Wait, what you are writing has nothing to do with for how long Windows will be up or not.
As I said, qrexec_timeout is for how long system will wait for Windows to start, not how long it will be up?!

With 30000 you would wait Windows to start for 9 hours!

Something else shuts down Windows, not this!