TBWinPE Autostart script limited user action to script

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.
Post Reply
nemesis
Posts: 16
Joined: Mon Jun 21, 2021 12:25 pm

TBWinPE Autostart script limited user action to script

Post by nemesis »

Hi,

Is there a way to disable all user interaction in the TBWinPE image except for a command window running a tbs script?

I need to create something that is meant for a normal user with limited exprecience. I do not want them let's say experimenting!
TeraByte Support(PP)
Posts: 1497
Joined: Fri Aug 12, 2011 12:51 am

Re: TBWinPE Autostart script limited user action to script

Post by TeraByte Support(PP) »

Generally, I would recommend putting a warning message in your script to avoid doing other things unless instructed to by support (for example) instead of blocking all user interaction. This would let normal access to the tools be available if required.

Normally, TBLauncher should run because it handles initialization and configuration on startup, some of which would be skipped otherwise. If this isn't an issue then you could configure the startnet.cmd script to run whatever you need (TBLauncher is the last item by default). Note that when the Command Prompt window is exited/closed the system will restart.

Otherwise, the options are to use the InitScript.cmd file to run what you need prior to TBLauncher showing and/or the RunScript.cmd file to run after TBLauncher shows. For example, you could configure the InitScript to run your TBOSDT script and the RunScript to restart the system. Or your TBOSDT script could handle restarting, shut down, etc. Note that if the InitScript runs and finishes, TBLaucher will run IFW by default. If you don't want this, then use RunScript to do something else. Using the the autorun.cmd script might also be an option to consider.

Information on these options is in this article:
https://www.terabyteunlimited.com/howto/builder_settings.htm

You may also find this KB article helpful since you are creating a custom build:
https://www.terabyteunlimited.com/kb/article.php?id=615
Paul Purviance
TeraByte Support
nemesis
Posts: 16
Joined: Mon Jun 21, 2021 12:25 pm

Re: TBWinPE Autostart script limited user action to script

Post by nemesis »

Hi Pual,

I love this forum! Thank you for the elaborate, thoughtfull and detailed responce! As always you go beyond the call of duty.

although i would agree with you in the warning, this is regretably a requirement by the customer. They do not want their end customer tinkering with the product (understandable since you can buy a small island for the price of their products).

I'll look into all of this and followup, this make a few days though.
Post Reply