Techbuddy Posted September 5, 2007 Share Posted September 5, 2007 I need to export password from AD of logged user and update has cache password for logged user. So when user logs in back to workstation(offline), using cache password needs to login into Domain. Note: Am new to scripting Link to comment Share on other sites More sharing options...
tAKTelapis Posted September 5, 2007 Share Posted September 5, 2007 (edited) Erm, wait.. You mean so that: User logs onto domain computer caches users password computer is removed from domain computer allows user to logon to the domain still ? No need for a script or any caching from the domain, There is a way to do it though. Remembering it just eludes me, For a start, i think that so long as they logon to the domain first, a user profile is created on log off and it may just allow them to login again, but i do not think it would be bullet proof, the laptop work has issued to me does it. On that note, i do not think it is even possible to read a users password out of an AD environment, though, i have never gone looking for a tool capable. Edited September 5, 2007 by tAKTelapis Link to comment Share on other sites More sharing options...
Techbuddy Posted September 5, 2007 Author Share Posted September 5, 2007 Hi,Thanks for reply,Yes its allows user login into domain when they are offline. Let me tell more what am trying to do,After logging into domain (offline) they get connect to company network using VPN. Then using a script am updating user profile and migrating the computer into target domain. During this process am requesting user to enter target domain password so that it caches in local workstation. Below mentioned the command linerunas /profile /user:targetdomain\%username% "%ProgramFiles%\Internet Explorer\iexplore.exe"Result : Everything works fineProblem: After restart unable to login into Target Domain, am guessing that cache password is not working properlly. For further troubleshoot i need figure which registry key stores this information so that i can reslove the problem.Erm, wait..You mean so that:User logs onto domaincomputer caches users passwordcomputer is removed from domaincomputer allows user to logon to the domain still ?No need for a script or any caching from the domain, There is a way to do it though. Remembering it just eludes me, For a start, i think that so long as they logon to the domain first, a user profile is created on log off and it may just allow them to login again, but i do not think it would be bullet proof, the laptop work has issued to me does it.On that note, i do not think it is even possible to read a users password out of an AD environment, though, i have never gone looking for a tool capable. Link to comment Share on other sites More sharing options...
Developers Jos Posted September 5, 2007 Developers Share Posted September 5, 2007 I have seen it happening that the cached credentials get lost on a Laptop and the user cannot logon to the Laptop. Only way I know to get this fixed is to connect to the Domain. We use a separate RAS box for that and have to user Dial in at the Logon screen to get this resolved. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Techbuddy Posted September 5, 2007 Author Share Posted September 5, 2007 But RAS option is not available here, Any one has solution for this? Link to comment Share on other sites More sharing options...
ptrex Posted September 5, 2007 Share Posted September 5, 2007 @all It happened to me many times on a laptop. And the easiest way to get the lost password back is simply to do a system restore to a previous state. Hope this helps regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now