MSFN Forum: Disable Index Server on all drives - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Disable Index Server on all drives How to do this programmatically? Rate Topic: -----

#1 User is offline   ponghy 

  • MSFN Student
  • PipPip
  • Group: Members
  • Posts: 175
  • Joined: 21-April 05

  Posted 24 August 2005 - 06:19 AM

Hi all. I would like to find a way to disable Index Server on all drives, that is, uncheck the tick mark on all harddrive properties.
I've found this Thread, but using Indexsrv_system = off on WINNT.SIF does not solve the problem.

Is there any way to do this programmatically, since Indexing is a NTFS attribute?

Thanks.

This post has been edited by ponghy: 24 August 2005 - 06:20 AM



#2 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 24 August 2005 - 06:39 AM

There is easier way, just disable Indexing service...

#3 User is offline   InTheWayBoy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 709
  • Joined: 16-August 04

Posted 24 August 2005 - 09:30 AM

You could look in the sticky about regtweaks...there is a a reg file that has the code to disable that service in the registry. You can integrate that easily...

#4 User is offline   GreenMachine 

  • ineXPlicable
  • Group: Developers
  • Posts: 3,062
  • Joined: 22-August 03

Posted 24 August 2005 - 11:00 AM

I, too, am interested in a solution. What we need is a ATTRIB type command that includes indexing. There is something similar posted at http://www.msfn.org/...showtopic=26587 , but that is not freeware, and I am unsure how it would work in an Unattended Installation.

If you, or anyone, has, or finds, more to offer on the thought ... please post!

#5 User is offline   Noise 

  • Windows Guru
  • PipPipPip
  • Group: Members
  • Posts: 425
  • Joined: 27-February 04

Posted 24 August 2005 - 11:26 AM

I found that disabling the indexing service sometimes will break the Search function in Explorer. Sometimes it works, sometimes it doesn't. Search won't give an error, it just won't find any files. Weird.

#6 User is offline   InTheWayBoy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 709
  • Joined: 16-August 04

Posted 24 August 2005 - 11:45 AM

I see...so you want to uncheck the box on the files/drives...didn't see that part before. In that case I have no idea...sorry! Maybe some form of GUI manipulation with AutoIt?

#7 User is offline   Stoic Joker 

  • I Hate Titles
  • PipPip
  • Group: Members
  • Posts: 279
  • Joined: 16-August 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 August 2005 - 12:02 PM

This should help Administering the Indexing Service

Gives registry location, explanation of how the service works, and info on how to tweak it.

#8 User is offline   GreenMachine 

  • ineXPlicable
  • Group: Developers
  • Posts: 3,062
  • Joined: 22-August 03

Posted 24 August 2005 - 12:33 PM

Thanks. That, again, is about the indexing service, the question here is how to change the file attributes, which are stored in the file system, but not the registry. But it is a start!

#9 User is offline   ponghy 

  • MSFN Student
  • PipPip
  • Group: Members
  • Posts: 175
  • Joined: 21-April 05

Posted 24 August 2005 - 04:06 PM

Thanks for the link, GreenMachine. That tool may be useful.

But my question is: How to uncheck these tick marks? (programmatically, of course). An undocumented API call perhaps?

Regards and thanks :)

#10 User is offline   GreenMachine 

  • ineXPlicable
  • Group: Developers
  • Posts: 3,062
  • Joined: 22-August 03

Posted 24 August 2005 - 05:56 PM

Don't get me wrong, ponghy, I am still looking for the answer like you! That thread DOES tell how to programatically untick the boxes, but you need the EXE (elattrib?), as well as some DLLs, so I suspect the call would be difficult in unattended setup. It is further complicated by the fact that as shareware, there must be some controls for registered version. But I admit ... I have not tried it ...

Anyone else ?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy