Deployment Solution

 View Only
  • 1.  Need script to log in user on Win 7 computer

    Posted Mar 18, 2010 12:42 AM
    With the bug in DS 6.9 sp3 and you can't remote when a user is not logged onto a Win 7 computer, I need a script to push down to log in a user. Does anyone have one?


  • 2.  RE: Need script to log in user on Win 7 computer

    Posted Mar 18, 2010 05:50 AM
    you can setup sysprep to automatic login at unattend.xml config file
    but this only works when you are installing pc.
    Doesnt work if pc is already installed and in use.


  • 3.  RE: Need script to log in user on Win 7 computer

    Posted Mar 18, 2010 05:52 AM


  • 4.  RE: Need script to log in user on Win 7 computer

    Posted Mar 18, 2010 07:37 AM
    We don't tipically use the DS for remote control, but if you need a way to force an auto log in there is always the registry.  I believe this will work with Windows 7 although I have not tried it yet but we do use it for Windows XP for other reasons. 

    There are three parts to this, the first is adding the autolog in:

    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 1 /f
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /d useraccount /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /d userpw /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /d %COMPNAME% /f

    *note* if you want it to use a domain account change %COMPNAME% with the domain you want to use

    Second Force a restart (power control to reboot)

    Finally once it boots up, remove the registry keys to prevent remote viewing of the password as it will be in plain text.

    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 0 /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /ve DefaultUserName /f
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /f
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomain /d %YourDomain% /f

     


  • 5.  RE: Need script to log in user on Win 7 computer

    Posted Mar 18, 2010 11:49 PM
    Thanks for your reply. This could work. Its a little bit of a hassle though. If Symantec would just fix the ds remote for windows 7 in the DS console I wouldn't have to be looking for a fix.


  • 6.  RE: Need script to log in user on Win 7 computer

    Posted Mar 18, 2010 11:54 PM
    Thanks. I think this script would work . I just wish Symantec would fix the DS remote function in DS6.9 for Windows 7 for a non logged on user.