Usage: smtpmd.exe CMD [param param] -svc [parm] -s [comp] -i [inst] -path [path] -pathdst [path] -prop [parm] -attrib [[]...] -utype [[]...] -dtype [[]...] -value [[]...] -fvalue [[]...] -nosave -timeout [] -delayafteropen [] -help -? "no switch" Command [param ...] -svc service (MSFTPSVC, W3SVC) -s name of computer to administer -i instance number -path path -pathdst destination path (use for COPY only) -prop property (IIS parameter) name -attrib property attributes -utype property user type -dtype property data type -value property values -fvalue property values as files -nosave do not save metabase -timeout timeout for metabase access in ms (default is 30000 sec -delayafteropen delay after opening node (default is 0 sec) -help print full help -? print help Description: IIS K2 administration utility that enables the manipulation with metabase parameters Notes: Simpified usage of mdutil doesn't require any switches. mdutil GET path - display chosen parameter mdutil SET path value ... - assign the new value mdutil ENUM path - enumerate all parameters for given path mdutil ENUM_ALL path - recursively enumerate all parameters mdutil DELETE path - delete given path or parameter mdutil CREATE path - create given path mdutil COPY pathsrc pathdst - copy all from pathsrc to pathdst (will create pathdst) mdutil RENAME pathsrc pathdst - rename chosen path mdutil SCRIPT scriptname - runs the script mdutil APPCREATEINPROC w3svc/1/root - Create an in-proc application mdutil APPCREATEOUTPROC w3svc/1/root - Create an out-proc application mdutil APPDELETE w3svc/1/root - Delete the application if there is one mdutil APPRENAME w3svc/1/root/dira w3svc/1/root/dirb - Rename the application mdutil APPUNLOAD w3svc/1/root - Unload an application from w3svc runtime lookup table. mdutil APPGETSTATUS w3svc/1/root - Get status of the application -path has format: {computer}/{service}/{instance}/{URL}/{Parameter} Samples: mdutil GET W3SVC/1/ServerBindings mdutil SET JAROSLAD2/W3SVC/1/ServerBindings ":81:" mdutil COPY W3SVC/1/ROOT/iisadmin W3SVC/2/ROOT/adm mdutil ENUM_ALL W3SVC mdutil ENUM W3SVC/1 Additional features set MDUTIL_BLOCK_ON_ERROR environment variable to block mdutil.exe after error (except ERROR_PATH_NOT_FOUND) set MDUTIL_ASCENT_LOG environment variable to force mdutil.exe to append errors to ascent log set MDUTIL_PRINT_ID environment variable to force mdutil.exe to print metadata numeric identifiers along with friendly names