Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Unhandled exception

20 Aug 2012   #11
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
20 Aug 2012   #12
SailingNut

Windows 7 Ultimate x64
 
 

Here is the ZIP file created by the script.

TIA!


Attached Files
File Type: zip WDOlogs.ZIP (3.5 KB, 1 views)
My System SpecsSystem Spec
20 Aug 2012   #13
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Am playing catchup. Maybe 1-2 hours before I can take a look.
Thanks,
karl
My System SpecsSystem Spec
20 Aug 2012   #14
SailingNut

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by karlsnooks View Post
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 System SpecsSystem Spec
20 Aug 2012   #15
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

100% uninstall AdWare.
Do not ever use that spyware and trouble-maker.
My System SpecsSystem Spec
20 Aug 2012   #16
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
20 Aug 2012   #17
SailingNut

Windows 7 Ultimate x64
 
 

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!


Attached Files
File Type: txt startup.txt (5.5 KB, 4 views)
File Type: txt Scheduled Tasks.txt.txt (2.8 KB, 5 views)
File Type: txt install.txt (22.1 KB, 4 views)
My System SpecsSystem Spec
20 Aug 2012   #18
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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

I'll be looking at the files in just about 2 minutes.
karl
My System SpecsSystem Spec
20 Aug 2012   #19
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
20 Aug 2012   #20
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
Reply

 Unhandled exception




Thread Tools





Similar help and support threads
Thread Forum
Unhandled Exception
How can i enable debugging here in this application , the error here is about the value,whenever i try to do something with the application a pop-up comes and it says that for further task you have to change the value and at the bottom it asks to do debugg or do anything else which is completely...
BSOD Help and Support
.NET Framework - Unhandled exception has occurred....
https://lh4.googleusercontent.com/-HGG6maQlIW8/UCHl2ClzpUI/AAAAAAAAAGA/872XfaDMm-o/s461/Capture2104.JPG https://lh6.googleusercontent.com/-FTQIAa9_Wn4/UCHl2PqLh0I/AAAAAAAAAF8/fd4X38CGxps/s452/Capture2105.JPG
Software
unhandled exception has occured....
Hi When I open my computer I see this note ("Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.) I use windows 7>>>please advise.....thanxxxxxx a lot
System Security
UNHANDLED EXCEPTION HELP!
Hi, everytime i launch AutoCAD2010 i get a message box.. "Unhandled Exception Calibri Bold Caps doesnt support underlined" I tried reinstalling the font..but still occurs Help!
Software
Unhandled exception has occured
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.DivideByZeroException: Attempted to divide by zero. at Iconifier.PackageListBox.OnDrawItem(DrawItemEventArgs e) at...
BSOD Help and Support
Unhandled exception...
"...has occurred in your application. If you click Continue the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately". I'm sure I'm not the first to see this error message. What is the fix here? Thanks.
BSOD Help and Support

Our Sites

Site Links

About Us

Find 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 23:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App