I need to activate Time Freeze (alternative for steadystate) as my last step. It has to run codes that it needs
cmd /c C:\"Program Files"\"Toolwiz Time Freeze"\ToolwizTimeFreeze.exe /usepass=password /freezealways
Above code is to activate the program after each restart. Hence the freezealways parameter. So this enables the program to also start at each restart
cmd /c C:\"Program Files"\"Toolwiz Time Freeze"\ToolwizTimeFreeze.exe /usepass=password /freeze
This will activate the program at that moment. I need to join both of the commands into 1, so I run them both in the SMSTSPostAction variable command. I was thinking of doing it like this;
cmd /c C:\"Program Files"\"Toolwiz Time Freeze"\ToolwizTimeFreeze.exe /usepass=password /freezealways & cmd /c C:\"Program Files"\"Toolwiz Time Freeze"\ToolwizTimeFreeze.exe /usepass=password /freeze
Any ideas?
Best Answer
You can put them in the task sequence as two separate commands. This is often better, because if something goes wrong with one of the commands, the logs will show which one.
Or write a small batch file or vbscript with both commands and run that.