Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Windows-Error-Fixing-Scripts
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gohrbandt, Jan
Windows-Error-Fixing-Scripts
Commits
a056dffb
Unverified
Commit
a056dffb
authored
3 years ago
by
Jan
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added white desktop icon fix
parent
f55ba3e5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Fix white icons.bat
+50
-0
50 additions, 0 deletions
Fix white icons.bat
with
50 additions
and
0 deletions
Fix white icons.bat
0 → 100644
+
50
−
0
View file @
a056dffb
@echo
off
set
iconcache
=
%localappdata%
\IconCache.db
set
iconcache_x
=
%localappdata%
\Microsoft\Windows\Explorer\iconcache
*
echo
.
echo
The
explorer
process
must
be
temporarily
killed
before
deleting
the
IconCache
.db
file
.
echo
.
echo
Please
SAVE
ALL
OPEN
WORK
before
continuing
.
echo
.
pause
echo
.
If
exist
"
%iconcache%
"
goto
delete
echo
.
echo
The
%localappdata%
\IconCache.db
file
has
already
been
deleted
.
echo
.
If
exist
"
%iconcache_x%
"
goto
delete
echo
.
echo
The
%localappdata%
\Microsoft\Windows\Explorer\IconCache_
*
.db
files
have
already
been
deleted
.
echo
.
exit
/B
:delete
echo
.
echo
Attempting
to
delete
IconCache
.db
files
...
echo
.
ie4uinit
.exe
-show
taskkill
/IM
explorer
.exe
/F
If
exist
del
/A /F /Q
"
%iconcache%
"
If
exist
del
/A /F /Q
"
%iconcache_x%
"
start
explorer
.exe
echo
.
echo
IconCache
database
files
have
been
successfully
deleted
.
goto
restart
:restart
echo
.
echo
.
echo
You
will
need
to
restart
the
PC
to
finish
rebuilding
your
icon
cache
.
echo
.
CHOICE
/C
:YN
/M
"Do you want to restart the PC now?"
IF
ERRORLEVEL
2
goto
no
IF
ERRORLEVEL
1
goto
yes
:yes
shutdown
/r /f /t
00
:no
exit
/B
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment