Solved

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

Posted on 2008-10-15
5
1,411 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Issue with cURL on Windows 7 103
xcopy loop 13 61
Can we display time in 12 hr format using batch file ? 2 39
Batch File won't run on Windows Server 2012 R2 Task Scheduler 8 98
You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 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