5.1

Table Of Contents
ThinApp User’s Guide
40 VMware, Inc.
Table 3-1. Optional thinreg.exe Parameters
Parameter Purpose Sample Usage
/a, /allusers 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.
thinreg.exe /a
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
/q, /quiet Prevents the display of an error message
for an unrecognized command-line
parameter.
thinreg.exe /q <unknown_option>
/u, /unregister,
/uninstall
Unregisters a package.
This command removes the software from
the Add/Remove Programs control panel
applet.
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
/r, /reregister 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.
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
/k,
/keepunauthorized,
/keep
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.
thinreg.exe /k
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
/noarp Prevents the creation of an entry in the
Add/Remove Programs control panel
applet.
thinreg.exe /q /noarp
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
/norelaunch 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.
thinreg.exe /q /norelaunch
"\\<server>\<share>\Microsoft Office
2007 Word.exe"