<h2>"httpUsername is undefined" error during Help the Help Desk</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><ul style="list-style-position: inside;"><li>"httpUsername is undefined" error during Help the Help Desk<br /><br /><img src="/sys_attachment.do?sys_id=1cb94ca0db4e285066f1d9d9689619c7" width="630" height="660" /><br /></li></ul></section></div><div ><h3 >Release</h3><section><ul style="list-style-position: inside;"><li>All</li></ul></section></div><div ><h3 >Cause</h3><section><ul style="list-style-position: inside;"><li>The possible root cause may have been that the login script file is removed somehow (by someone or some antivirus) which starts triggering the issue.</li></ul></section></div><div ><h3 >Resolution</h3><section><ol style="list-style-position: inside;"><li>Run the "<strong>discovery.hta</strong>" file on the host machine and observe the reported error.<br /><br /></li><li>Observed if the login script is missing under the domain folder.<br /><br />3. Downloaded the <strong>login script</strong> from the instance<br /><br /><strong>Instance > Navigator > System Diagnostics > Help the Help Desk login Script</strong><br /><br />4. Copy this downloaded <strong>login script</strong> on to your domain folder under C:/Windows folder.<br /><br />5. Also download the latest "<strong>discovery.hta</strong>" file from the instance (<strong>Self Service > Help the Help desk</strong>) and copy on to the host machine.<br /><br />6. Execute the latest "<strong>discovery.hta</strong>" file to verify it completes successfully without any errors and creates the CI on the CMDB tables.<br /><br /><strong>Note</strong> : Make sure that the Help the help desk script file does not have a hard-coded username, as that will be executed successfully only when that particular user triggers it and also if the username is hard coded all the CIs in the CMDB tables gets "Assigned to" that particular user even when there are other users in the system like below.<br /><br /><img src="/sys_attachment.do?sys_id=473d8424db8e285066f1d9d9689619c1" width="595" height="323" /><br /></li></ol></section></div></article></div>