5.0

Table Of Contents
ThinApp User’s Guide
36 VMware, Inc.
Table 3-1. Optional thinreg.exe Parameters
Parameter Purpose Sample Usage
/a,/allusers Registersapackageforallusers.
Ifanunauthorizeduserattemptstorun
theapplication,amessageinformsthe
userthatheorshecannotrunthe
application.
thinreg.exe /a
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
/q,/quiet Preventsthedisplayofanerrormessage
foranunrecognizedcommand line
parameter.
thinreg.exe /q <unknown_option>
/u,/unregister,
/uninstall
Unregisters
apackage.
Thiscommandremovesthesoftwarefrom
theAdd/RemoveProgramscontrolpanel
applet.
UnregisterMicrosoftWordforthecurrentuser.
thinreg.exe /u
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
UnregisterallMicrosoftOfficeapplicationsfor
thecurrentuserandremovetheAdd/Remove
Programsentry.
thinreg.exe /u
"\\server\share\Microsoft Office *.exe"
Ifauserregistersthepackagewiththe/a
parameter,youmustusethe
/aparameterwhen
unregisteringthepackage.
thinreg.exe /u /a *.exe
/r,/reregister Reregistersapackage.
Undertypicalcircumstances,the
thinreg.exeutilitycandetectwhethera
packageisalreadyregisteredandskipsit.
The/roptionforcesthethinreg.exe
utilitytoreregisterthepackage.
thinreg.exe /r
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
Ifauserregistersthepackagewiththe/a
parameter,youmust
usethe/awhen
reregisteringthepackage.
thinreg.exe /r /a *.exe
/k,
/keepunauthorized,
/keep
Preventstheremovalofregistration
informationevenifyouarenolonger
authorizedtoaccessanapplication
package.
Withoutthisoption,thethinreg.exe
utilityremovestheregistration
informationforthatpackageifitdetects
youarenolongerauthorizedto
accessthe
package.
ThinAppstoresauthorizationinformation
inthePermittedGroupsparameterofthe
Package.inifile.
thinreg.exe /k
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
/noarp Preventsthecreationofanentryinthe
Add/RemoveProgramscontrolpanel
applet.
thinreg.exe /q /noarp
"\\<server>\<share>\Microsoft Office
2007 Word.exe"
/norelaunch Startsthethinreg.exeutilityon
MicrosoftVistawithoutelevated
privileges.Standarduserscanstartthe
utilitywithoutauseraccountcontrol
(UAC)popupwindow.
Whenthethinreg.exeutilitydetectsa
needformoreprivileges,suchasthe
privilegesrequiredforthe/allusers
parameter,theutilityrestartsitselfasa
privilegedprocessandgeneratesaUAC
popupwindow.The/norelaunch
optionblocksthisrestartprocessand
causestheregistrationtofail.
thinreg.exe /q /norelaunch
"\\<server>\<share>\Microsoft Office
2007 Word.exe"