CORRECTION, Word wrap is killing my script.
I am sure everyone knows how sometimes when you try to access a users computer via logmein it ask for an access code, but other times you have to enter a username and password. This script will add the logmeinremoteuser account which is hidden and allows you to remote in using an access code. Just replace password with the password you desire in the script below. If you forget to change the password in the script the password will be password. Does not work on Server OS's.
(note: REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentV......_DWORD /d 0 /f is all on one line 'the last line')
@echo off
Rem Creates Logmein User for access code use
Net user LogMeInRemoteUser password /add
goto admin
:admin @echo off net localgroup administrators LogMeInRemoteUser /add
net localgroup users LogMeInRemoteUser /delete
REG.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v LogMeInRemoteUser /t REG_DWORD /d 0 /f