Click on this icon to open the XML page.Tom Van Gaever - Blog
Search:   

Change SharePoint drafts folder location by logon script 
Saturday, October 31, 2009, 11:53 - SharePoint
Posted by Administrator
In this previous post I explained how to change the default SharePoint drafts folder from
My documents/SharePoint Drafts to another location.

If you have to change this settings for more than 300 users this is not a job you want to do by hand, so here is a possible solution that might work:

Create 2 files:

1) sharepointdraftslocation.reg, this file contains the register keys that need to be added or altered.


Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\Common\Offline\Options]
"Local"=dword:00000001
"Location"="C:\\Users\\tom.vangaever.NEOMATICS\\Documents\\Other SharePoint Drafts\\"


2) sharepointdraftslocation.bat, this file will use the builtin REGEDIT.EXE application to add the correct register values in to the register.

@ECHO OFF
REGEDIT.EXE -S sharepointdraftslocation.reg
cls


By using an active directory group policy you can make sure that this sharepointdraftslocation.bat script is started each time the user logins in on a computer.
add comment ( 3 views )   |  permalink   |   ( 3 / 189 )

<<First <Back | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | Next> Last>>