Solved

How to disable windows indexing service for all users with a login script?

Posted on 2008-10-15
5
1,409 Views
Last Modified: 2012-05-05
Is there a way to disable windows indexing service for all XP desktop users at my company using the windows login script .bat file?
0
Comment
Question by:cap7
5 Comments
 
LVL 5

Expert Comment

by:gambit_642
ID: 22724316
you could add
net stop "[service name]"
to your bat script.
0
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22724333
I would suggest you to create a deploy a group policy for this rather thatn using script...
settings are simple,
Computer Configuration | Windows Settings | Security Settings | System Services | Indexing Service | Disabled

Just define the settings and link the poicy to the OU in which you have all the users :):):)


0
 

Author Comment

by:cap7
ID: 22725874
I created a GPO like you have here linked to the user organization, enforced, ran gpupdate on server and workstation but the index service was still enabled on the users workstation. I rebooted and logged in several times with no changes. Any sugestions.
0
 
LVL 18

Accepted Solution

by:
sk_raja_raja earned 500 total points
ID: 22725932
ok..run RSOP.msc on the workstation and this will show you clearly with all the group policy settings defined in varios GPO's applied to that specific workstation....see if the new gp you created and the settings defined are same....

also run gpresults and verify....if possible enforce the newly created GPO
0
 
LVL 1

Expert Comment

by:NeoX5
ID: 22814691
sc config CiSvc start= disabled
sc stop CiSvc

The first will disable the service and the second will stop it since it probably started automatically.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now