windows registry state
windows module/state to manage windows features
Revert "windows module/state to manage windows features"

This reverts commit 80aa92244635ba14f7956539eda20d9270b83589.
fix casting to int
Merge pull request #5941 from ranl/registry

Windows registry state