Unhandled exception

Page 2 of 6 FirstFirst 1234 ... LastLast

  1. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #11

    SailingNut,

    The following script will put a ZIP file on your desktop. Attach that file to your next post.

    # **********************INSTRUCTIONS**************************
    # STEP 1 ** RUN POWERSHELL AS ADMINISTRATOR ******************
    # ************************************************************
    #
    # WIN key | type POWERSHELL | do NOT hit ENTER |
    # in the PROGRAMS list, right-click on WINDOWS POWERSHELL |
    # choose "Run as administrator" |
    # Click on the YES button (if such appears)
    #
    # WIN key = key with Microsoft log on top
    #
    # for the guru:
    # WIN | type POWERSHELL | CTRL+SHIFT+ENTER key combo | ALT+Y keycombo
    # ************************************************************
    # STEP 2 ** COPY AND PASTE ***********************************
    # ************************************************************
    #
    # COPY the script using CTRL+C,
    # COPY every line of script down thru both EXIT statements
    #
    # PASTE into Powershell
    #----Right-Click at the PowerShell Prompt
    #----(Ctrl+V does not work)
    #
    # Start copying with first script line without a # at start of the line
    # Note: Actually, you can paste the entire file if you rather
    #-------Lines starting with a # are ignored by PowerShell
    # ************************************************************
    # STEP 3 ** SCRIPT OUTPUT & SCRIPT PURPOSE *******************
    # ************************************************************
    # --The script output and purpose is given at the very front of the script
    #
    # --The script output and purpose is given at the very front of the script
    #
    # ************************************************************
    # ***************** NOTE - POWERSHELL VERSION*****************
    # if you receive this error msg:
    #--The system can not find the path specified
    # you may need to update your PowerShell
    # you must be using Powershell 2.0 or later.
    #
    # To determine your Powershell version:
    #---Run PowerShell
    #---enter $host.version
    #---you should see at least:
    # Major Minor Build Revision
    # ----- ----- ----- --------
    # 2......0......-1.....-1
    #
    # If you do not see the above, update your Vista/Win 7.
    # ************************************************************
    # *************** NOTE - EXECUTION POLICY*********************
    # If you haven't set the execution policy, you may need to:
    #---Run PowerShell
    #---enter SET-EXECUTIONPOLICY -EXECUTIONPOLICY REMOTESIGNED
    # ************************************************************

    Script:
    # ************************************************************
    # Zips up your log files from Windows Defender Offline
    #  and extended info about the log files
    # Places WDOlogs.ZIP on your Desktop
    #
    # ************************************************************

    function New-Zip {
        
    param([Parameter(Mandatory=$truePosition=0ValueFromPipeline=$true)]
        [
    String$Path, [Switch] $PassThru, [Switch] $Force )
        
    Process { if (Test-Path $path) {if (-not $Force) { return } }
        
    Set-Content $path ("PK" + [char]+ [char]+ ("$([char]0)" 18))
        
    $item Get-Item $path$item.IsReadOnly $false;if ($passThru) { $item } } }
    function 
    Copy-ToZip {param(
      [
    Parameter(Mandatory=$true,Position=0,ValueFromPipelineByPropertyName=$true)] [Alias('FullName')] 
      [
    String]$File, [Parameter(Mandatory=$true,Position=1)] [String]$ZipFile,[Switch]$HideProgress,[Switch]$Force )
      
    Begin {$ShellApplication = New-Object -ComObject Shell.Application
      
    if (-not (Test-Path $ZipFile)) {New-Zip $ZipFile};$Path Resolve-Path $ZipFile
      $ZipPackage 
    =$ShellApplication.Namespace("$Path")}
      
    Process {$RealFile Get-Item $File; if (-not $RealFile) { return }        
      if (-
    not $hideProgress) {$perc +=5; if ($perc -gt 100) { $perc 
        
    Write-Progress "Copying to $ZipFile$RealFile.FullName -PercentComplete $perc}
      
    $Flags 0; if ($force) {$flags 16 -bor 1024 -bor 64 -bor 512};Write-Verbose $realFile.Fullname
       $ZipPackage
    .CopyHere($realFile.Fullname$flags);Start-Sleep -Milliseconds 500}}

    $divider "#" 79
    $fileinfo 
    join-path $env:TEMP \wdofileinfo.txt
    IF (test-path $fileinfo) {del $fileinfo -ea:silentlycontinue -force:$true}
    $dir $env:windir '\Microsoft Antimalware\Support'
    $a dir $dir  -rec -force -ea:silentlycontinue sort-object -property lastwritetime 
    select namelastwritetimecreationtimelastaccesstimelengthextensionfullname
    $f 
    $a select namelastwritetime,creationtime,lastaccesstime,length
    $arr 
    = @()
    $arr += $f
    $a 
    where {$_.extension -eq '.log'} |Select fullname |
    foreach (
    $_.fullname) {
    $c $divider
    $d 
    $_.fullname;
    $e get-content -path $_.fullname
    $arr 
    += $c$d$e
    }

    $arr out-file $fileinfo
    $ziploc 
    $env:userprofile '\desktop\WDOlogs.ZIP'
    new-zip $ziploc -verbose:$false -ea:silentlycontinue -force:$true
    copy
    -tozip  $fileinfo $ziploc -verbose:$false -hideprogress:$true
    del $fileinfo

    EXIT
    EXIT

    # ************************************************************ 
      My Computer


  2. Posts : 127
    Windows 7 Ultimate x64
    Thread Starter
       #12

    Here is the ZIP file created by the script.

    TIA!
    Unhandled exception Attached Files
      My Computer


  3. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #13

    Am playing catchup. Maybe 1-2 hours before I can take a look.
    Thanks,
    karl
      My Computer


  4. Posts : 127
    Windows 7 Ultimate x64
    Thread Starter
       #14

    karlsnooks said:
    Am playing catchup. Maybe 1-2 hours before I can take a look.
    Thanks,
    karl

    No worries! I REALLY appreciate you taking the time to look at this for me!
      My Computer


  5. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #15

    100% uninstall AdWare.
    Do not ever use that spyware and trouble-maker.
      My Computer


  6. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #16

    Now need following:
    Install CCleaner:
    CCleaner - PC Optimization and Cleaning - Free Download

    list of STARTUP PROGRAMS

    CCleaner | Tools
    icon | Startup button | Windows tab |
    click on Save to text file button (bottom right side) |
    accept Startup.txt as file name | SAVE button

    list of SCHEDULED TASKS

    CCleaner | Tools
    icon | Startup button | Scheduled Tasks tab |
    click on Save to text file button (bottom right side) |
    enter Scheduled Tasks as File name | Save button

    List of INSTALLED PROGRAMS

    CCleaner | Tools
    icon | Uninstall button |
    click on Save to text file button (bottom right side) |
    accept install.txt as File name | Save button


    UPLOAD, as an attachment, the startup.txt file
    UPLOAD, as an attachment, the Scheduled Tasks.txt file
    UPLOAD, as an attachment, the install.txt file.

    HOW TO UPLOAD
    Post a File or Screenshot in Seven Forums
      My Computer


  7. Posts : 127
    Windows 7 Ultimate x64
    Thread Starter
       #17

    Here is the requested information.

    I noticed in the scheduled tasks that there are several AdAware tasks, but I did uninstall AdAware. I also checked and the directory referenced does not exist. My immediate reaction is to just remove those items, but I'll wait until you look at things so that we can have a more systematic approach to this clean up. Also so that you can be on top of what I'm doing.

    Thanks again!
    Unhandled exception Attached Files
      My Computer


  8. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #18

    sailngnut,
    Yes, go ahead and delete the adaware items.

    I'll be looking at the files in just about 2 minutes.
    karl
      My Computer


  9. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #19

    WIN | type MSCONFIG | ENTER | STARTUP tab |
    Uncheck ALL except for:
    Script:
    Sidebar    Microsoft Corporation    C:\Program Files\Windows Sidebar\sidebar.exe /autoRun
    IntelliPoint    Microsoft Corporation    
    "c:\Program Files\Microsoft IntelliPoint\ipoint.exe"
    MSC    Microsoft Corporation    "c:\Program Files\Microsoft Security Client\msseces.exe" -hide -runkey 


    REBOOT!


    You have just told Win 7 to not run unchecked programs at start up time.

    You have not disabled the programs. They will be run when needed.

    WIN = key with the Microsoft logo on top
      My Computer


  10. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #20

    CCLEANER | TOOLS icon | STARTUP tab | SCHEDULED TASKS tab |
    Use DISABLE button to disable ALL except for:
    Script:
    Adobe Flash Player Updater    Adobe Systems Incorporated    C:\Windows\SysWOW64\Macromed\Flash\FlashPlayerUpdateService.exe
    CCleanerSkipUAC    Piriform Ltd    
    "C:\Program Files\CCleaner\CCleaner.exe" $(Arg0)
    GoogleUpdateTaskMachineCore    Google Inc.    C:\Program Files (x86)\Google\Update\GoogleUpdate.exe /c
    GoogleUpdateTaskMachineUA    Google Inc
    .    C:\Program Files (x86)\Google\Update\GoogleUpdate.exe /ua /installsource scheduler 
    Close CCleaner.


    REBOOT!


    You have not disabled any programs. You have disabled the scheduled running.
    Later, after your system is running smoothly, you may reenable desired programs.

    Also, yes go ahead and delete the adaware entries.

    Also a sidetrack: Exit from ALL programs. then
    Run the Cleaner portion of CCleaner.

    After that then download and run:
    TFC - Temp File Cleaner by OldTimer - Geeks to Go Forums

    information was being stored in a location that shouldn't exist on your system.
      My Computer


 
Page 2 of 6 FirstFirst 1234 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:32.
Find Us