Clear your AUC files for All user.
# Create array containing all user profile folders
$colProfiles = Get-ChildItem "C:\Users\" -Name
$colProfiles = $colProfiles -ne "Public"
# Removes AUC files from each user profile folder
ForEach ( $objProfile in $colProfiles )
{
Get-ChildItem "C:\Users\$objProfile\AppD ata\Local\ *.AUC" -force | remove-item -force
}
if you just want to clear the one user go to the following
c:\users\username\AppData\ Local and clear anything ending with .AUC
# Create array containing all user profile folders
$colProfiles = Get-ChildItem "C:\Users\" -Name
$colProfiles = $colProfiles -ne "Public"
# Removes AUC files from each user profile folder
ForEach ( $objProfile in $colProfiles )
{
Get-ChildItem "C:\Users\$objProfile\AppD
}
if you just want to clear the one user go to the following
c:\users\username\AppData\
No comments:
Post a Comment