Disabling all scripts on child only?

I actually have two problems here. I’ve tried disabling the component but it says the component doesn’t exist (these a re custom scripts). Would I be able to just disable all scripts on a CHILD ONLY. This is for a multiplayer game so keep that in mind.

Not fully understanding the question. But here is an example in C#. In this example, I have a cube with 3 other cubes as children. This script will be attached to the parent cube. This will destroy all components on all children except for the Transform component itself. To omit certain components, simply repeat what I did with the Transform component here.

using UnityEngine;
using System.Collections;

public class KillComponentsInChildren : MonoBehaviour 
{
	void Awake()
	{
		foreach(Transform t in transform)
		{
			foreach(Component com in t.GetComponents<Component>())
			{
				if(com != t.GetComponent<Transform>())
					Destroy (com);
			}
		}
	}
}