{"id":8462,"date":"2017-09-15T12:19:00","date_gmt":"2017-09-15T12:19:00","guid":{"rendered":""},"modified":"2026-04-18T22:26:59","modified_gmt":"2026-04-18T22:26:59","slug":"error-when-updating-windows-service-using-wassservice-exe","status":"publish","type":"post","link":"https:\/\/hellem.org\/wblog\/?p=8462","title":{"rendered":"Error when updating Windows service using wassservice.exe"},"content":{"rendered":"<p>Trying to update the nodeagent service following the guideline found at <a href=\"https:\/\/www.ibm.com\/support\/knowledgecenter\/en\/SSAW57_8.5.5\/com.ibm.websphere.nd.doc\/ae\/rins_wasservice.html\">IBM Knowledge Center<\/a> failed, complaining about the value of the -username was not known. <\/p>\n<p><code>Unrecognized parameters encountered on the command line: 'wasadmin '<\/code><\/p>\n<p>It turned out that I had a slash at the end of the folder name for the washome, which then acted as an escape char for the double qoute<\/p>\n<p><code>-washome \"D:\\WebSphere\\AppServer\\\" <\/code><\/p>\n<p>Changed to <\/p>\n<p><code>-washome \"D:\\WebSphere\\AppServer\" <\/code><\/p>\n<p>and all was fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trying to update the nodeagent service following the guideline found at IBM Knowledge Center failed, complaining about the value of the -username was not known. Unrecognized parameters encountered on the command line: &#8216;wasadmin &#8216; It turned out that I had a slash at the end of the folder name for the washome, which then acted [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-8462","post","type-post","status-publish","format-standard","hentry","category-work-geek"],"_links":{"self":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/8462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8462"}],"version-history":[{"count":1,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/8462\/revisions"}],"predecessor-version":[{"id":9143,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/8462\/revisions\/9143"}],"wp:attachment":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}