ponghy Posted August 24, 2005 Share Posted August 24, 2005 (edited) 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. Edited August 24, 2005 by ponghy Link to comment Share on other sites More sharing options...
Martin Zugec Posted August 24, 2005 Share Posted August 24, 2005 There is easier way, just disable Indexing service... Link to comment Share on other sites More sharing options...
InTheWayBoy Posted August 24, 2005 Share Posted August 24, 2005 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... Link to comment Share on other sites More sharing options...
GreenMachine Posted August 24, 2005 Share Posted August 24, 2005 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/board/index.php?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! Link to comment Share on other sites More sharing options...
Noise Posted August 24, 2005 Share Posted August 24, 2005 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. Link to comment Share on other sites More sharing options...
InTheWayBoy Posted August 24, 2005 Share Posted August 24, 2005 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? Link to comment Share on other sites More sharing options...
Stoic Joker Posted August 24, 2005 Share Posted August 24, 2005 This should help Administering the Indexing ServiceGives registry location, explanation of how the service works, and info on how to tweak it. Link to comment Share on other sites More sharing options...
GreenMachine Posted August 24, 2005 Share Posted August 24, 2005 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! Link to comment Share on other sites More sharing options...
ponghy Posted August 24, 2005 Author Share Posted August 24, 2005 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 Link to comment Share on other sites More sharing options...
GreenMachine Posted August 24, 2005 Share Posted August 24, 2005 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 ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now