[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Active Directory - SMB/LDAP Switch



I created the mydoc.reg and it runs on the machine, but when I check the
registry the keys are not changed. I browsed to the netlogon directory
from the client and double clicked on the mydoc.reg and it asks if I
want to install the keys, says it was sucessful in doing so, but it
wasn't. Any ideas? I checked the logs and didn't find any errors.
Mark

Jason Ingalls wrote:

> Here is how I do it (files are in netlogon share on PDC)
>
> startup.bat:
>
> REM Change directory to P:\
> cd p:
>
>
> REM If the folders My Documents and Desktop
> REM don't exist in P:\ create them.
>
> IF NOT EXIST "P:\My Documents\." MD "P:\My Documents"
>
> IF NOT EXIST "P:\Desktop\." MD "P:\Desktop"
>
> REM Now that we are certain that both directories exist,
> REM run regedit silently using the file on osprey.
>
>
> regedit /s \\osprey\netlogon\mydoc.reg
>
>
> REM This didn't work...
> REM regedit /s \\osprey\netlogon\logoff.reg
>
> :END
>
> ===================
>
> mydoc.reg
>
> REGEDIT4
>
>
>
> [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
>
> "ExcludeProfileDirs"="Local Settings;Temporary Internet
> Files;History;Temp;My
> Documents;Desktop"
>
>
>
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
>
> Folders]
>
> "Personal"="P:\\My Documents"
>
> "Desktop"="P:\\Desktop"
>
>
>
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
> Shell
> Folders]
>
> "Personal"="P:\\My Documents"
>
> "Desktop"="P:\\Desktop"
>
> ==============
>
> You can see here the first thing I do with the reg file is define which
> directories I exlude from roaming.
>
> Then I modifiy the entries that tell where to point My Documents
> (personal) and
> desktop.
>
>
>

-- 
Mark Gumprecht
Data Systems Specialist
MSAD3
Unity, ME
gumprechtm msln net


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]