Month: February 2012

SharePoint 2010–User Information Lists and User Profile Cleanup

Recently I was working on a farm and finally got around to being able to enable the User Profile Sync to Active Directory.  Everything worked beautifully, but there was a problem in SharePoint with orphaned users in the UIL.  There are two reasons why obsolete users or groups can exist in the SharePoint Server 2010 user profile store: Obsolete users: The My Site cleanup timer job is not active. The User Profile Synchronization timer job marks for deletion users who have been deleted from the directory source. When the My Site cleanup job runs, it looks for all users marked for deletion and deletes their profiles. Respective My Sites are then assigned to the manager for the deleted user and an e-mail message notifies the manager of this deletion. Obsolete users and groups: Users and groups that were not imported by Profile Synchronization exist in the user profile store. This can occur, for example, if you upgraded from an earlier version of SharePoint Server and chose to only synchronize a subset of domains with SharePoint Server 2010. Since this was upgraded from a 2007 farm and there was a period of time when the Farm was not syncing with AD, we had a period of time when several colleagues were removed from AD who had been using the new upgrade farm; However, they still had entries in the UIL,...

Read More

PowerShell Profiles

Now that I’ve been using PowerShell for a while, I’ve found that as I remote onto different servers I’m having to use the Add-PSSnapIn commandlet and remember the various names of snap-ins that I want to use.  Because I’m always looking for shortcuts along the way I’ve found this little gem that I can put in the profile.ps1 file to effectively load all snap-in modules that are on the server: get-pssnapin -registered | add-pssnapin –passthru This can be added to individual servers profile.ps1 files, but that will affect all users who remote into the server as well.  Since I’ve got a network My Documents, I can place the script inside the “My Documents\WindowsPowerShell\profile.ps1” file and now for any server I remote into, when I open the PowerShell app it will load all of the registered Snap-in modules on that server.  The file can be further customized with colors and other...

Read More

OWASP Los Angeles Meeting with Francis Brown on SharePoint Hacking Diggity Project

What: http://www.meetup.com/OWASP-Los-Angeles/events/48368982/ When: Wednesday, February 22, 2012, 7:00 PM Where: Symantec Corporation : 900 Corporate Pointe , Culver City, CA (map) SharePoint Hacking Diggity Project http://www.stachliu.com/resources/tools/sharepoint-hacking-diggity-project/ The SharePoint Hacking Diggity Project is a research and development initiative dedicated to investigating the latest tools and techniques in hacking Microsoft SharePoint technologies. This project page contains downloads and links to our latest SharePoint Hacking research and free security tools. Assessment strategies are designed to help SharePoint administrators and security professionals identify common insecure configurations and exposures introduced by vulnerable SharePoint deployments. Francis Brown Managing Partner, Stach & Liu Francis Brown, MCSE,...

Read More

SharePoint 2010 – Web Application Not Being Created on All Web Front End Servers

Interesting situation recently… We were creating a new web app in central admin and it was being provisioned on the application server (Which ran the WFE service for content indexing) but not the client facing WFEs.  Reboot of servers, IISRESET, it was starting to get a bit annoying.  Eventually came up with this process: Delete the newly created web application Stop SharePoint administration service from services.msc on all SharePoint servers run stsadm -o execadmsvcjobs Start SharePoint administration service from services.msc Create new web application Web app should now show up on all servers running the web application server. If this does not work, then you can also trying clearing the SharePoint Configuration Cache, but it’s a bit more involved: Stop the Timer service. To do this, follow these steps: Click Start, point to Administrative Tools, and then click Services. Right-click SharePoint 2010 Timer, and then click Stop. Close the Services console. On the computer that is running Microsoft SharePoint Server 2010 and on which the Central Administration site is hosted, click Start, click Run, type explorer, and then press ENTER. In Windows Explorer, locate and then double-click the following folder: %SystemDrive%\ProgramData\Microsoft\SharePoint\Config\GUID Notes The %SystemDrive% system variable specifies the letter of the drive on which Windows is installed. By default, Windows is installed on drive C. The GUID placeholder specifies the GUID folder. There may be more than one of...

Read More

Office 15 / SharePoint 2012 Begins Technical Preview

Exciting news on the SharePoint front…. The “Office 15” Technical Preview has begun according to the Exec Blog here: http://blogs.office.com/b/office-exec/archive/2012/01/30/quot-office-15-quot-begins-technical-preview.aspx According to Microsoft: Technical Preview is the first time we share our work with a select group of customers under non-disclosure agreements. These customers play a key role in our development process by testing early builds and providing feedback, which we incorporate into the final release. So of course everyone is asking how do I get me some of that?  And unfortunately the blog post goes on to say: While the Technical Preview program is already full, everyone will have the opportunity to try the Office 15 public beta later this summer, and we’ll have more to share about the release then. But, if you still want to keep on the bleeding edge of what’s going on: SharePoint 15 Technical Preview Interoperability API Documentation eWeek: Microsoft’s Office 15 Now in Technical Preview TechnoLog: Microsoft Office 15 goes out for...

Read More