ThinApp User's Guide
Table 3-1. Optional thinreg.exe Parameters
Parameter
/a, /allusers
/q, /quiet
/u, /unregister,
/uninstall
/r, /reregister
/k,
/keepunauthorized,
/keep
/noarp
/norelaunch
42
Purpose
Registers a package for all users.
If an unauthorized user attempts to run
the application, a message informs the
user that he or she cannot run the
application.
Prevents the display of an error message
for an unrecognized command‐line
parameter.
Unregisters a package.
This command removes the software from
the Add/Remove Programs control panel
applet.
Reregisters a package.
Under typical circumstances, the
thinreg.exe utility can detect whether a
package is already registered and skips it.
The /r option forces the thinreg.exe
utility to reregister the package.
Prevents the removal of registration
information even if you are no longer
authorized to access an application
package.
Without this option, the thinreg.exe
utility removes the registration
information for that package if it detects
you are no longer authorized to access the
package.
ThinApp stores authorization information
in the PermittedGroups parameter of the
Package.ini file.
Prevents the creation of an entry in the
Add/Remove Programs control panel
applet.
Starts the thinreg.exe utility on
Microsoft Vista without elevated
privileges. Standard users can start the
utility without a user account control
(UAC) pop‐up window.
When the thinreg.exe utility detects a
need for more privileges, such as the
privileges required for the /allusers
parameter, the utility restarts itself as a
privileged process and generates a UAC
pop‐up window. The /norelaunch
option blocks this restart process and
causes the registration to fail.
Sample Usage
thinreg.exe /a
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
thinreg.exe /q <unknown_option>
Unregister Microsoft Word for the current user.
thinreg.exe /u
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
Unregister all Microsoft Office applications for
the current user and remove the Add/Remove
Programs entry.
thinreg.exe /u
"\\server\share\Microsoft Office *.exe"
If a user registers the package with the /a
parameter, you must use the /a parameter when
unregistering the package.
thinreg.exe /u /a *.exe
thinreg.exe /r
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
If a user registers the package with the /a
parameter, you must use the /a when
reregistering the package.
thinreg.exe /r /a *.exe
thinreg.exe /k
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
thinreg.exe /q /noarp
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
thinreg.exe /q /norelaunch
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
VMware, Inc.