Category: Domain Name

Getting AWStats installed and configured on IIS 7.5 - January 14, 2012 by

One of things I’ve wanted to evaluate is AWStats for doing analytics on a variety of sites I run. AWStats ( www.awstats.org ) is a free Open Source (Perl based) package. One of the things I couldn’t find that covered the steps to get IIS 7.5 up and running…(read more)
Steve Schofield's Blog

IIS Community Newsletter – December 2011 edition released - December 30, 2011 by

IIS Community Newsletter – December 2011 edition released http://www.iisnewsletter.com/archive/december2011.html Enjoy Steve…(read more)
Steve Schofield's Blog

Great SEO article - December 7, 2011 by

I ran across a great SEO article via Twitter, the link is here http://www.seomoz.org/blog/what-every-seo-should-know-about-iis There was a comment I wanted to add a few ideas, I tried to format the comment, however it didn’t format to cleanly so I thought…(read more)
Steve Schofield's Blog

Windows 7 Desktop Icons and Shortcuts Disappearing - December 1, 2011 by

So your desktop shortcuts are missing?

If they are all missing, chances are they might have been deleted or somehow, either you or a program, has disabled desktop icons. See Method 1 below.

If some of your icons look funny, are missing thumbnails, or the desktop doesn’t “refresh” when you’ve placed new items on it, try Method 2 as your icon cache may be corrupted.

If your desktop icons are missing and they are all network, broken local shortcuts, or shortcuts to files on a removable USB drive, system maintenance is to blame. There are two methods to help with that:

  • Method 3 is the easy way. The downside is that it disables all system maintenance. I would only recommend this as a way to test if that is indeed the correct solution to your problem.
  • Method 4 is the recommended method, as it is less of a band-aid solution. It involves increasing the threshold that Windows will have before it starts cleaning up broken shortcuts.

 

Method 1: All Icons missing from Desktop

  1. Right-Click on an empty part of the Desktop.
  2. Hover over “View” and make sure “Show Desktop Icons” is checked.

Show Desktop Icons

 

Method 2: Rebuild The Icon Cache

Open notepad, paste the following code, and then save it as IconFix.bat. Go to where you saved the file and double click it. As an alternative, you can type the lines one-by-one in the command prompt (Start -> Search -> cmd -> Right-click and select “Run as Administrator”).

taskkill /F /IM explorer.exe
cd /d %userprofile%\AppData\Local
attrib –h IconCache.db
del IconCache.db
start explorer.exe

 

Method 3: Disable System Maintenance

  1. Go to the Start Menu -> Control Panel -> System and Security -> Under “Action Center” click on “Troubleshoot Common Computer Problems” -> Click “Change Settings” on the left side.
  2. Under “Computer Maintenance” select “off” and under “Other Settings” remove both checkmarks as shown in the screenshots below.

Disable System Maintenance Step 1

Disable System Maintenance Step 2

 

Method 4: Modify The Scheduled Task Files

Try this when your network shortcuts or broken shortcuts disappear from your desktop. Windows 7 has a broken-shortcut threshold of 4. Some people recommend deleting the script file, but modifying it to increase the threshold to a higher number is a safer way to do it, while still allowing system maintenance to run (unlike Method 3). This method does require a bit more work, and there is a greater risk to system damage than the previous methods. There are some screenshots below to help you along with the steps.

  1. Double-click on “Computer” on the Desktop, or right-click on the Start Menu and click “Open Windows Explorer.”
  2. Go to: C:\Windows\diagnostics\scheduled\Maintenance.
  3. Right-click on TS_BrokenShortcuts.ps1 and select “Properties.”
  4. Click on the “Security” tab.
  5. Click on “Advanced” near the bottom.
  6. The Advanced Security settings dialog will pop up. Click on the “Owner” tab.
  7. The Current Owner will show TrustedInstaller. Click “Edit” near the bottom.
  8. Under “Change Owner To:” select your username.
  9. Click “OK” to close the dialog. Click “OK” to the warning.
  10. After returning to the Advanced Security settings dialog, it will show your user as the current owner. Click “OK.”
  11. Now that you are back in the Security tab, click “Edit.”
  12. The Permissions dialog will pop up. You are now free to select a group or user and modify the permissions on the file. You will likely be part of the “Users” group. Select “Users” and under permissions select “Modify.”
  13. Click “OK” to return to the Security tab. Click “OK” again to exit the file’s properties.
  14. Right-Click on TS_BrokenShortcuts.ps1 and select “Edit.”
  15. On line 44, find “-gt 4))” -> Change this to “-gt 25))” to set the threshold to 25 broken icons. If you feel there may be more than 25 broken network icons on your desktop at a time, adjust accordingly.
  16. If you wish to use the same method for preventing the removal of unused icons, edit the TS_UnusedDesktopIcons.ps1 file following the steps above, find “-gt 10” on line 50 and change it to a higher number.

Step 4 for fixing missing icons

Step 4 for fixing missing icons

Step 6 for fixing missing icons

Step 8 for fixing missing icons

Step 12 for fixing missing icons

Step 15 for fixing missing icons

Related posts:

  1. Block IP Addresses using IP Security Policy in Windows Server 2003
  2. Microsoft Internet Explorer 7 Tab Shortcuts
  3. TCP / IP Filtering For Windows

IIS Hacks | Server and System Administration

IIS Community Newsletter – November 2011 edition - November 30, 2011 by

#IIS Community Newsletter – November 2011 edition has been released. Lots of interesting and original content available on the web! http://www.iisnewsletter.com/archive/november2011.html Take care, Steve Schofield Microsoft MVP – IIS http://www.iislogs…(read more)
Steve Schofield's Blog

October 2011 IIS community newsletter available - November 17, 2011 by

After a few issues trying to send the October 2011 IIS community newsletter, we have got it published! http://www.iisnewsletter.com/archive/october2011.html is btw – if you need excellent windows hosting, visit www.orcsweb.com (ORCS Web) it’s awesome…(read more)
Steve Schofield's Blog

Rituals - September 27, 2011 by

Respecting somebody’s genuine feelings is more than enough a reason to follow rituals you may not necessarily want to.


A Glass case of Thoughts

Win8 / IIS 8 are available! - September 23, 2011 by

Microsoft has released the latest Windows OS preview. Nice new shiny logo. Download here http://msdn.microsoft.com/en-us/windows/apps/br229516 Server edition is available on MSDN. Enjoy! Steve…(read more)
Steve Schofield's Blog

July/August/September 2011 IIS Community Newsletter is available - September 20, 2011 by

Here is the July/August/September 2011 IIS Community Newsletter http://www.iisnewsletter.com/archive/JulyAugustSept.html Thank you, Steve Schofield Windows Server MVP – IIS http://www.iislogs.com/steveschofield http://www.IISLogs.com Log archival solution…(read more)
Steve Schofield's Blog

Interesting post to solve 500.19 Network BIOS Command Limit Reached - September 7, 2011 by

ran across this post browsing the forums @ http://forums.iis.net It’s a real problem dealing with UNC content. Thread: New Solution to 500.19 Network BIOS Command Limit Reached http://forums.iis.net/p/1181293/1994882 Thought I’d pass along. Steve Schofield…(read more)
Steve Schofield's Blog

« old entrys