Posts Tagged ‘ Desktop Shortcuts

Windows 7 Desktop Icons Disappear

Issue:

  • Icons on my Windows7 desktop disappear

Microsoft Information:

Other Information:

1. Easy solution to shortcuts disappearing… create a folder on your desktop called Shortcuts and put all your desktop shortcuts in the folder.  Then “send” the shortcuts back to your desktop from the folder.  Now they won’t disappear because they are linked to the desktop not to the correct location.

2. PowerShell Amend

  • Navigate to “%SystemRoot%\diagnostics\scheduled\Maintenance”.
  • Take ownership of the file “TS_UnusedDesktopIcons.ps1” (else you will not have the permission to modify the file)
  • Comment out (with a #) the line 32 ($list = AttachTo-List $list $wmiLinkFile.Name)
  • Save…

BAT FILE FIX


@echo *************************************
@echo ** REMEMBER : Run as Administrator **
@echo *************************************
@pause
%SystemDrive%
cd \Windows\diagnostics\scheduled\Maintenance
takeown /F TS_BrokenShortcuts.ps1
icacls TS_BrokenShortcuts.ps1 /grant "%USERNAME%":F
@echo “”
@echo *****************************************************************
@echo ** Search for '-gt 4' and replace with '-gt 400' and then SAVE **
@echo *****************************************************************
@echo "pess to edit file"
@pause
notepad TS_BrokenShortcuts.ps1