Question : Windows 7 - erase or change last logged in user

Hello

Is there a way in 7 (and Vista) to clear the last logged on user, but not permanently?

I regularly have to remote into computers after hours to upgrade or troubleshoot. One thing that happens though, being in a domain environment, is that after I log out and the user comes to the computer, sometimes they won't notice my user account is there in the username, so they'll type their password 3 times and now I'm locked out. This is bad. Which is why on XP I use a tool called "CoverYourTracks" that lets me clear temporarily, or change it back to another user.

Answer : Windows 7 - erase or change last logged in user

I'd do something like:

    Do While InStr(str, "  ") > 0
        str = Replace(str, "  ", " ")
    Loop

Chris
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
Set objFSO = CreateObject("Scripting.FileSystemObject") 
myFile = "c:\macros\aces\claim13.txt" 
Set objFile = objFSO.OpenTextFile(myFile,1) 
Do Until objFile.AtEndOfStream 
  line=objFile.ReadLine 
  WScript.Echo trimspace(line)
Loop 
Function trimspace(str As String) As String
    Do While InStr(str, "  ") > 0
        str = Replace(str, "  ", " ")
    Loop
    trimspace = str
End Function
Random Solutions  
 
programming4us programming4us