Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8
i think it's not samba proble, after long search and trying , thank god, i found the solution the client can't write to it's home profile and read it so you jest give it permission for profile directory chmod 777 -R /home best regards -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8
After I stopped the roaming profiles in the registry. I found out that the only way to copy the Profile folder inside to the server from a batch or kixtart-file is: xcopy %USERPROFILE%\* /Y/H/R/C/E S:\mydomainfolder IF I used xcopy C:\Users\myname just nothing happened, but file could not be found Strange in Windows 7!!?? --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Abe Lau Gesendet: Freitag, 27. August 2010 03:07 An: German Molano Cc: samba@lists.samba.org Betreff: Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8 On Thu, Aug 26, 2010 at 12:15 AM, German Molano wrote: > Disable completly the roaming profile behavior Win 7 Workstations, this > could be done by registry. > > HKLM\Software\Policies\Microsoft\Windows\System LocalProfile 1 REG_DWORD > HKLM\Software\Policies\Microsoft\Windows\System ReadOnlyProfile 1 REG_DWORD > Remenber that this could takes effect only after a Windows restart ... > > Second, disable logon path directive unless you need it > > ;logon path = \\%L\homes\%U\profile > logon path = > > If you need it copy a Default profile generated by Windows 7 to this > folder, you could found it on c:\users folder on any Windows 7 Workstation. > > Third there is a registry value on Windows 7, called ProfileList > HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ > ProfileList > > Sometimes when you test or login for first time Windows 7 Workstation, it > will write this registry with the user profile path, I don't know how the > heck it mixed Temporary profiles with local profiles definition, the result > every time you log in with a user it recreates the profile on c:\users\TEMP > but the system initially do not recognize the profile as a temporary but as > Local or Mobile, depending on your definition. At the logout of the user > session it treats the profile as a temporary one deleting the TEMP folder > and all changes you done on it --Nasty thing --. > So my advice delete those entries where the domain users gets c:\users\TEMP > as the default profile path. > > Then log in the user to create a truly own Local profile. > > I use kixtart tools to do most of this work, i disable the folder > redirection for those users that use local profiles, to them they use the > default folders locations. I believe that there is something related with > the folder redirection setting and this annoying behavior --deleting the > whole profile--. > > I found out a Registry value that affects Windows Vista and 7 Workstations > MachineProfilePath > HKLM\Software\Policies\Microsoft\Windows\System > Is for roaming profiles, but maybe could be tricked to be mobile or "local" > if you set local or mobile the path as you need it. > > Hi, I am getting into this local profile problem with Windows 7 (x64). Following the thread, and German's previous suggestion of KiXtart, I came up with using the following KiXtart script to set the registry key with logon script. ; Disable Roaming Profiles ; Key doesn't seems to exist, create if necessary IF NOT KeyExist("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System") AddKey("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System") ENDIF WriteValue("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System", "LocalProfile", "1", "REG_DWORD") WriteValue("HKLM\Software\Policies\Microsoft\Windows\System", "ReadOnlyProfile", "1", "REG_DWORD") However, I cannot find the key being created under HKLM\Software, nor HKLM\Software\Wow6432Node I am not sure if it is related to 64-bit Windows 7, or if it is a registry write permission issue, or a KiXtart issue. Any idea how I may target it? Abe -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8
On Thu, Aug 26, 2010 at 12:15 AM, German Molano wrote: > Disable completly the roaming profile behavior Win 7 Workstations, this > could be done by registry. > > HKLM\Software\Policies\Microsoft\Windows\System LocalProfile 1 REG_DWORD > HKLM\Software\Policies\Microsoft\Windows\System ReadOnlyProfile 1 REG_DWORD > Remenber that this could takes effect only after a Windows restart ... > > Second, disable logon path directive unless you need it > > ;logon path = \\%L\homes\%U\profile > logon path = > > If you need it copy a Default profile generated by Windows 7 to this > folder, you could found it on c:\users folder on any Windows 7 Workstation. > > Third there is a registry value on Windows 7, called ProfileList > HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ > ProfileList > > Sometimes when you test or login for first time Windows 7 Workstation, it > will write this registry with the user profile path, I don't know how the > heck it mixed Temporary profiles with local profiles definition, the result > every time you log in with a user it recreates the profile on c:\users\TEMP > but the system initially do not recognize the profile as a temporary but as > Local or Mobile, depending on your definition. At the logout of the user > session it treats the profile as a temporary one deleting the TEMP folder > and all changes you done on it --Nasty thing --. > So my advice delete those entries where the domain users gets c:\users\TEMP > as the default profile path. > > Then log in the user to create a truly own Local profile. > > I use kixtart tools to do most of this work, i disable the folder > redirection for those users that use local profiles, to them they use the > default folders locations. I believe that there is something related with > the folder redirection setting and this annoying behavior --deleting the > whole profile--. > > I found out a Registry value that affects Windows Vista and 7 Workstations > MachineProfilePath > HKLM\Software\Policies\Microsoft\Windows\System > Is for roaming profiles, but maybe could be tricked to be mobile or "local" > if you set local or mobile the path as you need it. > > Hi, I am getting into this local profile problem with Windows 7 (x64). Following the thread, and German's previous suggestion of KiXtart, I came up with using the following KiXtart script to set the registry key with logon script. ; Disable Roaming Profiles ; Key doesn't seems to exist, create if necessary IF NOT KeyExist("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System") AddKey("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System") ENDIF WriteValue("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System", "LocalProfile", "1", "REG_DWORD") WriteValue("HKLM\Software\Policies\Microsoft\Windows\System", "ReadOnlyProfile", "1", "REG_DWORD") However, I cannot find the key being created under HKLM\Software, nor HKLM\Software\Wow6432Node I am not sure if it is related to 64-bit Windows 7, or if it is a registry write permission issue, or a KiXtart issue. Any idea how I may target it? Abe -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8
Thank you.This did end the temporary profile thing: HKLM\Software\Policies\Microsoft\Windows\System LocalProfile 1 REG_DWORD HKLM\Software\Policies\Microsoft\Windows\System ReadOnlyProfile 1 REG_DWORD Remenber that this could takes effect only after a Windows restart ... But after all is a great guessing where windows 7 takes the settings, pointing every domain user to C:\Users\temp.. HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ ProfileList-->ProfileImagePath= C:\Users\temp I first tried to set ProfileImagePath to \\sambaserver\profiles\ After restart there was ProfileImagePath=C:\Users\mydomain.temp !? Is there anybody out there getting roaming profiles on a samba 3.4.8 /windows 7 running? Or redirection of Shell Folder Personal? --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von German Molano Gesendet: Mittwoch, 25. August 2010 16:16 Cc: samba@lists.samba.org Betreff: Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8 On 25/08/2010 08:27 a.m., Daniel Müller wrote: > Dear all, > > I think this is discussed here several times but this problem driving me > mad. Believe me, this was not discussed as many times as you think. > I can join the win7 pc to the samba domain on the fly, but after logoff and > then logon it always complain about > The temporary profile thing (on Win xp it is working!): > In my global section: > logon script=login.bat > logon path=\\%L\homes\%U\profile > > then: > > > [profiles] > comment = Benutzer Profil %U > path = /home/samba/share/home/%U/profile > guest ok = no > browseable = no > create mask = 0600 > directory mask = 0700 >profile acls = yes > hide files=/Desktop.ini/Thumbs.db/lost+found > force user = %U > valid users = %U "Domain Admins" > csc policy = disable > read only = no > > Any ideas?? Disable completly the roaming profile behavior Win 7 Workstations, this could be done by registry. HKLM\Software\Policies\Microsoft\Windows\System LocalProfile 1 REG_DWORD HKLM\Software\Policies\Microsoft\Windows\System ReadOnlyProfile 1 REG_DWORD Remenber that this could takes effect only after a Windows restart ... Second, disable logon path directive unless you need it ;logon path = \\%L\homes\%U\profile logon path = If you need it copy a Default profile generated by Windows 7 to this folder, you could found it on c:\users folder on any Windows 7 Workstation. Third there is a registry value on Windows 7, called ProfileList HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ ProfileList Sometimes when you test or login for first time Windows 7 Workstation, it will write this registry with the user profile path, I don't know how the heck it mixed Temporary profiles with local profiles definition, the result every time you log in with a user it recreates the profile on c:\users\TEMP but the system initially do not recognize the profile as a temporary but as Local or Mobile, depending on your definition. At the logout of the user session it treats the profile as a temporary one deleting the TEMP folder and all changes you done on it --Nasty thing --. So my advice delete those entries where the domain users gets c:\users\TEMP as the default profile path. Then log in the user to create a truly own Local profile. I use kixtart tools to do most of this work, i disable the folder redirection for those users that use local profiles, to them they use the default folders locations. I believe that there is something related with the folder redirection setting and this annoying behavior --deleting the whole profile--. I found out a Registry value that affects Windows Vista and 7 Workstations MachineProfilePath HKLM\Software\Policies\Microsoft\Windows\System Is for roaming profiles, but maybe could be tricked to be mobile or "local" if you set local or mobile the path as you need it. > Daniel > > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 Tübingen > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: muel...@tropenklinik.de > Internet: www.tropenklinik.de > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8
On 08/25/2010 08:27 AM, Daniel Müller wrote: > Dear all, > > I think this is discussed here several times but this problem driving me > mad. > I can join the win7 pc to the samba domain on the fly, but after logoff and > then logon it always complain about > The temporary profile thing (on Win xp it is working!): > In my global section: > logon script=login.bat > logon path=\\%L\homes\%U\profile > > then: > > > [profiles] >comment = Benutzer Profil %U >path = /home/samba/share/home/%U/profile >guest ok = no >browseable = no >create mask = 0600 >directory mask = 0700 > profile acls = yes >hide files=/Desktop.ini/Thumbs.db/lost+found >force user = %U >valid users = %U "Domain Admins" Suggest you change this to: valid users = %D\%U @%D\"Domain Admins" - John T. >csc policy = disable >read only = no > > Any ideas?? > Daniel > > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 Tübingen > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: muel...@tropenklinik.de > Internet: www.tropenklinik.de > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8
I had this myself and it turned out that this was caused (in my case) because I was also a member of the group 'Domain Guests'. See http://social.technet.microsoft.com/Forums/en/w7itproinstall/thread/50ccd066-77d6-45a7-97aa-061a9fc1287c Op 25-8-2010 15:27, Daniel Müller schreef: Dear all, I think this is discussed here several times but this problem driving me mad. I can join the win7 pc to the samba domain on the fly, but after logoff and then logon it always complain about The temporary profile thing (on Win xp it is working!): In my global section: logon script=login.bat logon path=\\%L\homes\%U\profile then: [profiles] comment = Benutzer Profil %U path = /home/samba/share/home/%U/profile guest ok = no browseable = no create mask = 0600 directory mask = 0700 profile acls = yes hide files=/Desktop.ini/Thumbs.db/lost+found force user = %U valid users = %U "Domain Admins" csc policy = disable read only = no Any ideas?? Daniel EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8
On 25/08/2010 08:27 a.m., Daniel Müller wrote: Dear all, I think this is discussed here several times but this problem driving me mad. Believe me, this was not discussed as many times as you think. I can join the win7 pc to the samba domain on the fly, but after logoff and then logon it always complain about The temporary profile thing (on Win xp it is working!): In my global section: logon script=login.bat logon path=\\%L\homes\%U\profile then: [profiles] comment = Benutzer Profil %U path = /home/samba/share/home/%U/profile guest ok = no browseable = no create mask = 0600 directory mask = 0700 profile acls = yes hide files=/Desktop.ini/Thumbs.db/lost+found force user = %U valid users = %U "Domain Admins" csc policy = disable read only = no Any ideas?? Disable completly the roaming profile behavior Win 7 Workstations, this could be done by registry. HKLM\Software\Policies\Microsoft\Windows\System LocalProfile 1 REG_DWORD HKLM\Software\Policies\Microsoft\Windows\System ReadOnlyProfile 1 REG_DWORD Remenber that this could takes effect only after a Windows restart ... Second, disable logon path directive unless you need it ;logon path = \\%L\homes\%U\profile logon path = If you need it copy a Default profile generated by Windows 7 to this folder, you could found it on c:\users folder on any Windows 7 Workstation. Third there is a registry value on Windows 7, called ProfileList HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ ProfileList Sometimes when you test or login for first time Windows 7 Workstation, it will write this registry with the user profile path, I don't know how the heck it mixed Temporary profiles with local profiles definition, the result every time you log in with a user it recreates the profile on c:\users\TEMP but the system initially do not recognize the profile as a temporary but as Local or Mobile, depending on your definition. At the logout of the user session it treats the profile as a temporary one deleting the TEMP folder and all changes you done on it --Nasty thing --. So my advice delete those entries where the domain users gets c:\users\TEMP as the default profile path. Then log in the user to create a truly own Local profile. I use kixtart tools to do most of this work, i disable the folder redirection for those users that use local profiles, to them they use the default folders locations. I believe that there is something related with the folder redirection setting and this annoying behavior --deleting the whole profile--. I found out a Registry value that affects Windows Vista and 7 Workstations MachineProfilePath HKLM\Software\Policies\Microsoft\Windows\System Is for roaming profiles, but maybe could be tricked to be mobile or "local" if you set local or mobile the path as you need it. Daniel EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Windows 7 on startup always loads temporary profiles samba 3.4.8
Dear all, I think this is discussed here several times but this problem driving me mad. I can join the win7 pc to the samba domain on the fly, but after logoff and then logon it always complain about The temporary profile thing (on Win xp it is working!): In my global section: logon script=login.bat logon path=\\%L\homes\%U\profile then: [profiles] comment = Benutzer Profil %U path = /home/samba/share/home/%U/profile guest ok = no browseable = no create mask = 0600 directory mask = 0700 profile acls = yes hide files=/Desktop.ini/Thumbs.db/lost+found force user = %U valid users = %U "Domain Admins" csc policy = disable read only = no Any ideas?? Daniel EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba