Navigation

5/18/2017

IIS: restoring IUSR_computername


On IIS with ASP, got the following error:  Active Server Pages error 'ASP 0115'

Looked like permissions issue with following accounts:  IUSR_computername and IWAM_computername

To recreate these accounts, did these steps:

Click Start, and then click Run.
  1. Type regedit, and then click OK.
  2. Locate the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp
  3. Right-click InetStp, point to
    New, and then click DWORD Value.
  4. Type
    DisableUserAccountRestore. Do not change the default value.
  5. Quit Registry Editor.
  6. Click Start, and then click Run.
  7. Type cmd, and then click OK.
  8. At the command prompt, type iisreset, and then press ENTER

support.microsoft.com

5/16/2017

auto login for Putty telnet

We use Putty software to telnet into a linux server, to setup autologin, create BAT file with following commands:


@echo off
putty -load "host" -l username -pw password


From stackoverflow.com

Also take a look at Putty tips & tricks