+ Post New Thread
Results 1 to 7 of 7
Windows Server 2008 Thread, Disable Autoruns And Group Policy in Technical; Hi, We have an issue with slow station start-up and slow user logon. I have disabled some of the services ...
  1. #1

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,717
    Thank Post
    351
    Thanked 1,268 Times in 866 Posts
    Blog Entries
    4
    Rep Power
    1124

    Disable Autoruns And Group Policy

    Hi,

    We have an issue with slow station start-up and slow user logon. I have disabled some of the services that users are unlikely to be using at a test station and the performance has been improved significantly. I would like to find a way to disable these services [or make them manual start] network wide. I am sure that it can be done: I think that I am not finding the right syntax [?] in Group Policy.

    I will post more detail shortly, I just have to connect to the school via VPN to paste the details into this post [can't do it now because when I use the VPN into school I lose my home Internet connection ]

    Posting this here and now in case anyone has can point me in the right direction right off the bat?

  2. #2

    Join Date
    Oct 2008
    Location
    Lincolnshire
    Posts
    2,154
    Thank Post
    12
    Thanked 224 Times in 214 Posts
    Rep Power
    66
    What anti-virus software are you running?

    Also are your DNS servers on your clients pointing to your own DNS servers?

  3. #3

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,717
    Thank Post
    351
    Thanked 1,268 Times in 866 Posts
    Blog Entries
    4
    Rep Power
    1124
    Quote Originally Posted by MatthewL View Post
    What anti-virus software are you running?
    Sophos. Should that matter?

    Quote Originally Posted by MatthewL View Post
    Also are your DNS servers on your clients pointing to your own DNS servers?
    Yes. The clients point to our DNS servers first and then to other DNS servers off site. Does this affect what I am trying to do in Group Policy/Registry Settings?

  4. #4
    DrPerceptron's Avatar
    Join Date
    Dec 2008
    Location
    In a house
    Posts
    911
    Thank Post
    34
    Thanked 133 Times in 113 Posts
    Rep Power
    40
    I suspect it's more of a question of is it something else...

    As for disabling services... vbs/WMI is capable of disabling services, enabling services etc (probably batch files too thinking about it)

    In Server 2003, you could control core services from Computer Templates > Security Settings > System Services

    It'll exist in 2008, probably somewhere pretty obvious, but I've not tried it out yet.


    Autorun has its own policy object in GPMC somewhere too
    Last edited by DrPerceptron; 12th June 2009 at 08:30 PM.

  5. #5

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,680
    Thank Post
    3,211
    Thanked 1,031 Times in 956 Posts
    Rep Power
    361
    Quote Originally Posted by DrPerceptron View Post
    I suspect it's more of a question of is it something else...

    As for disabling services... vbs/WMI is capable of disabling services, enabling services etc (probably batch files too thinking about it)

    In Server 2003, you could control core services from Computer Templates > Security Settings > System Services

    It'll exist in 2008, probably somewhere pretty obvious, but I've not tried it out yet.


    Autorun has its own policy object in GPMC somewhere too
    vbs and wmi can stop and pause and start services ( so has the same effect of restarting the services)

    Code:
    ' ------ SCRIPT CONFIGURATION ------
    strComputer = "<HostName>" ' e.g. fs-rtp01 (use . for local system)
    strSvcName = "<ServiceName>" ' e.g. dnscache
    ' ------ END CONFIGURATION ---------
    set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    set objService = objWMI.Get("Win32_Service.Name='" & strSvcName & "'")
    
    intRC = objService.StopService
    if intRC > 0 then
     WScript.Echo "Error stopping service: " & intRC
    else
     WScript.Echo "Successfully stopped service"
    end if
    
    intRC = objService.StartService
    if intRC > 0 then
     WScript.Echo "Error starting service: " & intRC
    else
     WScript.Echo "Successfully started service"
    end if
    Best piece of code I have found here

    VBScript Scripting Techniques: Services

  6. #6

    Join Date
    Oct 2008
    Location
    Lincolnshire
    Posts
    2,154
    Thank Post
    12
    Thanked 224 Times in 214 Posts
    Rep Power
    66
    Quote Originally Posted by DaveP View Post
    Sophos. Should that matter?



    Yes. The clients point to our DNS servers first and then to other DNS servers off site. Does this affect what I am trying to do in Group Policy/Registry Settings?
    I know there have been issues with McAfee so wanted to rule that out, also if they were not pointing to your DNS I know this can also cause problems.

    Not sure on this one to be honest.

  7. #7

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,154
    Thank Post
    114
    Thanked 527 Times in 450 Posts
    Blog Entries
    2
    Rep Power
    123
    Quote Originally Posted by DaveP View Post
    Yes. The clients point to our DNS servers first and then to other DNS servers off site. Does this affect what I am trying to do in Group Policy/Registry Settings?
    Having the wrong DNS settings can make lots of things go wrong and slow processing of group policies is one of those.

    The client machines should only point to your internal DNS; those DNS servers should then have forwarders configured to point to your ISPs DNS.

    You can use group policy to configure services to manual startup - it's in the security bit of the machine settings if I remember rightly.

SHARE:
+ Post New Thread

Similar Threads

  1. Disable Internet for a group of PCs
    By Michael in forum Windows
    Replies: 12
    Last Post: 15th July 2008, 11:32 AM
  2. TS Group Policy
    By adamf in forum Windows
    Replies: 6
    Last Post: 4th May 2008, 12:35 PM
  3. Disable the autocorrect options in group policy
    By Liam in forum How do you do....it?
    Replies: 2
    Last Post: 24th October 2007, 12:49 PM
  4. group policy not being seen at all
    By krisd32 in forum Windows
    Replies: 5
    Last Post: 31st August 2007, 09:07 AM
  5. Disable network logon for a Security Group or an OU
    By mrforgetful in forum Wireless Networks
    Replies: 10
    Last Post: 28th June 2006, 04:13 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •