Koozali.org: home of the SME Server

Windows Vista and Windows 7 enhancements

Offline daniel

  • ****
  • 146
  • +0/-0
  • Platinum Sponsor
    • http://www.charton-mgmt.com
Windows Vista and Windows 7 enhancements
« on: July 20, 2009, 04:32:58 PM »
In testing Windows Vista SP2 and Windows 7RC1, I've come across some hacks that help make the Os work better with Samba (linux) and CIFS (netware).

1. Change Security network connection from default to LM & NTLM.  Open up Local Security Policy editor. Select Local Policy | Security Options.  Change Network Security: Lan Manager Authentication Level to Send LM&NTLM-use NTLM2 if session is negotiated.

2.   Change RDC.  Open Control Panel | Programs and Features. Select Turn Windows features on or off.  Uncheck the Remote Differential Compression.  This will require a reboot of the workstation.  This turns off the adjustments the network makes in talking to shares on linux (or Netware).

3.   Disable autotuning.  Open a command prompt, Start | Run | CMD to open a dos window.  In the window type netsh interface tcp set global autotuning=disabled  This must be run as an administrator on the local machine.  This will require a reboot of the workstation.   This makes talking to the SME server in a web browser much quicker as well as most other internet web pages.

These are the hacks I make on all my Vista/Win7 systems and so far I have only seen remarkable improvement when connecting to SME servers. 

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #1 on: July 22, 2009, 01:06:10 PM »
Definelty should be added to Wiki, under Windows Integration..

Offline dtech

  • ***
  • 70
  • +0/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #2 on: July 22, 2009, 03:13:15 PM »
Just wondering if these tweaks allow Windows 7 to join an SME/NT4 domain. The last time I looked or tried to get it to work, it wouldn't and Microsoft's position was that it wasn't going to.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Windows Vista and Windows 7 enhancements
« Reply #3 on: July 22, 2009, 09:21:03 PM »
Just wondering if these tweaks allow Windows 7 to join an SME/NT4 domain. The last time I looked or tried to get it to work, it wouldn't and Microsoft's position was that it wasn't going to.
True. And here is why: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/5eae37ad-585d-44f1-976b-2c39414e7d22
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #4 on: July 22, 2009, 09:44:34 PM »
True. And here is why: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/5eae37ad-585d-44f1-976b-2c39414e7d22

interesting.. someone should explain to M$ that all samba's domains are NT4-style domains.. anyway, IMHO (I'm not starting a religion war) vista and w7 are the best M$ OS to.. move to linux even on desktops. all IMVHO

ciao
Stefano

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Windows Vista and Windows 7 enhancements
« Reply #5 on: July 22, 2009, 09:48:59 PM »
IMHO (I'm not starting a religion war) vista and w7 are the best M$ OS to.. move to linux even on desktops.
Perhaps, but not in most corporate environments... :-(
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline daniel

  • ****
  • 146
  • +0/-0
  • Platinum Sponsor
    • http://www.charton-mgmt.com
Re: Windows Vista and Windows 7 enhancements
« Reply #6 on: July 22, 2009, 10:03:21 PM »
I think what will help keep SME Server on track as a great small business server in a Vista/win7 workstation environment is to keep the updating moving toward a stable V8, integrated LDAP, updated SAMBA to support AD.  My original thread was a mere suggestion for helping those that might be having some of the same issues I have in integration to vista/win7.   :P

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #7 on: July 22, 2009, 10:21:25 PM »
Quote
Perhaps, but not in most corporate environments... :-(

give your definition of "corporate environments", thank you ;-)

Stefano

Offline mdo

  • *
  • 355
  • +0/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #8 on: August 01, 2009, 11:29:24 PM »
But there should be some hope for Windows 7 to be part of a Samba (NT4) domain:

http://ggts.net/2009/05/17/joining-a-windows-7-system-to-a-samba-domain/
...

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Windows Vista and Windows 7 enhancements
« Reply #9 on: August 15, 2009, 07:42:27 PM »
vista and w7 are the best M$ OS to.. move to linux even on desktops.
Just out of curiosity, what linux system would you recommend move to? I´m about to wipe a laptop with w7 for a friend :-D

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #10 on: August 15, 2009, 09:04:17 PM »
Just out of curiosity, what linux system would you recommend move to? I´m about to wipe a laptop with w7 for a friend :-D

well, I'm using ubuntu 9.04 on my laptop and centos 5.3 on my desktop.. this last one has the advantage that makes me fell "at home" because of yum, rpms, directories ecc..

HTH
Ciao
Stefano

Re: Windows Vista and Windows 7 enhancements
« Reply #11 on: August 18, 2009, 10:50:48 AM »
i need help guys anyone here can help me solve my problem i cannot rename the folder if i using vista os pls help did some here here able to help i really thanksfull to you all

thanks


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #12 on: August 18, 2009, 08:01:01 PM »
i need help guys anyone here can help me solve my problem i cannot rename the folder if i using vista os pls help did some here here able to help i really thanksfull to you all

please don't hijack topics, open a new one

in any case, before posting asking for help, think about we are far from your server and without crystal ball, so you should be more verbose in describing your problem..

Ciao
Stefano

Offline RedBeard

  • ***
  • 62
  • +0/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #13 on: September 03, 2009, 09:18:33 PM »
FYI, Don't now if this will help but I ran across this today:

Samba 3 and Windows Vista Clients
http://www.pcc-services.com/samba/samba-vista.html
............

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #14 on: September 03, 2009, 09:37:04 PM »

Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Re: Windows Vista and Windows 7 enhancements
« Reply #15 on: October 07, 2009, 03:16:40 PM »
But there should be some hope for Windows 7 to be part of a Samba (NT4) domain:

win7 will connect to SME using the registry hacks/changes that are available. However the workstations will not login using any SME accounts.

It will only throw an error about the workstation not being trusted on the domain. Then logging in to the PC as a local user stops any file sharing on it from others on the network with the same error msg.

Damn win 7, if we didn't need a PC running it for staff training I think I'd put xp back on it....

Offline brianr

  • *
  • 990
  • +2/-0
Re: Windows Vista and Windows 7 enhancements
« Reply #16 on: October 08, 2009, 07:21:37 AM »
this is relevant to being able to use W7 on an SME domain.

http://bugs.contribs.org/show_bug.cgi?id=5423
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Re: Windows Vista and Windows 7 enhancements
« Reply #17 on: October 08, 2009, 07:56:48 AM »
I am happy to try the changes in the other thread here http://forums.contribs.org/index.php/topic,43219.msg216768.html#msg216768 and mentioned in bugzilla

Does anyone think it will cause any sme upgrade problems down the track though, I have tried to keep mine as vanilla as possible to keep upgrades as easy as possible.
If upgrading samba is likely to break future upgrades though I will leave it be for the moment..

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Windows Vista and Windows 7 enhancements
« Reply #18 on: October 08, 2009, 08:06:14 AM »
If upgrading samba is likely to break future upgrades though I will leave it be for the moment..
My guess is they most likely will brake future upgrades. The source of the packages is unknown and certainly not one of our 'trusted' providers like CentOS or Fedora EPEL. There has been some discussion of rolling our own newer samba packages compared to CentOS (which is our upstream provider), see http://bugs.contribs.org/show_bug.cgi?id=5423#c20 and http://bugs.contribs.org/show_bug.cgi?id=5423#c21 .
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Re: Windows Vista and Windows 7 enhancements
« Reply #19 on: October 08, 2009, 08:30:57 AM »
I've been following that bug for a while.
We had 7 rtm for about 4-6 weeks already(Technet subs), so have been able to do a fair bit of testing with it.
I've had it connected to an ubuntu server with samba 3.4, but even upgrading from that breaks it.
So I think 3.4 is currently the sweet spot..

Offline beckynet

  • *
  • 107
  • +0/-0
    • http://www.beckynet.be
Re: Windows Vista and Windows 7 enhancements
« Reply #20 on: October 10, 2009, 08:44:00 AM »
Hello World,

I've try the following to Join SME 7.4 and Win 7 without succes. I've also try other registry setting.
My SME System use samba-3.0.33-0.17.el4 that seem incompatible with Win 7.
I've read that Win 7 require Samba 3.3.4
http://www.1stbyte.com/2009/05/31/join-windows-7-to-samba-pdc/

Can I update mine Samba without risk ?

Thanks Olivier

In testing Windows Vista SP2 and Windows 7RC1, I've come across some hacks that help make the Os work better with Samba (linux) and CIFS (netware).

1. Change Security network connection from default to LM & NTLM.  Open up Local Security Policy editor. Select Local Policy | Security Options.  Change Network Security: Lan Manager Authentication Level to Send LM&NTLM-use NTLM2 if session is negotiated.

2.   Change RDC.  Open Control Panel | Programs and Features. Select Turn Windows features on or off.  Uncheck the Remote Differential Compression.  This will require a reboot of the workstation.  This turns off the adjustments the network makes in talking to shares on linux (or Netware).

3.   Disable autotuning.  Open a command prompt, Start | Run | CMD to open a dos window.  In the window type netsh interface tcp set global autotuning=disabled  This must be run as an administrator on the local machine.  This will require a reboot of the workstation.   This makes talking to the SME server in a web browser much quicker as well as most other internet web pages.

These are the hacks I make on all my Vista/Win7 systems and so far I have only seen remarkable improvement when connecting to SME servers.
----------------------------------------------------
Beeckmans Olivier
Belgian Army ICT Technician
I discovered E-Smith with version 4.12
----------------------------------------------------