Stored passwords

Categories: Blog

try this in CMD : rundll32.exe keymgr.dll,KRShowKeyMgr   Shows all your stored credentials.

Powershell : Remove logon scripts

Categories: Blog

Removes logon scripts on a particular OU. $path = [adsi]”LDAP://OU=Users,OU=IT,OU=Eu,DC=eu,DC=somewhere,DC=com” $obj = New-Object adsisearcher($path , “(scriptPath=*)”) $users = $obj.FindAll() foreach ($user in $users) { $user = [adsi]$user.path $user.PutEx(1,”scriptPath”,$null) $user.SetInfo() }