in splunk\bin:
splunk.exe disable app Windows -auth <username>:<password>
in splunk\bin:
splunk.exe disable app Windows -auth <username>:<password>
be aware that will disable the windows apps but if your "data inputs" is not configured in this apps it will not stop data being indexed.