Wednesday, 15 May 2013

What is the thumbs.db file

Description:


This article is explaining about what is the thumbs.db file and how to disable or stop the creation of thumbs db file and how to clean up existing thumbs db files.

Summary:



What is the Thumbs db file


    Thumbs.db is nothing but the cache file for thumbnails view. Anytime thumbnails view is enabled or has been enabled in Microsoft Windows the hidden file thumbs.db is automatically created in the same directory as where the thumbnails have been viewed. This file contains the information required by Windows to display the thumbnails for each of the icons and will be placed in every folder thumbnails are viewed.

This file can be safely deleted from any directory, however, it will be automatically recreated if thumbnails view is still enabled and you view that directory again.


How to disable/stop creation of thumbs db file?


   For Windows XP:
  • Open My Computer
  • Click on Tools    
  • Click the Folder Options
  • Click the View tab
  • Check the box next to "Do not cache thumbnails"
  • Click Apply and click OK to save settings.
  For Windows Vista and Windows 7:
  • Click the Start button
  • Click on Control Panel
  • Click on Tools    
  • Click the Folder Options
  • Click the View tab
  • Under the Files and Folders section check the button next to "Always show icons, never thumbnails"
  • Click Apply and click OK to save settings.


How to clean up existing thumbs db files?


   You can clean up by running Disk Cleanup in Vista or Windows 7 to remove any thumbs.db files that have already been created.
  • Click the Start button
  • Go to Accessories --> System Tools --> Disk Cleanup
  • In Disk Cleanup: Drive Selection make sure the (C:) drive is showing
  • Click OK (disk cleanup will run a brief calculation and then end)
  • On the Disk Cleanup Menu make sure there's a check next to the Thumbnails entry.
  • Click OK, then on the Delete Files pop up - the files you selected will be cleaned.
Best wishes,
Morgan



      


Active Directory Search Filter Examples

Active Directory Search filter enables you to define search criteria and provide more efficient and effective searches.

Note: You can see the equivalent attribute name of a Display name through this article 
http://morgantechspace.blogspot.in/2013/08/active-directory-attribute-mapping-with.html


Account and Password Status based Filters

All Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370))
Enabled Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!userAccountControl:1.2.840.113556.1.4.803:=2))
Disabled Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(userAccountControl:1.2.840.113556.1.4.803:=2))
LockedOut Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(lockouttime>=1))
Never LoggedOn Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(|(lastlogon=0)(!lastlogon=*)))
Password must change on Next Logon Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(pwdlastset=0))
Password Never Expire Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(userAccountControl:1.2.840.113556.1.4.803:=65536))
Password Required Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!userAccountControl:1.2.840.113556.1.4.803:=32))
Password Not Required Users (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(userAccountControl:1.2.840.113556.1.4.803:=32))

User Name based Filters

Users whose First Name is equal to 'Jack' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(givenName=Jack))
Users whose First Name starts with 'Jack' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(givenName=Jack*))
Users whose First Name ends with 'Jack' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(givenName=*Jack))
Users whose First Name contains 'Jack' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(givenName=*Jack*))
Users whose First Name is not equal to 'Jack' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!givenName=Jack))
Users whose First Name is not starts with 'Jack' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(!givenName=Jack*))
Users whose Last Name is equal to 'Morgan' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(sn=Morgan))
Users whose Display Name is equal to 'Martin' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(displayName=Martin))
Users whose Logon Name is equal to 'John' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(userPrincipalName=John))
Users whose Logon Name(Pre-Windows 2000) is equal to 'John' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(sAMAccountName=John))

Organization based Filters

Users based on Department 'Admin' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(department=Admin))
Users based on Job Title 'SQL Admin' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(title=SQL Admin))
Users based on Office 'CA 12' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(physicalDeliveryOfficeName=CA 12))
Users whose Company name starts with 'Dell' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(company=Dell*))
Users whose Company name ends with 'Tech' (&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370)(company=*Tech))



Related Articles:

Active Directory Attribute mapping with Friendly name - user
Active Directory Search Filter Examples
Create new Active Directory User in C#
How to get list of all domain controllers in C#
Remote Group Policy update using gpupdate in C#
Restore a deleted Active Directory object using C#
Active Directory search filter by ObjectGuid 

Thanks,
Morgan
Software Developer