Wednesday, November 18, 2009

Doh I clicked "Remember My Password"

I clicked Remember my password and now I need to undo it, found this after much searching...

1. Click Start and select Run

2. In the Open field type "rundll32.exe keymgr.dll, KRShowKeyMgr"

3. Once the Stored Usernames and Passwords interface opens you can select any of the entries and select Properties to view the existing information

4. To remove a saved password you can select one of the entries and select Remove. A confirmation screen will appear. Click on OK and the account will be removed

Tuesday, September 29, 2009

Turn off New Folder option in MOSS as default

Have you ever wanted to have the New folder disabled by default in MOSS 2007?

You can manually disable it by choosing the Document Library Settings and choosing Advanced Settings, but if you are like me, you have far too many sites to worry about let alone changing this with each Document Library.
I have a solution for you, why not disable it in the template? It is pretty easy, just go to your hive 12 folder, TEMPLATE\FEATURES\DocumentLibrary\DocLib\ and edit your schema.xml. In the file, disable the folders by adding the highlighted setting to your List XML as follows:

List xmlns:ows="Microsoft SharePoint" Title="$Resources:shareddocuments_Title;" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Shared Documents" BaseType="1"

The FolderCreation option, simply chooses the No folder option in the advanced settings by default, allowing you to enable it if needed.

Once the change has been made and saved, you will need to restart IIS for the change to take effect.

Hope this helps someone out there, it took me forever to find a solution and I thought I should share it.

Thursday, August 13, 2009

Expiring SharePoint Groups and Accounts in MOSS 2007

In case you ever wondered what it would take to set up expiry of Sharepoint User Accounts, here is what you need to do to make this happen:



  1. To start, you will need to use a site collection administrator account, then from the top level of your portal/site collection Click Site Actions -> Site Settings -> People and Groups

  2. Click Settings -> List Settings

  3. Click Create Column

  4. Type the name of the column, I am calling mine Expiry Date

  5. Choose Date and Time

  6. Set any other information the way you want and Click OK
    You now have a column named Expiry Date

  7. Click Information Management Policy Settings

  8. Click Define a Policy ... and Click OK
    The Policy will be given teh name Person

  9. Choose Enable Expiration

  10. Under The retention period is:

  11. Choose A time period based on the item's properties:
    Expiry Date
    will be automatically chosen

  12. Type 0 in the box before years

  13. Choose Perform this action:
    The only choice should be Delete

  14. Click OK


You now have User accounts being deleted based on the expiry date.  If you want this to be selective, do not make it a mandatory field.  The Disposition ignores blanks, so if no date is set then it will not delete it when the Expiry Date = Today.


Hope this helps someone out there.