<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!--RSS generated by Windows SharePoint Services V3 RSS Generator on 11/21/2009 7:48:29 PM--><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>Bob Fox's SharePoint Blog: Posts</title>
    <link>http://bobfox.securespsite.com/FoxBlog/Lists/Posts/AllPosts.aspx</link>
    <description>RSS feed for the Posts list.</description>
    <lastBuildDate>Sun, 22 Nov 2009 00:48:29 GMT</lastBuildDate>
    <generator>Windows SharePoint Services V3 RSS Generator</generator>
    <ttl>60</ttl>
    <image>
      <title>Bob Fox's SharePoint Blog: Posts</title>
      <url>/FoxBlog/_layouts/images/homepage.gif</url>
      <link>http://bobfox.securespsite.com/FoxBlog/Lists/Posts/AllPosts.aspx</link>
    </image>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/BobFox" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
      <title>Site has moved</title>
      <link>http://feedproxy.google.com/~r/BobFox/~3/O0uSQZvbxoo/ViewPost.aspx</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass26711B286E1441B28B31475219C94B88><div></div>
<p>I have moved my site to <a href="http://www.spfoxhole.com/blog">SPFOXHOLE </a>and you can also link to me via <a href="http://feeds2.feedburner.com/BobFoxSharepointMvpPosts">FeedBurner</a></p>
<p>Thanks.</p>
<p>There will be no more active posting here.  All content has been moved to the new site as well.</p>
<p> </p>
<p> </p></div></div>
<div><b>Published:</b> 5/5/2009 9:18 PM</div>
]]></description>
      <author>Bob Fox</author>
      <pubDate>Wed, 06 May 2009 01:22:28 GMT</pubDate>
      <guid isPermaLink="false">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=123</guid>
    <feedburner:origLink>http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=123</feedburner:origLink></item>
    <item>
      <title>New in SP2 PreUpgradeCheck</title>
      <link>http://feedproxy.google.com/~r/BobFox/~3/qiELoh2GxQI/ViewPost.aspx</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass98E6FD09072C4BF59AB12D5347B175EE>
<p>The lads and lasses in Redmond while busy hammering away at the next version of SharePoint ( SharePoint Server 2010) tossed in a nice little tool in SP2 to help us to ensure our environments are ready for the upgrade.  The PreUpgradeCheck utility is a simple to use tool that is run from the command line</p>
<p>    stsadm –o preupgradecheck</p>
<p>I ran this on my test lab and was happy to see the following result:</p>
<p><a href="/foxblog/Lists/Posts/Attachments/120/PreupgradeCheck_2_3BF5F7FD.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=PreupgradeCheck border=0 alt=PreupgradeCheck src="/foxblog/Lists/Posts/Attachments/120/PreupgradeCheck_thumb_3BF5F7FD.png" width=614 height=462></a> </p>
<p>Guess i am ready to upgrade  :)</p>
<p>This tool goes one step deeper and after the completion of this tool a nice output page is displayed that further dives into your FARM and outputs some decent information.  If there are failures or issues it will be deeply highlighted in this output.    Luckily or perhaps due to some sort of skill i have built up over the years I have a pretty clean environment.   </p>
<p><a href="/foxblog/Lists/Posts/Attachments/120/shot1_2_3BF5F7FD.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot1 border=0 alt=shot1 src="/foxblog/Lists/Posts/Attachments/120/shot1_thumb_3BF5F7FD.png" width=618 height=392></a> </p>
<p><a href="/foxblog/Lists/Posts/Attachments/120/shot2_2_3BF5F7FD.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot2 border=0 alt=shot2 src="/foxblog/Lists/Posts/Attachments/120/shot2_thumb_3BF5F7FD.png" width=616 height=323></a> </p>
<p><a href="/foxblog/Lists/Posts/Attachments/120/shot3_2_3BF5F7FD.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot3 border=0 alt=shot3 src="/foxblog/Lists/Posts/Attachments/120/shot3_thumb_69E34AB5.png" width=619 height=196></a> </p>
<p><a href="/foxblog/Lists/Posts/Attachments/120/shot4_2_69E34AB5.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot4 border=0 alt=shot4 src="/foxblog/Lists/Posts/Attachments/120/shot4_thumb_69E34AB5.png" width=617 height=280></a> </p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>There is some more info that I didnt capture but you should get the idea.   </p>
<p>So what can you take from reading this?   You have time to make ready your environments for SharePoint Server 2010…. run the tool.  See where you need to focus your attention and let this tool help you become better prepared.</p>
<p><strong><font color="#ff0000">*** Follow up***</font></strong> thanks to Jeffery Dalton for this reminder</p>
<p>If your running 32Bit  or Windows Server 2003 you will FAIL when running this checker  :)   Reminder…. You MUST UPDATE YOUR ENVIORNMENTS TO 64BIT if you want to move to the next version of SharePoint   32Bit will no longer be supported.  You will see the following message in your log which explains this.</p>
<p><a href="/foxblog/Lists/Posts/Attachments/120/Shot9_2_70B66C25.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=Shot9 border=0 alt=Shot9 src="/foxblog/Lists/Posts/Attachments/120/Shot9_thumb_70B66C25.png" width=617 height=93></a> </p>
<p> </p>
<p>Further information can be found at:</p>
<p>For MOSS  <a title="http://technet.microsoft.com/en-us/library/dd793609.aspx" href="http://technet.microsoft.com/en-us/library/dd793609.aspx">http://technet.microsoft.com/en-us/library/dd793609.aspx</a></p>
<p>For WSS   <a title="http://technet.microsoft.com/en-us/library/dd793607.aspx" href="http://technet.microsoft.com/en-us/library/dd793607.aspx">http://technet.microsoft.com/en-us/library/dd793607.aspx</a></p>
<p>Cheers</p>
<div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:644d5eaa-4c7c-4021-a40c-639767a6d5d9" class=wlWriterEditableSmartContent>Technorati Tags: <a href="http://technorati.com/tags/SP2" rel=tag>SP2</a>,<a href="http://technorati.com/tags/SharePoint" rel=tag>SharePoint</a>,<a href="http://technorati.com/tags/MVP" rel=tag>MVP</a></div></div></div>
<div><b>Published:</b> 5/2/2009 12:42 AM</div>
<div><b>Attachments:</b> <a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/PreupgradeCheck_2_3BF5F7FD.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/PreupgradeCheck_2_3BF5F7FD.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/PreupgradeCheck_thumb_3BF5F7FD.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/PreupgradeCheck_thumb_3BF5F7FD.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot1_2_3BF5F7FD.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot1_2_3BF5F7FD.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot1_thumb_3BF5F7FD.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot1_thumb_3BF5F7FD.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot2_2_3BF5F7FD.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot2_2_3BF5F7FD.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot2_thumb_3BF5F7FD.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot2_thumb_3BF5F7FD.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot3_2_3BF5F7FD.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot3_2_3BF5F7FD.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot3_thumb_69E34AB5.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot3_thumb_69E34AB5.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot4_2_69E34AB5.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot4_2_69E34AB5.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot4_thumb_69E34AB5.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/shot4_thumb_69E34AB5.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/Shot9_2_70B66C25.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/Shot9_2_70B66C25.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/Shot9_thumb_70B66C25.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/120/Shot9_thumb_70B66C25.png</a><br><a href=""></a></div>
]]></description>
      <author>Bob Fox</author>
      <pubDate>Sat, 02 May 2009 04:42:16 GMT</pubDate>
      <guid isPermaLink="false">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=120</guid>
    <feedburner:origLink>http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=120</feedburner:origLink></item>
    <item>
      <title>Setting Up a Virtual Lab with Hyper-V</title>
      <link>http://feedproxy.google.com/~r/BobFox/~3/VjCnri-vlaM/ViewPost.aspx</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass0DBCC0DC3B1945219FE04794D71BA316><span style="font-family:Arial;color:#323232;font-size:12pt"><strong>
<div class=ExternalClass452C8BEB41724AD891145A8CB57612F3>
<p><b>My Introduction to Hyper-V</b> 
<p>So i was feeling a bit behind the times with everyone chanting the virtues of Hyper-V. After reading <a href="http://www.andrewconnell.com/">Andrew Connell</a>'s posts about his new home rig and how he is now running Hype-V in place of VMware (which for a long time he swore by) I started feeling … wait a sec… Connell is one of those Dev types… and he has this up and running…. why don’t I? So Andrew my old friend…. Thank you for the kick in the butt. 
<p>I was looking at Connells set up and was pretty impressed …. not only with the hardware but also with how he got clearance to purchase all the toys with his wife (who we will simply refer to as M for now). So I have been planning on reacquiring some hardware and attempt a proper build for myself… mainly to test farms with than one image running SharePoint (with my current laptop having more than one image run would just be painful) and to be honest… in the field how many one server instances do you really find out there…. Ok i have run into a few but I always preach the high availability sermon to them. Really though allot of my clients are mid to large implementations so having this type of lab allows me the ability to recreate issues that pop up in environments to provide fixes, properly test Kerberos (cause having Kerberos run on a single image is just silly right?) also let’s not forget that the 014 bits are going to start making their way out sometime this year (hopefully) so what better playground than my brand new rig. 
<p>I call it a Rig. I can lie and tell you that i have a similar set up to Andrews and I would be doing this simply to make him want to go out and buy more toys (and possibly get in trouble with “M”) but hey what are friends for. But it would be a lie. Let me fill you in on a little secret. Although labs such as this are very desirable.. You can get away with something similar with a simple desktop that you can get from Circuit City (who are going out of business so get shopping) That’s what i did.. I have a HP Pavilion that came with allot of really neat and “not so productive” applications on its own cheesy little Vista Build but more importantly it had almost 800GB of Disk space and 8 GB or RAM. 
<p>So home i go with my brand new shiny desktop and proceed to format the drives and then load Windows Server 2008.. Sure i could have gone with the new craze and loaded Windows 7 but TBH its the same kernel as we have now with Vista and a somewhat prettier interface. I can wait till this goes to RTM. I want stability and I want HYPER-V I want to know what all the talk is about this. I want to know what caused Connell to make that switch. 
<p>SO the journey begins.... 
<p><b>Define the purpose of your lab </b>
<p>When I build out my labs I generally have a purpose in mind for what I want to use it for. In my case I may have a bunch of individual labs sitting inactive. Some of the purposes for building out labs are to 
<p>· Demonstrate a farm that has multiple servers which will simulate a normal true to life environment. 
<p>· Demonstrate authentication methods such as Kerberos which cannot be truly tested on one single server (AD, SQL, MOSS etc) 
<p>· Test failover using NLB within a farm. (Do it here and not in your production environment) 
<p>· Test solution deployments 
<p>· Test Service Packs and Security rollups. 
<p>· Many more purposes (add yours here) 
<p><b>Define your topology</b> 
<p>One of the benefits or working with Hyper-V or VMware of this is that you can spin up as many servers as your host can hold. Memory and space are the only limitations. 
<p>So for the main set up I kept the host running in its own Workgroup. I could have run DCPROMO and set up a domain to run all my images off of but I felt that would just cause trouble down the line. Having the ability to build multiple virtual farms each having its own Active Directory and SQL Servers makes more sense when i am giving a presentation to a client and trying to impress them by displaying that companies domain name and mimicking there set up as much as possible. 
<p><b><i>Server Topology</i></b> 
<p>For one of my personal environments I have the following: 
<p><b>DC1</b> - This is exactly what it is named for. This box is my domain controller for FUBAR.com This server is running Windows Server 2008 and I am also running SQL Server 2008. I set this up in this manner simply to consolidate services. Would I recommend this in a real world environment? NO, and during the SQL install it will alert you that this is not recommended but it works in a lab environment You could however take this setup further and add a SQL server or even two in a clustered setup. Like I mentioned it all depends on what your environment can handle 
<p><b>MOSS1</b> - This box is the WFE for the farm. 
<p><b>MOSS2</b> - This box would function as the second WFE and if i want to test NLB I will join this server to the farm but for most of my testing this isn’t a requirement so why waste resources :) but its there and very simple to add to the farm if i need to. 
<p><b>MOSS3</b> - This is the Application Tier Server and its running Indexing and all the fun stuff.. Again going back to MOSS2 i can simply add that box into the mix and move my indexing to simulate what I would do in most circumstances. 
<p><b>WS1</b> - Simple Vista Workstation running Office and some diagnostic tools such as Fiddler and Netmon which i use when I’m validating Kerberos authentication. Remember if you want to test Kerberos you won’t do it on the actual Farm Servers... do it from the client side. 
<p><b>WS2</b> - Windows 7 workstation. 
<p align=center><a href="/foxblog/Lists/Posts/Attachments/116/image_2_2A77BA2D.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=image border=0 alt=image src="/foxblog/Lists/Posts/Attachments/116/image_thumb_2A77BA2D.png" width=241 height=329></a> </p>
<p>For those interested in Kerberos I have started doing talks on the circuit with my buddy <a href="http://harbar.net/">Spence Harbar</a> so I am planning on doing a Kerberos screencast in the near future. 
<p><b>Invoking the SysPrep Tool (to make life easier)</b> 
<p>Make it easier on yourself. Build an image and load all the necessities on it. So in this case were talking about building SharePoint servers so it makes sense to load the Required fun stuff. 
<p>What i load on my reusable image is the following: 
<p>IIS 
<p>PowerShell 
<p>I also load the SharePoint bits and these days I have already slipstreamed the October Updates so its a pretty up to date image when i build it. I do NOT run the Configuration Wizard on this box. If you are unfamiliar with the process of slipstreaming you can refer to this <a href="/Videos/MOSS%20Installer%20SlipStream.wmv"><b>screencast</b></a><b> </b><b>t</b>hat I did last year. 
<p>I will also install the latest Windows Updates onto the box. 
<p>Once this exercise is complete i run sysprep. For those not in the know sysprep has been around for years. What it does is allow me to reuse an image over and over and when i create a new image i simply point to that Imaged Virtual Hard Disk when i am doing the build. Let me explain this a bit more 
<p>When you run SysPrep the default settings are generally all you need to keep. The only one to change is the area where it says to reboot machine when complete or Shut down the box. You want to make sure you shut down the box. Once this is complete i will name the SysPrep'd drive GOLD or something that will remind you not to use this. When you want to spin up new boxes simply make a copy of the &quot;GOLD&quot; disk and then give that copied file a proper name. I tend to make it easy and call it the same name as the server I am about to spin up. 
<p>For a better idea of the end result have a look at this Demo &lt;&lt;<a href="/Videos/HyperV.wmv">Click for DEMO</a>&gt;&gt; 
<p><b>Issues found with Hyper-V</b> 
<p>In the very beginning of my testing Hyper-V I was a bit disappointed in a couple things which in the end really didn’t amount to much of a problem 
<p>1. Server Builds via RDP – I found it a bit of a nuisance that I was unable to perform fresh image builds via RDP session. To explain this better the Host machine (the desktop) in a perfect scenario runs headless and I can remote in to do all the work. For some reason Hyper-V did not like this. More to the point it would not allow Mouse interaction via RDP which unfortunately is needed unless your scripting your server builds. There is a Hyper-V MMC that can be used but it requires you to be connecting into a Domain. My host is not part of any domain nor is my laptop so this was useless…. If your using Hyper-V within your company this is pretty sharp though. All in all it wasn’t a big deal and for the occasional build I can live with this. 
<p>2. Networking can be problematic. Like VMware and VPC you have option to add hardware. If you want to network your system make sure you add the Legacy Network Adaptor as shown below. 
<p align=center><a href="/foxblog/Lists/Posts/Attachments/116/Shot6_2_2A77BA2D.png"><img style="border-bottom:0px;border-left:0px;display:block;float:none;margin-left:auto;border-top:0px;margin-right:auto;border-right:0px" title=Shot6 border=0 alt=Shot6 src="/foxblog/Lists/Posts/Attachments/116/Shot6_thumb_2A77BA2D.png" width=435 height=408></a> 
<p><b></b>
<p><b>Conclusion</b> 
<p>Hyper-V doesn’t suck. Virtual PC (Sucked) Virtual Server was a bit better but just a little bit. Ok im being harsh here but in reality it all came down to you got what you paid for. These being free blah blah blah. A lot of us turned to VMware and I will probably continue to use it and VPC (on occasion when I have to) for presentations but for now I’m liking what I am getting out of Hyper-V. Give it a try. 
<p></p>
<div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1b99ce29-4b4f-453d-b56d-c38f795f62ef" class=wlWriterEditableSmartContent>Technorati Tags: <a href="http://technorati.com/tags/SharePoint" rel=tag>SharePoint</a>,<a href="http://technorati.com/tags/Hyper-V" rel=tag>Hyper-V</a>,<a href="http://technorati.com/tags/Screencast" rel=tag>Screencast</a></div></div></strong></span></div></div>
<div><b>Category:</b> SharePoint Tips and Tricks</div>
<div><b>Published:</b> 2/22/2009 5:15 PM</div>
]]></description>
      <author>Bob Fox</author>
      <category>SharePoint Tips and Tricks</category>
      <pubDate>Sat, 14 Feb 2009 05:16:27 GMT</pubDate>
      <guid isPermaLink="false">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=115</guid>
    <feedburner:origLink>http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=115</feedburner:origLink></item>
    <item>
      <title>New in SP2 Get/Setsitelock Whodathunkit!</title>
      <link>http://feedproxy.google.com/~r/BobFox/~3/rvv681qCSdk/ViewPost.aspx</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClassBE3B613F7A544F53A661304BD9BC777B><p>In the last post (<a href="/foxblog/Lists/Posts/Post.aspx?ID=121">New In SP2 Changes in Backup Operations</a>) I went over how you can use GetSiteLock and SetSiteLock when you are working with backups.  Thinking a bit further on these new extensions to the STSADM.exe family i decided to do some more testing on some scenarios.   Thanks to my good friend <a href="http://information-worker.org/default.aspx" rel=tag>Marianne van Wanrooij</a> for additional feedback and suggestions about these additions.</p> <p>So Marianne asked me if the setsitelock could be used for other purposes besides during backup operations.  For instance for site archive as an example.  YES!!  This set some of my remaining brain cells to motion thinking up how this would be leveraged in a companies environment.   </p> <p><em>Example</em> </p> <p>A company has multiple organizations that it owns and for some reason one of those companies goes under.  The information that was listed on that companies site is still something that other employees want to consume but we don't want any more data being posted to this or have any changes made.   Couple fixes come to mind to solve this.  We can change the sites security permissions giving everyone read access.   This, depending on the complexity of the sites security, can take a great deal of time.  We could also archive the data someplace else (perhaps on another portal thats being used for Archive or DR purposes)….both take time and are not alot of fun.  OR we can run a simple command and in one sweep render the site in 3 different states using the new command line tool setsitelock.  </p> <p>stsadm.exe –o setsitelock –url <a href="http://portal2.sharepoint.com/sites/companya">http://portal2.sharepoint.com/sites/companya</a> –lock (see below examples)</p> <ul> <li> <p><strong>Noadditions</strong>: Permits changes that reduce the size of the data.  <p>For example, if you had an announcement list item whose body consisted of 50 characters, you could successfully edit the list item so that the body was reduced to 25 characters. However, if you tried to edit the list item so that they body was increased to 100 characters, that would be blocked. </p></li></ul> <p># <em><strong><font color="#800000">On my testing of this switch I set my site collection to –lock Noadditions and tried to add some content to an existing announcement.  I got an access denied message.  If however i wanted to modify what was already in the announcement without adding additional characters this worked fine.   So you can modify but you cant add is what this switch is doing</font></strong></em> <ul> <li> <p><strong>Readonly</strong>: Sets the site collection to read-only.</p> <li> <p><strong>Noaccess</strong>: Sets the site collection unavailable to all users.</p></li></ul> <p>* Above explanations of parameters copied from Technet  <a href="http://technet.microsoft.com/en-us/library/cc262811.aspx">http://technet.microsoft.com/en-us/library/cc262811.aspx</a> <p>So in this scenario I want to just allow employees to read what is already on the site.  <p> stsadm.exe –o setsitelock –url <a href="http://portal2.sharepoint.com/sites/companya">http://portal2.sharepoint.com/sites/companya</a> –lock readonly <p><a href="/foxblog/Lists/Posts/Attachments/122/shot1_2_4A52AA5D.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot1 border=0 alt=shot1 src="/foxblog/Lists/Posts/Attachments/122/shot1_thumb_4A52AA5D.png" width=583 height=156></a>  <p><a href="/foxblog/Lists/Posts/Attachments/122/shot3_2_4A52AA5D.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot3 border=0 alt=shot3 src="/foxblog/Lists/Posts/Attachments/122/shot3_thumb_4A52AA5D.png" width=584 height=130></a> </p> <p>So what are the affects of running this and then looking at a site?   My user account on this particular site collection is SCA.  Normally i can do anything i want to this site. Now look at what i can do:</p> <p><a href="/foxblog/Lists/Posts/Attachments/122/shot2_2_4A52AA5D.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot2 border=0 alt=shot2 src="/foxblog/Lists/Posts/Attachments/122/shot2_thumb_4A52AA5D.png" width=578 height=207></a>  </p> <p>As opposed to me opening this site without the –lock readonly applied:</p> <p> </p> <p><a href="/foxblog/Lists/Posts/Attachments/122/shot5_2_4A52AA5D.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot5 border=0 alt=shot5 src="/foxblog/Lists/Posts/Attachments/122/shot5_thumb_4A52AA5D.png" width=579 height=258></a> </p> <p>This switch doesn't just stop at your libraries and such.  Its a collection wide change.   You can enter into Site Actions and view to your hearts content but no changes will be allowed.</p> <p> </p> <p>Hope you found something useful in this post  :)</p> <p>Cheers</p> <p> </p> <div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0f735ad2-ef0c-427f-8f3a-9ffa74cb1b77" class=wlWriterEditableSmartContent>Technorati Tags: <a href="http://technorati.com/tags/SP2" rel=tag>SP2</a>,<a href="http://technorati.com/tags/sharepoint" rel=tag>sharepoint</a>,<a href="http://technorati.com/tags/mvp" rel=tag>mvp</a>,<a href="http://technorati.com/tags/stsadm" rel=tag>stsadm</a></div></div></div>
<div><b>Published:</b> 5/3/2009 12:28 PM</div>
<div><b>Attachments:</b> <a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot1_2_4A52AA5D.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot1_2_4A52AA5D.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot1_thumb_4A52AA5D.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot1_thumb_4A52AA5D.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot2_2_4A52AA5D.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot2_2_4A52AA5D.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot2_thumb_4A52AA5D.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot2_thumb_4A52AA5D.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot3_2_4A52AA5D.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot3_2_4A52AA5D.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot3_thumb_4A52AA5D.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot3_thumb_4A52AA5D.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot5_2_4A52AA5D.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot5_2_4A52AA5D.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot5_thumb_4A52AA5D.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/122/shot5_thumb_4A52AA5D.png</a><br><a href=""></a></div>
]]></description>
      <author>Bob Fox</author>
      <pubDate>Sun, 03 May 2009 16:28:33 GMT</pubDate>
      <guid isPermaLink="false">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=122</guid>
    <feedburner:origLink>http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=122</feedburner:origLink></item>
    <item>
      <title>New In SP2 Changes in Backup Operations</title>
      <link>http://feedproxy.google.com/~r/BobFox/~3/fz30fBrmkEk/ViewPost.aspx</link>
      <description><![CDATA[<div><b>Body:</b> <div class=ExternalClass025DB0239B364CE3A3686AE15189ECF7><p>New additions that come with Service Pack 2 for SharePoint (WSS and MOSS) is a new function built into the stsadm.exe –o backup tool that allows you to set your databases to read only.  If you run this command on a working environment there will always be a chance for the job to fail if users are adding content to the sites.  To prevent this we now have a new feature that allows us to lock the DB and make it read only.</p> <p> <a href="/foxblog/Lists/Posts/Attachments/121/Shot5_2_3DC4722C.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=Shot5 border=0 alt=Shot5 src="/foxblog/Lists/Posts/Attachments/121/Shot5_thumb_3DC4722C.png" width=612 height=442></a> </p> <p>I want you to notice in the above screenshot that im running a very basic command that is no different than you have normally done.  Nothing additional was added to the command but notice the output.  By default now when you run stsadm.exe –o backup your sites that are being backed up are set to read-only.  Once the operation completes it will return the state to normal.</p> <p>Lets dive a bit deeper and see how you can leverage the additional commands related to backups</p> <p><a href="/foxblog/Lists/Posts/Attachments/121/shot6_2_3DC4722C.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=shot6 border=0 alt=shot6 src="/foxblog/Lists/Posts/Attachments/121/shot6_thumb_3DC4722C.png" width=614 height=448></a></p> <p>Lets first go over some of the command run above.  In the second command I want to evaluate the site I want to back up to see its status (locked or unlocked)   Running the command</p> <p>stsadm.exe –o getsitelock –url http//blahblahblah   returns a value of none…. not alot to get excited about yet.</p> <p>In the third command I want to see my available options </p> <p>stsadm.exe –o setsitelock –url (url) –lock | –noadditions |-readonly | –noaccess</p> <ul> <li> <p><strong>None</strong>: Sets the site collection to unlock.</p> <li> <p><strong>Noadditions</strong>: Permits changes that reduce the size of the data.  <p>For example, if you had an announcement list item whose body consisted of 50 characters, you could successfully edit the list item so that the body was reduced to 25 characters. However, if you tried to edit the list item so that they body was increased to 100 characters, that would be blocked.</p> <li> <p><strong>Readonly</strong>: Sets the site collection to read-only.</p> <li> <p><strong>Noaccess</strong>: Sets the site collection unavailable to all users.</p></li></ul> <p>* Above explanations of parameters copied from Technet  <a title="http://technet.microsoft.com/en-us/library/cc262811.aspx" href="http://technet.microsoft.com/en-us/library/cc262811.aspx">http://technet.microsoft.com/en-us/library/cc262811.aspx</a>  <p>In the forth command im simply setting the collection im backing up to read-only and running the 5th command shows the status.  <p>So say you dont want to be bothered with this and you are going to be backing up your system during off hours.  Well as you have to make it known to the backup operation.   Refer to the first screenshot. Remember by default with nothing added it will set it to read-only.   I want to just toss caution to the wind and remove the site lock altogether.  <p><a href="/foxblog/Lists/Posts/Attachments/121/site7_2_3DC4722C.png"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title=site7 border=0 alt=site7 src="/foxblog/Lists/Posts/Attachments/121/site7_thumb_3DC4722C.png" width=616 height=149></a>  <p>Notice in the above command i added the –nositelock tag at the end of my command.  Run this at your own risk leaving the site open to write backs.     <p>Cool stuff.  Enjoy</p> <div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:eaf62297-2504-430a-b87c-d7fd81ad5ab8" class=wlWriterEditableSmartContent>Technorati Tags: <a href="http://technorati.com/tags/SharePoint" rel=tag>SharePoint</a>,<a href="http://technorati.com/tags/MVP" rel=tag>MVP</a>,<a href="http://technorati.com/tags/Backups" rel=tag>Backups</a>,<a href="http://technorati.com/tags/SP2" rel=tag>SP2</a></div></div></div>
<div><b>Published:</b> 5/2/2009 1:47 AM</div>
<div><b>Attachments:</b> <a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/Shot5_2_3DC4722C.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/Shot5_2_3DC4722C.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/Shot5_thumb_3DC4722C.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/Shot5_thumb_3DC4722C.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/shot6_2_3DC4722C.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/shot6_2_3DC4722C.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/shot6_thumb_3DC4722C.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/shot6_thumb_3DC4722C.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/shot8_2_3DC4722C.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/shot8_2_3DC4722C.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/shot8_thumb_28D2EFB9.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/shot8_thumb_28D2EFB9.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/site7_2_3DC4722C.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/site7_2_3DC4722C.png</a><br><a href="http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/site7_thumb_3DC4722C.png">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/Attachments/121/site7_thumb_3DC4722C.png</a><br><a href=""></a></div>
]]></description>
      <author>Bob Fox</author>
      <pubDate>Sat, 02 May 2009 05:47:17 GMT</pubDate>
      <guid isPermaLink="false">http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=121</guid>
    <feedburner:origLink>http://bobfox.securespsite.com/FoxBlog/Lists/Posts/ViewPost.aspx?ID=121</feedburner:origLink></item>
  </channel>
</rss>
