Jump to content

turb0z

Members
  • Posts

    4
  • Joined

  • Last visited

turb0z's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. It appears that the AutoLogonCount registry key has fixed the problem. I was also not using a password (which I had other hurdles to overcome JUST to have no password). So, I decided to finally put a password in and also added that AutoLogonCount. I have to wait and see how the system does over the next few days to know if it's fixed for sure. Thanks for all the responses again. I've been using AutoIt for a short time but I've already found tons of uses for it.
  2. Thanks for all the great help guys, you've all been very helpful. I'll look over the information given and let you guys know what I come up with
  3. I am also really stumped why my RunWait won't work. I use it to to install another application as an admin and it's working just fine. I'll do some snooping, let me know if you remember where that setting is to prompt UAC as a standard window.
  4. Hello, I'm writing an extremely basic script that writes Registry elements at logon. Unfortunately, I can't write these elements without UAC's approval, so I'm in a bind. To give a short description of what I"m doing: I have a cybercafe image I'm building. This cafe build has automatic login configured. I set the following values: RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "ForceAutoLogon", "REG_SZ", "0") RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "AutoAdminLogon", "REG_SZ", "1") RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultUserName", "REG_SZ", "cybercafe") RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultPassword", "REG_SZ", "") If I don't set this at startup, the automatic logon fails at next reboot. I'm sure there's some hex value out there that I'm not setting, but my research online has turned up nothing and the very same registry changes work permanently for XP, so I've chalked it up to yet another Vista "bug". In any case, here's what I'm preceding these lines with: #RequireAdmin WinWait("User Account Control") Send("mypassword {ENTER}") Unfortunately UAC halts the application from running, it's not just a dialog where AutoIt can type in the password. So now I'm stuck. I've tried running a wsf using the following as an admin: RunAsWait('cafeadmin','.','mypassword',1,'wscript c:\windows\1_auto_login.wsf') I keep getting a script error stating that access is denied. If someone could help me on this, that would be fantastic. I'm going to keep digging but at this point I'm about to pull my hair out.
×
×
  • Create New...