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

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



Make sure you create both files on a windows machine or use unix2dos on the
file. Unix carriage returns will break the file.

Also, it looked like my file got spaced out some in the email looking at it.

This:

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]

"ExcludeProfileDirs"="Local Settings;Temporary Internet Files;History;Temp;My
Documents;Desktop"

Should look like (on all of them):

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"ExcludeProfileDirs"="Local Settings;Temporary Internet Files;History;Temp;My
Documents;Desktop"


-- Jason Ingalls Ellsworth School Department IT Specialist 207-667-4722 Ext. 5529 jingalls (at) ellsworthschools.org


Quoting Mark Gumprecht <gumprechtm msln net>:

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

_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>




---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.



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