Sharc Posted September 3, 2004 Posted September 3, 2004 Can anyone tell me how to Automatically uncheck Allow Indexing Service to index this disk (folder, files) in disk (folder) properties? Don't know any VB/JS script to do so. Is it possible for AutoIt? It is NOT the same as disabling the indexing service 'cuz it has to do with NTFS attributes
prathapml Posted September 3, 2004 Posted September 3, 2004 I just use the registry tweak to disable the Indexing Service (as you mentioned above).I haven't heard of any WMI or command-line tool to disable Indexing on any drive.
MHz Posted September 3, 2004 Posted September 3, 2004 @prathapml I was going to say the same. Regtweak is far easier.
Anderz Posted September 3, 2004 Posted September 3, 2004 ;Disable Indexing Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CiSvc]"Start"=dword:00000004
Sharc Posted September 6, 2004 Author Posted September 6, 2004 Can anyone tell me how to Automatically uncheck Allow Indexing Service to index this disk (folder, files) in disk (folder) properties? Don't know any VB/JS script to do so. Is it possible for AutoIt? It is NOT the same as disabling the indexing service 'cuz it has to do with NTFS attributesStill again. I know how to disable THE INDEXING SERVICE. But every file and folder has an attribute called For Fast Searching, Allow Indexing Service to (what would you think of?))) index this file/folder! Furthermore, in VB there is a number for EACH file/folder attribute. For example, 2 is hidden, 1 is read-only, 4 is System, 32 - Archive bit set, 64-Link or shortcut, 2048 - Compressed file. But I didn't find here ContentIndexed file! does anybody know how to automate changing this attribute?
SiMoNsAyS Posted September 6, 2004 Posted September 6, 2004 after i disable the indexing service with regtweaks i always check the files, go to properties>advanced options and there i see that it's ticked the "allow indexing service to..." but i don't know how to disable it for all files and folders
Sharc Posted September 6, 2004 Author Posted September 6, 2004 THERE MUST BE A WAY!!! It just takes an expert in VB Script))) cuz I found a way for changing ANY attribute BUT THIS and sinsce it is possible in ASP.NETCheck this http://www.xefteri.com/articles/dec022002/default.aspx for instance
SiMoNsAyS Posted September 6, 2004 Posted September 6, 2004 i think that option is just annoying but it won't speedup your system in anyway disabling it, i'll leave it ticked.
Sharc Posted September 6, 2004 Author Posted September 6, 2004 there are tools to deal with this annoying attributehttp://www.jpsoft.com 4nt has attrib command that supports Index Attribute!Alsohttp://www.eluent.com/download.htmelattrib does that
Denney Posted September 7, 2004 Posted September 7, 2004 The "NotContentIndexed" attribute is "2000"... First link on Google.
maxXPsoft Posted September 7, 2004 Posted September 7, 2004 First you have to shut down the service of course but thenIf you are going to disable Indexing service do this to all drives. Uncheck the Allow Indexing service to index this disk for faster file searchingThen click Apply.You then Select Apply Changes to C:\, SubFolders and files.Then click Apply again. May give error about unable, just click Ignore all.I been searching a long time and sure i could code it but i just do it manually right now. I've read that this will speed up the system a little but it's one of those maybe it will maybe it won't. Mine is unticked on all drive's though.
Sharc Posted September 7, 2004 Author Posted September 7, 2004 RaveRodThank you! At last someone has seen it through :-)
Sharc Posted September 7, 2004 Author Posted September 7, 2004 RaveRodDo you know how to emplement that?NotContentIndexed = &H2000 is actually from .NET stuff. It has to do with coding but not scriptingI need a script
Sharc Posted September 8, 2004 Author Posted September 8, 2004 Example of how to do thisget these ElAttrib.exe ElConTool.dll ElDB.dll ElStd.dll from here _http://www.eluent.com/dl/eltools.zipand elattrib +n -v -F -C -A "%systemdrive%\*|+"
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