My Top 5 Freeware Tools

It has been more a year of a long online silence since I wrote the last blog post. Pursuing MBA degree while working full-time in consulting turned out to be a lot more challenging and time-consuming than I originally expected. Nonetheless, the school courses are behind now and I am finally back to the world of blogosphere. To celebrate my comeback I wanted to share some of my favorite freeware software companions that were helping me for years automating my daily tasks, while asking nothing in return:

  • TrueCrypt – in the light of the latest spying revelations and increasing malware activities this utility allows you to encrypt your confidential data and mount them as drives in your computer (this product replaces now defunct PGPDisk, which back in the 90′s paved the encryption revolution)
  • 7-Zip or WinRAR – great archivers, which trump the compression quality and offer a decent AES-based archive encryption.
  • Far Manager – my all-time favorite file and ftp manager, which allows quick selective copying of vast amount of files with the powerful built-in editor. The manager is similar to Midnight Commander on Linux, but optimized for Windows and comes in 32 and 64 bit native flavours.
  • Flexible Renamer – amazing file renamer, which can help rename your countless music or image files, using their tags or rules based on regular expressions.
  • ID3 Renamer – coupled with the Flexible Renamer, this utility allows you easily create or change ID3 tags based on the file names while using regular expressions. Perfect addition for iTunes and other music players, which heavily rely on the media tags.

And the last outside addition to that list – WinAmp – which deserves one last shout out as my all-time favorite music player. An amazingly light and versatile player, which unfortunately AOL team decided to discontinue despite its popularity and loyal customer base.

Village School

VMware Performance Enhancing Tweaks (Over-the-Counter Solutions)

I have been using VMware virtualization for quite a few years now, and even though it is generally fast and reliable platform, it does require some extra tuning to improve its performance. Here is a brief collection of tweaks that I personally use on Windows and Mac to speed up and improve I/O performance of VMware virtual machines. These tweaks have become particularly useful in the past couple of years, since larger amount of available RAM on computers and desire to reduce unnecessary write operations to SSD drives, such as full memory swap files.

Tweak: Disable memory swap files .vmem files

In the VMware settings.ini file add the following line (Update: you can change that line in your .vmx file as well):

mainMem.useNamedFile = "FALSE"

Settings.ini file is located file either at C:\ProgramData\VMware\VMware Workstation\ or C:\Documents and Settings\All Users\Application Data\VMware\VMware Workstation\ folders, depending on your operating system.

Note: Unfortunately this parameter does not work for VMware Player, as it always creates virtual machine’s full memory swap file.

For VMware Fusion on Mac and Linux instead of mainMem.useNamedFile you have to set mainMem.backing flag.
VMware Fusion Config files are located at: /Users/username/Library/Preferences/VMware Fusion/preferences and /Users/username/Library/Preferences/VMware Fusion/config

mainMem.backing = "swap"

Tweak: Disable log files for VM

Open your .vmx file in a text editor and add the following line:

logging = "FALSE"

Alternatively you can specify a different location to store the log file, if you ever need them:

log.filename = "c:\Windows\Temp\vm1.log"

Tweak: Disable Unity Mode

Unity might be a great feature for running virtual desktops operating systems, but it is not the most useful for virtualizing server OS. An annoying sign of enabled unity is GuestAppsCache or caches folder with a large number of files in its appData-subfolder. In order to disable it for your VM, open your .vmx file in a text editor and add the following line:

isolation.tools.unity.disable="TRUE"
unity.allowCompositingInGuest="FALSE"
unity.enableLaunchMenu = "FALSE"
unity.showBadges = "FALSE"
unity.showBorders = "FALSE"
unity.wasCapable = "FALSE"

Tweak: Disk & Memory I/O Performance Optimization

Disable memory trimming:
MemTrimRate = "0"

Disable page sharing:
sched.mem.pshare.enable = "FALSE"

Disable snapshots if you are not using them and prefer full backups:
snapshot.disabled = "TRUE"

Disable scale down of memory allocation:
MemAllowAutoScaleDown = "FALSE"

References:

VMware: Troubleshooting hosted disk I/O performance problems
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1008885

VMware: Disk I/O Performance Tips
http://www.vmware.com/support/ws5/doc/ws_performance_diskio.html

VMware: Defragmentation overview
http://blogs.vmware.com/teamfusion/2008/10/tip-defragmenta.html

VMware: Disabling the Workstation Log File or Storing the Log File in a Different Location
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1028

Blog: How can I prevent VMware Workstation Unity Mode from disabling Windows Aero?
http://www.windowsitpro.com/article/virtualization2/q-how-can-i-prevent-vmware-workstation-unity-mode-from-disabling-windows-aero-

 

Moving SharePoint 2010 Log and Index Locations

There are two hard-drive locations on a SharePoint server (with enabled search indexing) that are in constant use and often require significant space – log files and index files folders.

Log files location can be easily specified in Central Administration: Monitoring – Configure Diagnostic Logging.
In the Diagnostic Logging screen, you can specify a new path for trace log files and change other settings, such as how long to keep trace files, and what sort of information will be logged there.

Index files location, unfortunately, is not available through Central Administration. It is typically specified during SharePoint installation phase, along with the software installation folder. However, there is a way to change it through stsadm command:
stsadm -o spsearch -indexlocation “d:\SharePoint\Data”

You can verify that it changed successfully by running the following command before and after changing the index:

References:

Configure diagnostic logging (SharePoint Server 2010)

Changing Index locations in SharePoint 2010

Updates:

I wanted to thank Tracy Sterling for submitting a very useful tip for modifying index locations through Central Administration, when you have farm SharePoint deployments and can alter search topology.

CA > Application Management > Manage service applications > Search Service Application > Search Application Topology (Modify) > Index Partition/Query Component (Edit Properties). Repeat for each query component within your farm.

Unfortunately, all the stand-alone deployments and foundation editions would still have to go through aforementioned stsadm command. Below is an illustration of Search Service Application and its missing modify option for a stand-alone installation of enterprise SP2010 server, running on my laptop.

Moving Browser Cache Folder in IE, Firefox, Chrome, Opera, and Safari

Having recently replaced OS partition hard-drives with solid-state drives on my desktop and two laptops, I decided to tweak a few settings on my Windows in order to reduce the number of unnecessary write operations to SSD. Amongst the candidates for the move from more expensive SSD space to spinning hard-drives, I selected temporary Windows folder and browsers cache folders. Moving temporary Windows folder turned out to be one step operation – changing Environment variables in Computer – Advanced system settings dialog.

However, after this quick success moving my browsers cache away from SSD turned out to be not the most trivial task due to a large number of different browsers and their very different approach to storing configuration settings. Here is my experience and instructions on how to do it in various browsers.

Internet Explorer:

IE offers the easiest and most convenient way to change a new folder for cache.

Tools – Internet Options – under ‘Browsing History’ section choose ‘Settings’
Click ‘Move folder…’ and provide the new location, e.g. d:\Temp\IE

Heads up: After providing a new temp folder and clicking OK to save new settings, IE/Windows forcefully closes current user session, and logs the user off.

Firefox:

In the URL type: about:config
Create a new string preference: browser.cache.disk.parent_directory
and specify a path to your cache folder, e.g.: d:\Temp\Firefox

Mozilla Zine: Browser.cache.disk.parent directory

Chrome:

The only way to change location of the cache folder is through the command prompt arguments:
C:\…\Application\chrome.exe –disk-cache-dir=”d:\Temp\Chrome” –disk-cache-size=75000000

Where –disk-cache-dir points to your custom cache folder, and –disk-cache-size specifies the maximum cache size in bytes.

Here is a full list of Chrome’s command line switcheshttp://src.chromium.org/svn/trunk/src/chrome/common/chrome_switches.cc. Surprisingly, source code seems to be the only official documentation from Google. A brief blog post on the same topic: http://peter.sh/experiments/chromium-command-line-switches/.

Additionally, Chrome doesn’t expose that parameter in its configuration settings in a fashion similar to FireFox. If you navigate to about:flags in the Chrome, it provides some under the hood settings, but no cache configuration.

How to Turn On/ Disable GPU Hardware Acceleration on Google Chrome.

PS: Another useful command for Chrome, which reduces its memory footprint: –process-per-site. This command allows Chrome to run tabs from the same domain in the same process, thus reducing number of spun out processes and memory use, while still offering process isolation. http://www.chromium.org/developers/design-documents/process-models.

Opera:

Review the location of the current cache folder by typing in the URL: opera:about or from Menu – Help – About Opera.

To modify the settings type the URL: opera:config

Navigate to “User Prefs” tab and modify its cache folder: Cache Directory4 =d:\Temp\Opera\
(alternative quick jump link: opera:config#UserPrefs|CacheDirectory4)

Additionally you can modify temporary download folder for Opera as well, through another key:
Temporary Download Directory = d:\Temp\Opera

Opera’s Settings File Explained

Safari:

Safari unfortunately does not provide any way to change the location of its cache directory, just like it does not provide any way to change its advanced settings in a comprehensive way.

about URI scheme

MBA Admission Lessons

I hardly ever write about my personal life, but this time I feel like sharing one of my recent experiences. Last week I got accepted into the MBA program at Rotman School of Management (University of Toronto), one of the top Canadian and highly-ranked international business schools.

For the past few years, I kept entertaining the idea of going back to school for a graduate business degree to pursue the almost magical MBA. However, there always seem to be something making me postpone this decision – demanding work projects and new contracting opportunities, time and financial constraints, relationship status and travel plans, long term and short term goals. Nonetheless in the end of year 2010 I came to the realization that this is the time. There always will be obstacles and unfavorable circumstances bringing a lot uncertainty and risk to any decision, and it is never going to be any easier. However, our life is never a smooth sail in a sea of calmness, but rather a journey where inner peace is the one that matters.

Admission process is always one of the first major tests on the way of getting the desired degree. In addition to taking the GMAT and writing essays, the process involves a lot of ground work, getting admission application in one piece. Here are just a few lessons I learned from the admission process:

Do your research about the business school. Make sure that the school you are applying to is a good fit with your goals and expectations. If the school is located in another city and this is going to add two hour commute to your full-time job, it is going to be very difficult to motivate yourself to go to classes every day, especially if the school was not on top of your list, but a third or fourth choice.

Attend info sessions and talk to students and admission staff. Not only you can learn more about the program and school, but you can get invaluable advice on what is exactly expected in those five essays that you need to write, and maybe get a chance to review your application with one of the admission officers before the final submission.

Don’t focus only on the GMAT score. Business schools are looking at your application to be well rounded, and pay attention to numerous other factors, such as your previous academic record, work experience, essays, and your social activity outside of work.

Find the right referees. Rather than going after high level executives, who hardly have time to reply all their piling up emails, not to mention spend time in the evening writing a proper reference about you, ask your direct manager or a client to provide a reference. Quality of his or her reference would mean a lot more than their senior executive title.

Start working on your essays early. Not only writing essays would be a good practice for AWA portion of GMAT, but also students often don’t realize the amount of time and effort that goes into well-written essays, leaving them for the last minute. Generally you would want to have at least a few revisions and get someone’s feedback on your essays before submitting them. That may add up to five or more days of work/critique per essay, depending on the quality level and expectations that you set for them.

Links to a few of my favorite GMAT and MBA admission articles:

Is an MBA a Plus or a Minus in the Startup World?
General GMAT Books Review
Quantitative GMAT Books Review
Verbal GMAT Books Review
Analyzing an AWA Argument
Ace the Essays? No, Thanks!
The Top 5 MBA Admissions Myths
How to Approach Business School Information Sessions

How to Create Minimal Web Pages in SharePoint

This brief article talks about how to create minimalistic pages in SharePoint without deploying any server-side code, and with minimum effort by using only SharePoint Designer. By minimal web pages, here I mean master page and web pages that have only bare bones with essential web part zones, without any additional HTML markup for header, footer, left-navigation, or additional server-side controls (such as, site actions, search box, etc.).

Please note, even though this post is about SharePoint 2007 implementation, very similar technique is applicable to SharePoint 2010 as well, with changes to the content of the master page mostly.

1. Create a minimal masterpage with SharePoint Designer following this MSDN article: How to: Create a Minimal Master Page.

Basically, it all comes down to creating a file in SPD, which we are going to call msminimal.master, under your site’s http://site / _catalog / masterpage (Master Page Gallery). That msminimal.master must contain only essential empty zones, and no client-side markup or server-side controls.

My only changes to the master page from MSDN article would be adding Visible=”false” attribute to Site Actions and Welcome if you would like to hide them in your future web pages:

      <wssuc:Welcome id="explitLogout" runat="server" Visible="false" />
      <PublishingSiteAction:SiteActionMenu runat="server" Visible="false" /> 

 

2. While in SharePoint Designer, create a new web aspx page and reference your new master page changing MasterPageFile attribute from ~masterurl/default.master to _catalogs/masterpage/msminimal.master.

Here is an example of the simplest web page with just one web part zone:

<%@ Page language="C#" MasterPageFile="_catalogs/masterpage/msminimal.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>

<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
  <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ID="MainZone">
    <ZoneTemplate>
    </ZoneTemplate>
  </WebPartPages:WebPartZone>
</asp:Content>


3. Now if you want to edit your new custom web page visually in a browser and add web parts, you would need to use one old non-documented trick. Since there is no familiar header or site actions menu, you need to type in your Internet Explorer the following URL, in order to switch between view and edit mode, and back :

javascript:MSOLayout_ToggleLayoutMode();
(Refer to my previous article on highly useful non-documented shortcuts http://artykul8.com/2011/03/useful-sharepoint-shortcuts/)



4. After adding all necessary content to your custom web page, it contains only content and no additional header, footer, etc. This sometimes comes extremely useful if you want to display some specific content in a Page Viewer Web Part on another SharePoint site, or in a frame in another non-SharePoint web application.

SharePoint 2010 White Papers

I put together a collection of white papers and diagrams from Microsoft site, which are related to SharePoint 2010 deployment and configuration. Some of them are extremely useful when it comes to planning a new SharePoint installation or preparing technical documentation. I organized SharePoint Server 2010 resources into three categories, trying to match MOF phases – plan, deliver, operate. All other resources are grouped under specific server they relate to, namely Foundation, Search, FAST, Project Server, etc.

Planning phase

Getting started with Microsoft SharePoint Server 2010 (SharePtServGetStarted.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=91B175B1-01D0-48DD-9147-58B6E96C500B

Capacity planning for Microsoft SharePoint Server 2010 (SharePtServPlanCap.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5F403AD5-0352-4C9B-841B-D73D4CB88F45

Planning guide for server farms and environments for Microsoft SharePoint Server 2010 (SharePtServPlanPlatfm.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=BBD414C5-00FE-4A65-8A35-D52C9AA84609

Topologies for SharePoint Server 2010 (Topologies_SharePointServer2010.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=FD686CBB-8401-4F25-B65E-3CE7AA7DBEAB

Extranet Topologies for SharePoint 2010 Products (OIT2010_Model_ExtranetTopologies.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=EB4BFF25-BABA-4112-B518-F2FC442D5467

Planning guide for sites and solutions for Microsoft SharePoint Server 2010, Part 1 (SharePtServPlanSandS1.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=10104E47-7DFE-4AE5-A9EA-459E6AEBD34E

Planning guide for sites and solutions for Microsoft SharePoint Server 2010, Part 2 (SharePtServPlanSandS2.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=11A9EACD-78C9-442E-AA5A-EE66D9CD5F77

SharePoint 2010 Virtualization Guidance and Recommendations (oit2010-whitepaper-virtualization-guidance.docx)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7b50c3ec-abb6-4416-a454-c461bff22e78

SharePoint Server 2010 design samples: Corporate portal with classic authentication or with claims-based authentication
(SPS_2010_Design Sample_Corporate Portal_ClaimsAuth.vsd; SPS_2010_Design Sample_Corporate Portal_ClassicAuth.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=704C984D-2245-4A7D-8FF5-1E57C9A473A8

Delivery phase

Deployment guide for Microsoft SharePoint Server 2010 (SharePtServDeployment.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=A54C7191-EB05-489E-A7CA-6453ABA8877C

SharePoint 2010 Products Deployment (Deployment_SharePoint2010Products.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7604212E-67A6-407D-AE5C-9BB9D6325E17

SharePoint 2010 Products: Virtualization Process (SharePoint2010_ServerVirtualization.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=87F00C5D-1F62-4D3F-AC92-B91EB70D317E

Hosting Environments for SharePoint 2010 Products (Hosting_SharePointProducts2010.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=326845D1-95DB-4E55-B65A-218509DEBE24

Services in SharePoint 2010 Products (SvsSingleFarm_SharePointProducts2010.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=B9CA7745-FFA4-43CA-A638-E1AD868187CE

Cross-farm Services in SharePoint 2010 Products (SvsCrossFarm_SharePointProducts2010.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5141C91C-0922-44FC-AAF4-64C5156209EF

Configuring Kerberos Authentication for Microsoft SharePoint 2010 Products (SP2010 Kerberos Guide.docx)
http://www.microsoft.com/en-us/download/details.aspx?id=23176

Remote BLOB storage for Microsoft SharePoint Server 2010 (SharePtServBLOB.doc)
http://www.microsoft.com/en-us/download/details.aspx?id=2002

Operational phase

Operations guide for servers and server farms for Microsoft SharePoint Server 2010 (SharePtServOperations.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=944519E8-E130-4E7A-8A8D-978B10AF77C1

Technical reference for Microsoft SharePoint Server 2010 (SharePtServTechRef.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=A3B9FA1B-0300-489E-8D67-F14DEB4C3A56

Microsoft SharePoint Server 2010 Technical Library in Compiled Help format (SharePtServer2010.chm)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3629425D-1505-456E-89E2-EDE95F75FFE5

Business continuity management for Microsoft SharePoint Server 2010 (SharePtServContinuity.doc)
http://www.microsoft.com/en-us/download/details.aspx?id=9623

SP 2010 Foundation Resources

Getting started with Microsoft SharePoint Foundation 2010 (SharePtFoundGetStart.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2D789716-2293-4007-A485-E092CA5EDC60

Deployment guide for Microsoft SharePoint Foundation 2010 (SharePointFoundDeplo.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4CF799A5-5C53-4BE7-B8DD-43DC8C49A1D4

Planning guide for Microsoft SharePoint Foundation 2010 (SharePointFoundPlan.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=206A9F99-C42D-42B2-9094-A3B2EF4FCD12

Operations guide for SharePoint Foundation 2010 (SharePointFoundOps.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=71434993-E26F-43BE-B1BC-1DCAE65D46B5

Microsoft SharePoint Foundation 2010 Technical Library in Compiled Help format (SharePtFound2010.chm)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=C8CF1631-0F48-4A02-A18D-54B04EB7F0A7

Technical reference for Microsoft SharePoint Foundation 2010 (SharePointFoundTecR.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=32AE8CBE-A657-481D-A1D6-46140495231A

Business continuity management for Microsoft SharePoint Foundation 2010 (SharePtFoundContinuit.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=288C1D67-E980-477D-9EDD-F0865C3E533B

Search

Getting Started with Enterprise Search in SharePoint 2010 Products (Getting Started with Enterprise Search in SharePoint 2010 Products.docx)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=96663B95-E9F5-48C8-BEB9-A15AD119C499

Search Technologies for SharePoint 2010 Products (Search Model 1 of 4 – Search Technologies.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=D7C0091E-5766-496D-A5FE-94BEA52C4B15

Search Environment Planning for Microsoft SharePoint Server 2010 (Search Model 2 of 4 – Search Environment Planning.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5655EACA-22DF-4089-BCD3-38A1F5318140

Search Architectures for Microsoft SharePoint Server 2010 (Search Model 3 of 4 – Search Architectures.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=22FFC029-2C08-457D-8311-CA457C6D160E

Design Search Architectures for Microsoft SharePoint Server 2010 (Search Model 4 of 4 – Farm-level design.vsd)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5A3CA177-FB9A-4901-9797-0C384277DB7C

Microsoft Search Server 2010 Technical Library in Compiled Help format (SearchServer2010.chm)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=73B58B97-847A-4D86-892E-464826603D2B

FAST Search

Microsoft FAST Search Server 2010 for SharePoint Enterprise Search Evaluation Guide (FASTSearchServer2010_SearchEvalGuide.docx)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=F1E3FB39-6959-4185-8B28-5315300B6E6B

FAST Search Server 2010 for SharePoint Capacity Planning (FASTSearchSharePoint2010CapacityPlanningDoc.docx)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=65B799E3-825C-4398-8CD7-3311D3297997

Deployment guide for FAST Search Server 2010 for SharePoint (FASTDeployment.doc)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=36411DA5-EA48-4AB5-8114-21ADB21259DE

Microsoft FAST Search Server 2010 for SharePoint Technical Library in Compiled Help format (FASTSearch2010.chm)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=EAD44C66-7D02-4EDF-9E56-2F56C6F59F22

Virtualization

Virtualization Overview, Methods, and Models
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=884E2E2A-E4D5-43C5-AAAF-5C1E6D793D9C

IT Manager: Platform Solution Blueprint – Virtualization
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1D7B4A0C-F21A-4E07-A779-F9F61A6D45D1

The Most Useful Undocumented SharePoint 2007/2010 Shortcuts

Here are a few of the most useful SharePoint shortcuts, which work in all versions of SharePoint 2007 and 2010 (even 2003).

Enter page web part maintenance mode

Append ?contents=1 to the URL of the page for which you want to enter maintenance mode, for example:
http://site/page.aspx?contents=1

Enter page edit mode

Including system pages, such as view or edit pages: NewForm.aspx, EditForm.aspx, AllItems.aspx, etc.
In Internet Explorer’s URL bar type:

javascript:MSOLayout_ToggleLayoutMode();
or
javascript:MSOTlPn_ShowToolPane(’2′);

For more details on ShowToolPane parameter, you can refer to this old MSDN article.

Heads up: There is one thing you must seriously consider before editing a system page. This lesson I learnt the hard way from exposing modified edit pages to end-users. When you modify a previously read-only system page, such as a view or edit form, through the shortcut explain above, you make it available for editing to anyone who has contribute rights on that library or list. Hence that page becomes vulnerable to accidental changes by non-power users, because previously hidden Edit Page menu will be visible to them in Site Actions menu.

Access administration pages

A few quick shortcuts that I find not only can save time, but also help bypass obscurity created by system administrators:

http://site/_layouts/savetmpl.aspx – Save site as a template
http://site/_layouts/create.aspx – Create (libraries, lists, pages, sites)
http://site/_layouts/settings.aspx – Site settings
http://site/_layouts/newsbweb.aspx – Create a new site or workspace
http://site/_layouts/sitemanager.aspx – Site content and structure browser

Deleting GTP and EFI Partitions on Windows 7/Server 2008/Vista

If you are trying to delete GTP or EFI partition on your hard drive under Windows Server 2008/7/Vista using management console are you out of luck. However, here is the easiest way to get around it:

Start command prompt and run diskpart.exe in command prompt issuing these commands as per illustration below:
d:\path>diskpart.exe
DISKPART> list disk
DISKPART> select disk x
DISKPART> clean

Please note, the reason for using ‘clean’ command instead of ‘delete volume’ is that ‘delete volume’ crashes diskpart utility when attempting to delete GTP/EFI partitions. Also outdated diskpar.exe utilitiy, which is frequently used for aligning physical partitions and is still quite popular for SSD optimization, cannot even read disk layout containing GTP or EFI partitions.




Great post: How to Delete GPT Partition or EFI from Mac Hard Disks In Vista or XP
Reference: A Description of the Diskpart Command-Line Utility
Diskpar & Diskpart in server environment: Disk Partitioning Offset
Disk partitioning Alignment: Disk Partition Alignment Best Practices for SQL Server
SSD Optimization guide: OCZ Technology Forum

Fix for a Recurring Meeting Workspace Error

A great time saving post on MS SharePoint Designer Team blog:
How to fix: Recurring Meeting Workspace error: ‘g_InstanceID’ is undefined

I ran into this problem after applying a custom master page to a meeting workspace, which was linked to a recurring event. Date selection on the left navigation stopped working if a custom master page was selected, but it worked fine when site master page was set to a standard SharePoint one.

Adding these two lines to a custom master page, mentioned in the blog post above, resolve the issue:


<%@Master language="C#"%>
<%@ Register Tagprefix="Meetings" Namespace="Microsoft.SharePoint.Meetings" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>
...
<body>
<Meetings:PropertyBag runat="server"/>
...