Command Line options - Printable Version

+- (
+-- Forum: Choose a topic below (
+--- Forum: General discussions (on topic) (
+--- Thread: Command Line options (/Thread-Command-Line-options)

Command Line options - SharkAdmin - 08-10-2020

The above command box can be accessed using /?  ,  /h  or  ?
To expand your knowledge of available commandline options starting with, Settings64.exe 1strun to close the Application.
each of the available command line entries needs to be a single directive.
Commandline options cannot be combined.

All commandline executions are hidden.

usage format: x:\fullpathto\Settings64.exe reset
usage format: x:\fullpathto\Settings64_portable.exe restore

These commandline options all must be run with the App closed. It will auto-close after applying each one.
reset - same as pressing [RESET ALL]  (the app will close after applying this setting)
uninstall - its a done deal, no user input but there are visuals (it is also the default uninstall feature of the app and Windows itself uses it too)
restore - needs to be applied with the app closed
users - transfer ALL settings to ALL users of the current system.

The restore settings include all possible options my GUI allows access to, directly and indirectly,
by opening another GUI such as a LAV setting. It also includes screen positioning and background color.
It also includes the users directive to setup any other user accounts on the system to the saved settings. 

Information about the stored  files for settings restoration.
files are found in the following locations;
X64Components - any version, C:\ProgramData\Shark007\settings\**files**
32bit Advanced, C:\ProgramData\Advanced\settings\**files**
32bit Standard, C:\ProgramData\Standard\settings\**files**
Standard = 3 reg files and an ini file - Advanced = 5 reg files and an ini  file
If any reg files are missing, it just means that default settings of that software are being used.
setting the x,y positions in the inifile to -1 would center it on the screen. 0 would be top left.

The restoration feature can be automated.
If the files exist in their proper location during installation, and were saved with the [x] Restore automatically tag
they will be used to restore your preferred settings during the installation setup feature or by running the portable app for the 1st time.

To use these saved files without auto-restore occuring, do not save them with the auto-restore tag.
On a clean OS install, use the 1strun commandline to close the App.
Then use the restore commandline to apply your settings. (of course, the settings need to pre-exist in the programdata dir.)
This would also be handy for a System Administrator to 1st send out a reset and then a restore command to fully reset faulty systems.

All of these functions mentioned above also apply to the Portable Codec solutions. (no installer, just place the file where ever you want them)
Using the portable codec release, simply extract and place the package onto the target system, including the saved settings to the %programdata% folder
and then send the command, x:\full\PathTo\Settings64_portable.exe restore (provided that the settings were saved with auto restore enabled)
A GUI is not presented and the codecs, along with your preferred settings, are setup instantly and without any GUI presented. 

There is a new AutoUpdate.exe file in the \Tools directory. It is currently ver
It can be run silently using the commandline  full\path\to\AutoUpdate.exe /silent Or -silent Or just a RAW statement 'silent'
The commandline  full\path\to\Settings64_portable.exe /silent Or -silent Or a RAW statement 'silent' also works to run the updater silently.
It updates everything installed/setup as long as there is internet access available.
All settings are preserved during the updates.