SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to automate a SharePoint related activity so that it gets executed soon after you have logged on into a computer?

What I want is creating an user MySite directly after the user has logged on into the computer (before browsing to mySite).

share|improve this question

The MySite (site collection actually) gets created for the user automatically if he doesn't have one already (provided he has the rights to have one). Is enough for the user to navigate to this page _layouts/mysite.aspx (e.g. assuming your MySite Host with "personal" being the mapped path) then using http://mySiteHost/_layouts/mysite.aspx would automatically create site everytime user navigates to the page OR if he has one, it will redirect to http://mySitesHost/personal/username - "username" also depends on how you configured in UPSA.

If you really want to execute code upon computer launch, you need also to account for Login, because if don't have Kerberos Enabled it would ask user to authenticate!

It would be enough to have the default page in your browser ?


share|improve this answer
thanks for your answer, I don't understand exactly what you meant with "you need also to account for Login" is it possible to exectue a code upon computer launch to create my site for user who logs on? – Medes Apr 26 '12 at 14:03
Of course you can, use Logon Scripts for that (e.g. By "Login" I actually meant the Login Prompt when navigating to the SharePoint site that usually one receives. You could create the My Site using something similar… – Marius Constantinescu - MVP Apr 26 '12 at 14:15
thank you. I will try. – Medes Apr 27 '12 at 10:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.