Jump to content

Search the Community

Showing results for tags 'browser cleanup'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hello gents, Need help in clearing passwords from all browsers and windows credentials. Below is whats required : Requirement : Clear saved passwords from all browsers and windows credentials Functionality: 1) Should detect diff browsers like Opera,Mozilla,chrome and IE and then only run command to clear saved password, if browsers are present 2) Clear Windows credentials in control panel (Win 7 and Win 10) 3) Should detect OS: Win 7 and Win 10 Issues: 1) Does not seem there is any command line to delete saved passwords in Chrome, Firefox and Opera....(IE does have) 2) Due to which ..have to get Class , instance and Control ID to get hold of Advanced option to delete all saved passwords at once 3) Deleting Firefox , chrome and opera folders in user profile will also delete some useful information...therefore we cannot delete those folders I do started creating script but getting no where, any help would be appreciated #include <MsgBoxConstants.au3> #include <AutoItConstants.au3> ;~ SplashTextOn("Cleanup Tool", "You have initiated cleanup tool, this will clear Internet explorer, Mozilla Firefox and Chrome cookies and Passwords. Please save your work and close all these browsers", -1, -1, -1, -1, $DLG_TEXTLEFT, "", 16) ;~ Sleep(10000) ;~ SplashOff() ;~ Local $test ;~ local $Mozilla_Local = "C:\Users\" & @UserName & "\AppData\Local\Mozilla\Firefox\Profiles\" ;~ local $Mozilla_Roaming = "C:\Users\" & @UserName & "\AppData\Roaming\Mozilla\Firefox\Profiles\" ;~ local $Mozilla_profile = "C:\Users\" & @UserName & "\AppData\Roaming\Mozilla\Firefox\profiles.ini" ;~ local $Chrome_Local = "C:\Users\" & @UserName & "\AppData\Local\Google\Chrome\User data\" ;~ ProcessClose("Chrome.exe") ;~ sleep(5000) ;~ DirRemove ($Chrome_Local,1) ;~ DirCreate ($Chrome_Local) ;~ MsgBox ($MB_YESNO,"Cache Delete Program", "This will detele all browser cache and password stored in them...do you want to continue...?",10) ;~ Run("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255") ;~ ProcessClose("Firefox.exe") ;~ sleep(5000) ;~ DirRemove ($Mozilla_Local,1) ;~ sleep(2000) ;~ DirRemove ($Mozilla_Roaming,1) ;~ sleep(2000) ;~ FileDelete ($Mozilla_profile) ;~ sleep(2000) ;~ DirCreate ($Mozilla_Local) ;~ DirCreate ($Mozilla_Roaming) ;~ MsgBox(0,"",$Mozilla_profile) ;~ ; ; FLICKER ;~ Local $sMessage = "" ;~ SplashTextOn("TitleFoo", $sMessage, -1, -1, -1, -1, $DLG_TEXTLEFT, "") ;~ For $i = 1 To 20 ;~ $sMessage = $sMessage & $i & @CRLF ;~ SplashTextOn("TitleFoo", $sMessage, -1, -1, -1, -1, $DLG_TEXTLEFT, "") ;~ Sleep(100) ;~ Next ;~ ; ; SMOOTH ;~ $sMessage = "" ;~ SplashTextOn("TitleFoo", $sMessage, -1, -1, -1, -1, $DLG_TEXTLEFT, "") ;~ For $i = 1 To 20 ;~ $sMessage = $sMessage & $i & @CRLF ;~ ControlSetText("TitleFoo", "", "Static1", $sMessage) ;~ Sleep(100) ;~ Next Local $Start_Chrome = Run ("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "", @SW_SHOWMAXIMIZED) WinWait("[CLASS:Chrome]", "", 10) Send("^+{DEL}") ControlClick ("Settings - Google Chrome", "" ,215285776,"[Class:Chrome_RenderWidgetHostHWND;TEXT:Chrome Legacy Window;INSTANCE:1]") ;~ MouseClick($MOUSE_CLICK_LEFT,554,1041) Sleep(5000) ;~ ProcessClose($Start_Chrome) ;~ MouseClick($MOUSE_CLICK_RIGHT)
×
×
  • Create New...