Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

is it possible to execute a code directly after you have logged on into a computer?

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

thanks

share|improve this question

1 Answer 1

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 ?

C:\Marius

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. technet.microsoft.com/en-us/library/cc758918(v=ws.10).aspx). 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 blogs.msdn.com/b/saurabhkv/archive/2008/09/29/… –  C. Marius - MVP Apr 26 '12 at 14:15
    
thank you. I will try. –  Medes Apr 27 '12 at 10:09

Your Answer

 
discard

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.