Table of Contents

ਜਾਣ-ਪਛਾਣ:

ਵਿੰਡੋਜ਼ 10 ਅਤੇ ਵਿੰਡੋਜ਼ 11 ਬਾਕਸ ਤੋਂ ਬਾਹਰ ਹਮਲਾਵਰ ਅਤੇ ਅਸੁਰੱਖਿਅਤ ਓਪਰੇਟਿੰਗ ਸਿਸਟਮ ਹਨ। ਵਰਗੀਆਂ ਸੰਸਥਾਵਾਂ PrivacyTools.io , Microsoft , Cyber.mil , the Department of Defense , and the National Security Agency ਨੇ ਓਪਰੇਟਿੰਗ ਸਿਸਟਮ ਨੂੰ ਲੌਕਡਾਊਨ, ਸਖ਼ਤ ਅਤੇ ਸੁਰੱਖਿਅਤ ਕਰਨ ਲਈ ਸੰਰਚਨਾ ਤਬਦੀਲੀਆਂ ਦੀ ਸਿਫ਼ਾਰਸ਼ ਕੀਤੀ ਹੈ। ਇਹ ਤਬਦੀਲੀਆਂ ਟੈਲੀਮੈਟਰੀ ਨੂੰ ਰੋਕਣਾ, ਮੈਕਰੋਜ਼ ਨੂੰ ਰੋਕਣਾ, ਬਲੋਟਵੇਅਰ ਨੂੰ ਹਟਾਉਣਾ, ਅਤੇ ਸਿਸਟਮ ਉੱਤੇ ਬਹੁਤ ਸਾਰੇ ਡਿਜੀਟਲ ਅਤੇ ਭੌਤਿਕ ਹਮਲਿਆਂ ਨੂੰ ਰੋਕਣਾ ਸਮੇਤ ਬਹੁਤ ਸਾਰੀਆਂ ਕਮੀਆਂ ਨੂੰ ਕਵਰ ਕਰਦਾ ਹੈ। ਇਸ ਸਕ੍ਰਿਪਟ ਦਾ ਉਦੇਸ਼ ਉਹਨਾਂ ਸੰਸਥਾਵਾਂ ਦੁਆਰਾ ਸਿਫ਼ਾਰਿਸ਼ ਕੀਤੀਆਂ ਸੰਰਚਨਾਵਾਂ ਨੂੰ ਸਵੈਚਾਲਤ ਕਰਨਾ ਹੈ।

ਨੋਟਸ, ਚੇਤਾਵਨੀਆਂ ਅਤੇ ਵਿਚਾਰ:

ਚੇਤਾਵਨੀ:

ਇਹ ਸਕ੍ਰਿਪਟ ਜ਼ਿਆਦਾਤਰ, ਜੇਕਰ ਸਾਰੇ ਨਹੀਂ, ਬਿਨਾਂ ਸਮੱਸਿਆ ਵਾਲੇ ਸਿਸਟਮਾਂ ਲਈ ਕੰਮ ਕਰੇਗੀ। ਜਦਕਿ @SimeonOnSecurity creates, reviews, and tests each repo intensively, we can not test every possible configuration nor does @SimeonOnSecurity take any responsibility for breaking your system. If something goes wrong, be prepared to submit an issue

  • ਇਹ ਸਕ੍ਰਿਪਟ ਮੁੱਖ ਤੌਰ ‘ਤੇ ਨਿੱਜੀ ਵਰਤੋਂ ਵਾਤਾਵਰਣਾਂ ਵਿੱਚ ਕੰਮ ਕਰਨ ਲਈ ਤਿਆਰ ਕੀਤੀ ਗਈ ਹੈ। ਇਸ ਨੂੰ ਧਿਆਨ ਵਿੱਚ ਰੱਖਦੇ ਹੋਏ, ਕੁਝ ਐਂਟਰਪ੍ਰਾਈਜ਼ ਕੌਂਫਿਗਰੇਸ਼ਨ ਸੈਟਿੰਗਾਂ ਲਾਗੂ ਨਹੀਂ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ। ਇਹ ਸਕ੍ਰਿਪਟ ਇੱਕ ਸਿਸਟਮ ਨੂੰ 100% ਅਨੁਪਾਲਨ ਵਿੱਚ ਲਿਆਉਣ ਲਈ ਤਿਆਰ ਨਹੀਂ ਕੀਤੀ ਗਈ ਹੈ। ਇਸ ਦੀ ਬਜਾਏ ਇਸਨੂੰ ਜ਼ਿਆਦਾਤਰ ਪੂਰਾ ਕਰਨ ਲਈ ਇੱਕ ਸਟੈਪਿੰਗ ਸਟੋਨ ਵਜੋਂ ਵਰਤਿਆ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ, ਜੇ ਸਭ ਨਹੀਂ, ਤਾਂ ਸੰਰਚਨਾ ਤਬਦੀਲੀਆਂ ਜੋ ਕਿ ਬ੍ਰਾਂਡਿੰਗ ਅਤੇ ਬੈਨਰਾਂ ਵਰਗੇ ਪੁਰਾਣੇ ਮੁੱਦਿਆਂ ਨੂੰ ਛੱਡਣ ਵੇਲੇ ਸਕ੍ਰਿਪਟ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਜਿੱਥੇ ਉਹਨਾਂ ਨੂੰ ਸਖਤ ਨਿੱਜੀ ਵਰਤੋਂ ਵਾਲੇ ਮਾਹੌਲ ਵਿੱਚ ਵੀ ਲਾਗੂ ਨਹੀਂ ਕੀਤਾ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ।
  • ਇਸ ਸਕ੍ਰਿਪਟ ਨੂੰ ਇਸ ਤਰੀਕੇ ਨਾਲ ਡਿਜ਼ਾਇਨ ਕੀਤਾ ਗਿਆ ਹੈ ਕਿ ਕੁਝ ਹੋਰ ਸਕ੍ਰਿਪਟਾਂ ਦੇ ਉਲਟ ਓਪਟੀਮਾਈਜੇਸ਼ਨ, ਕੋਰ ਵਿੰਡੋਜ਼ ਕਾਰਜਕੁਸ਼ਲਤਾ ਨੂੰ ਨਹੀਂ ਤੋੜਨਗੀਆਂ।
  • ਵਿੰਡੋਜ਼ ਅੱਪਡੇਟ, ਵਿੰਡੋਜ਼ ਡਿਫੈਂਡਰ, ਵਿੰਡੋਜ਼ ਸਟੋਰ, ਅਤੇ ਕੋਰਟੋਨਾ ਵਰਗੀਆਂ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ਨੂੰ ਪ੍ਰਤਿਬੰਧਿਤ ਕਰ ਦਿੱਤਾ ਗਿਆ ਹੈ, ਪਰ ਜ਼ਿਆਦਾਤਰ ਹੋਰ ਵਿੰਡੋਜ਼ 10 ਗੋਪਨੀਯਤਾ ਸਕ੍ਰਿਪਟਾਂ ਦੀ ਤਰ੍ਹਾਂ ਕੰਮ ਕਰਨ ਵਾਲੀ ਸਥਿਤੀ ਵਿੱਚ ਨਹੀਂ ਹਨ।
  • ਜੇਕਰ ਤੁਸੀਂ ਸਿਰਫ਼ ਵਪਾਰਕ ਵਾਤਾਵਰਣਾਂ ਨੂੰ ਨਿਸ਼ਾਨਾ ਬਣਾਉਣ ਵਾਲੀ ਇੱਕ ਛੋਟੀ ਜਿਹੀ ਸਕ੍ਰਿਪਟ ਦੀ ਭਾਲ ਕਰਦੇ ਹੋ, ਤਾਂ ਕਿਰਪਾ ਕਰਕੇ ਇਸਨੂੰ ਦੇਖੋ GitHub Repository

ਇਸ ਸਕ੍ਰਿਪਟ ਨੂੰ ਨਾ ਚਲਾਓ ਜੇਕਰ ਤੁਸੀਂ ਇਹ ਨਹੀਂ ਸਮਝਦੇ ਕਿ ਇਹ ਕੀ ਕਰਦੀ ਹੈ। ਸਕ੍ਰਿਪਟ ਨੂੰ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਇਸ ਦੀ ਸਮੀਖਿਆ ਅਤੇ ਜਾਂਚ ਕਰਨਾ ਤੁਹਾਡੀ ਜ਼ਿੰਮੇਵਾਰੀ ਹੈ।

ਉਦਾਹਰਣ ਲਈ, ਜੇਕਰ ਤੁਸੀਂ ਰੋਕਥਾਮ ਵਾਲੇ ਕਦਮ ਚੁੱਕੇ ਬਿਨਾਂ ਇਸਨੂੰ ਚਲਾਉਂਦੇ ਹੋ ਤਾਂ ਹੇਠਾਂ ਦਿੱਤੀਆਂ ਗੱਲਾਂ ਟੁੱਟ ਜਾਣਗੀਆਂ:

  • “ਪ੍ਰਸ਼ਾਸਕ” ਨਾਮਕ ਡਿਫੌਲਟ ਪ੍ਰਸ਼ਾਸਕ ਖਾਤੇ ਦੀ ਵਰਤੋਂ ਕਰਨਾ ਅਯੋਗ ਹੈ ਅਤੇ DoD STIG ਪ੍ਰਤੀ ਨਾਮ ਬਦਲਿਆ ਗਿਆ ਹੈ

    • ਬਣਾਏ ਗਏ ਡਿਫੌਲਟ ਖਾਤੇ ‘ਤੇ ਲਾਗੂ ਨਹੀਂ ਹੁੰਦਾ ਪਰ ਇਹ ਡਿਫੌਲਟ ਐਡਮਿਨਿਸਟ੍ਰੇਟਰ ਖਾਤੇ ਦੀ ਵਰਤੋਂ ਕਰਨ ‘ਤੇ ਲਾਗੂ ਹੁੰਦਾ ਹੈ ਜੋ ਅਕਸਰ ਐਂਟਰਪ੍ਰਾਈਜ਼, IOT, ਅਤੇ ਵਿੰਡੋਜ਼ ਸਰਵਰ ਸੰਸਕਰਣਾਂ ‘ਤੇ ਪਾਇਆ ਜਾਂਦਾ ਹੈ।

    • ਕੰਪਿਊਟਰ ਮੈਨੇਜਮੈਂਟ ਦੇ ਤਹਿਤ ਇੱਕ ਨਵਾਂ ਖਾਤਾ ਬਣਾਓ ਅਤੇ ਜੇਕਰ ਤੁਸੀਂ ਚਾਹੋ ਤਾਂ ਇਸਨੂੰ ਪ੍ਰਸ਼ਾਸਕ ਵਜੋਂ ਸੈਟ ਕਰੋ। ਫਿਰ ਸਕ੍ਰਿਪਟ ਨੂੰ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਇਸ ਬਾਰੇ ਕੰਮ ਕਰਨ ਲਈ ਪਹਿਲੀ ਵਾਰ ਨਵੇਂ ਉਪਭੋਗਤਾ ਦੁਆਰਾ ਸਾਈਨ ਇਨ ਕਰਨ ਤੋਂ ਬਾਅਦ ਪਿਛਲੇ ਉਪਭੋਗਤਾ ਫੋਲਡਰ ਦੀਆਂ ਸਮੱਗਰੀਆਂ ਨੂੰ ਨਵੇਂ ਵਿੱਚ ਕਾਪੀ ਕਰੋ।

  • ਮਾਈਕ੍ਰੋਸਾਫਟ ਖਾਤੇ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਸਾਈਨ ਇਨ ਕਰਨਾ DoD STIG ਪ੍ਰਤੀ ਅਸਮਰੱਥ ਹੈ।

    • ਸੁਰੱਖਿਅਤ ਅਤੇ ਨਿੱਜੀ ਹੋਣ ਦੀ ਕੋਸ਼ਿਸ਼ ਕਰਦੇ ਸਮੇਂ, Microsoft ਖਾਤੇ ਰਾਹੀਂ ਆਪਣੇ ਸਥਾਨਕ ਖਾਤੇ ਵਿੱਚ ਸਾਈਨ ਇਨ ਕਰਨ ਦੀ ਸਲਾਹ ਨਹੀਂ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ। ਇਹ ਇਸ ਰੈਪੋ ਦੁਆਰਾ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਹੈ।

    • ਕੰਪਿਊਟਰ ਮੈਨੇਜਮੈਂਟ ਦੇ ਤਹਿਤ ਇੱਕ ਨਵਾਂ ਖਾਤਾ ਬਣਾਓ ਅਤੇ ਜੇਕਰ ਤੁਸੀਂ ਚਾਹੋ ਤਾਂ ਇਸਨੂੰ ਪ੍ਰਸ਼ਾਸਕ ਵਜੋਂ ਸੈਟ ਕਰੋ। ਫਿਰ ਸਕ੍ਰਿਪਟ ਨੂੰ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਇਸ ਬਾਰੇ ਕੰਮ ਕਰਨ ਲਈ ਪਹਿਲੀ ਵਾਰ ਨਵੇਂ ਉਪਭੋਗਤਾ ਦੁਆਰਾ ਸਾਈਨ ਇਨ ਕਰਨ ਤੋਂ ਬਾਅਦ ਪਿਛਲੇ ਉਪਭੋਗਤਾ ਫੋਲਡਰ ਦੀਆਂ ਸਮੱਗਰੀਆਂ ਨੂੰ ਨਵੇਂ ਵਿੱਚ ਕਾਪੀ ਕਰੋ।

  • ਖਾਤਾ ਪਿੰਨ ਪ੍ਰਤੀ DoD STIG ਅਯੋਗ ਹਨ

    • ਪਿੰਨ ਅਸੁਰੱਖਿਅਤ ਹੁੰਦੇ ਹਨ ਜਦੋਂ ਸਿਰਫ਼ ਪਾਸਵਰਡ ਦੀ ਥਾਂ ‘ਤੇ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ ਅਤੇ ਘੰਟਿਆਂ ਜਾਂ ਸੰਭਾਵਤ ਤੌਰ ‘ਤੇ ਸਕਿੰਟਾਂ ਜਾਂ ਮਿੰਟਾਂ ਵਿੱਚ ਆਸਾਨੀ ਨਾਲ ਬਾਈਪਾਸ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ

    • ਖਾਤੇ ਤੋਂ ਪਿੰਨ ਨੂੰ ਹਟਾਓ ਅਤੇ/ਜਾਂ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਤੋਂ ਬਾਅਦ ਪਾਸਵਰਡ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਸਾਈਨ ਇਨ ਕਰੋ।

  • ਬਿਟਲਾਕਰ ਡਿਫੌਲਟ ਬਦਲੇ ਗਏ ਹਨ ਅਤੇ DoD STIG ਦੇ ਕਾਰਨ ਸਖ਼ਤ ਹੋ ਗਏ ਹਨ।

    • ਬਿਟਲਾਕਰ ਨੂੰ ਕਿਵੇਂ ਲਾਗੂ ਕੀਤਾ ਜਾਂਦਾ ਹੈ, ਜਦੋਂ ਇਹ ਤਬਦੀਲੀਆਂ ਹੁੰਦੀਆਂ ਹਨ ਅਤੇ ਜੇਕਰ ਤੁਸੀਂ ਪਹਿਲਾਂ ਹੀ ਬਿਟਲਾਕਰ ਸਮਰਥਿਤ ਕੀਤਾ ਹੋਇਆ ਹੈ ਤਾਂ ਇਹ ਬਿਟਲਾਕਰ ਲਾਗੂਕਰਨ ਨੂੰ ਤੋੜ ਦੇਵੇਗਾ।

    • ਬਿਟਲੌਕਰ ਨੂੰ ਅਸਮਰੱਥ ਬਣਾਓ, ਸਕ੍ਰਿਪਟ ਚਲਾਓ, ਫਿਰ ਇਸ ਮੁੱਦੇ ਨੂੰ ਹੱਲ ਕਰਨ ਲਈ ਬਿਟਲੌਕਰ ਨੂੰ ਮੁੜ ਚਾਲੂ ਕਰੋ।

ਲੋੜਾਂ:

  • ਵਿੰਡੋਜ਼ 10/11 ਐਂਟਰਪ੍ਰਾਈਜ਼ (ਪਸੰਦੀਦਾ) ਜਾਂ ਪੇਸ਼ੇਵਰ
    • Windows 10/11 ਹੋਮ ਐਡੀਸ਼ਨ GPO ਸੰਰਚਨਾ ਦਾ ਸਮਰਥਨ ਨਹੀਂ ਕਰਦੇ ਹਨ ਅਤੇ ਟੈਸਟ ਨਹੀਂ ਕੀਤੇ ਜਾਂਦੇ ਹਨ।
    • ਵਿੰਡੋ “ਐਨ” ਐਡੀਸ਼ਨ ਦੀ ਜਾਂਚ ਨਹੀਂ ਕੀਤੀ ਜਾਂਦੀ। -[x] Standards ਇੱਕ ਬਹੁਤ ਹੀ ਸੁਰੱਖਿਅਤ Windows 10 ਡਿਵਾਈਸ ਲਈ -[x] System is fully up to date and supported
    • ਚਲਾਓ Windows Upgrade Assistant ਨਵੀਨਤਮ ਮੁੱਖ ਰੀਲੀਜ਼ ਨੂੰ ਅੱਪਡੇਟ ਕਰਨ ਅਤੇ ਤਸਦੀਕ ਕਰਨ ਲਈ।
  • ਇਸ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਾਗੂ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਬਿਟਲੌਕਰ ਨੂੰ ਮੁਅੱਤਲ ਜਾਂ ਬੰਦ ਕੀਤਾ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ, ਇਸਨੂੰ ਰੀਬੂਟ ਕਰਨ ਤੋਂ ਬਾਅਦ ਦੁਬਾਰਾ ਚਾਲੂ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ।
    • ਇਸ ਸਕ੍ਰਿਪਟ ਦੇ ਫਾਲੋ-ਅਪ ਰਨ ਬਿਟਲਾਕਰ ਨੂੰ ਅਯੋਗ ਕੀਤੇ ਬਿਨਾਂ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ।
  • ਹਾਰਡਵੇਅਰ ਲੋੜਾਂ - Hardware Requirements for Memory Integrity - Hardware Requirements for Virtualization-Based Security - Hardware Requirements for Windows Defender Application Guard - Hardware Requirements for Windows Defender Credential Guard

ਸਿਫਾਰਸ਼ੀ ਪੜ੍ਹਨ ਸਮੱਗਰੀ:

- System Guard Secure Launch - System Guard Root of Trust - Hardware-based Isolation - Memory integrity - Windows Defender Application Guard - Windows Defender Credential Guard

ਜੋੜ, ਧਿਆਨ ਦੇਣ ਯੋਗ ਤਬਦੀਲੀਆਂ, ਅਤੇ ਬੱਗ ਫਿਕਸ:

ਇਹ ਸਕ੍ਰਿਪਟ ਤੁਹਾਡੇ ਸਿਸਟਮ ‘ਤੇ ਸੈਟਿੰਗਾਂ ਨੂੰ ਜੋੜਦੀ, ਹਟਾਉਂਦੀ ਅਤੇ ਬਦਲਦੀ ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਇਸਨੂੰ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਸਕ੍ਰਿਪਟ ਦੀ ਸਮੀਖਿਆ ਕਰੋ।

ਬ੍ਰਾਊਜ਼ਰ:

  • ਬ੍ਰਾਊਜ਼ਰਾਂ ਵਿੱਚ ਗੋਪਨੀਯਤਾ ਅਤੇ ਸੁਰੱਖਿਆ ਵਿੱਚ ਸਹਾਇਤਾ ਲਈ ਵਾਧੂ ਐਕਸਟੈਂਸ਼ਨਾਂ ਸਥਾਪਤ ਕੀਤੀਆਂ ਜਾਣਗੀਆਂ।
    • ਵੇਖੋ here ਵਾਧੂ ਜਾਣਕਾਰੀ ਲਈ।
  • ਬ੍ਰਾਊਜ਼ਰਾਂ ਲਈ ਲਾਗੂ ਕੀਤੇ ਗਏ DoD STIGs ਦੇ ਕਾਰਨ, ਐਕਸਟੈਂਸ਼ਨ ਪ੍ਰਬੰਧਨ ਅਤੇ ਹੋਰ ਐਂਟਰਪ੍ਰਾਈਜ਼ ਸੈਟਿੰਗਾਂ ਸੈੱਟ ਕੀਤੀਆਂ ਗਈਆਂ ਹਨ। ਇਹਨਾਂ ਵਿਕਲਪਾਂ ਨੂੰ ਕਿਵੇਂ ਵੇਖਣਾ ਹੈ ਇਸ ਬਾਰੇ ਹਦਾਇਤਾਂ ਲਈ, ਤੁਹਾਨੂੰ ਹੇਠਾਂ ਦਿੱਤੇ GPO ਨਿਰਦੇਸ਼ਾਂ ਨੂੰ ਦੇਖਣ ਦੀ ਲੋੜ ਪਵੇਗੀ।

ਪਾਵਰਸ਼ੇਲ ਮੋਡੀਊਲ:

  • PowerShell ਨੂੰ ਵਿੰਡੋਜ਼ ਅੱਪਡੇਟ ਆਟੋਮੈਟਿਕ ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰਨ ਲਈ PSWindowsUpdate ਮੋਡੀਊਲ ਤੁਹਾਡੇ ਸਿਸਟਮ ਵਿੱਚ ਜੋੜਿਆ ਜਾਵੇਗਾ।

Microsoft ਖਾਤੇ, ਸਟੋਰ, ਜਾਂ Xbox ਸੇਵਾਵਾਂ ਨੂੰ ਠੀਕ ਕਰਨਾ:

ਇਹ ਇਸ ਲਈ ਹੈ ਕਿਉਂਕਿ ਅਸੀਂ ਮਾਈਕ੍ਰੋਸੌਫਟ ਖਾਤਿਆਂ ਵਿੱਚ ਸਾਈਨ ਇਨ ਕਰਨ ਨੂੰ ਬਲੌਕ ਕਰਦੇ ਹਾਂ। ਮਾਈਕ੍ਰੋਸਾੱਫਟ ਦੀ ਟੈਲੀਮੈਟਰੀ ਅਤੇ ਪਛਾਣ ਐਸੋਸੀਏਸ਼ਨ ਨੂੰ ਭੜਕਾਇਆ ਗਿਆ ਹੈ। ਹਾਲਾਂਕਿ, ਜੇਕਰ ਤੁਸੀਂ ਅਜੇ ਵੀ ਇਹਨਾਂ ਸੇਵਾਵਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ ਤਾਂ ਰੈਜ਼ੋਲਿਊਸ਼ਨ ਲਈ ਨਿਮਨਲਿਖਤ ਮੁੱਦੇ ਦੀਆਂ ਟਿਕਟਾਂ ਵੇਖੋ:

ਤੱਥਾਂ ਤੋਂ ਬਾਅਦ ਸਥਾਨਕ ਸਮੂਹ ਨੀਤੀ ਵਿੱਚ ਨੀਤੀਆਂ ਨੂੰ ਸੰਪਾਦਿਤ ਕਰਨਾ:

ਜੇਕਰ ਤੁਹਾਨੂੰ ਕਿਸੇ ਸੈਟਿੰਗ ਨੂੰ ਸੋਧਣ ਜਾਂ ਬਦਲਣ ਦੀ ਲੋੜ ਹੈ, ਤਾਂ ਉਹ GPO ਰਾਹੀਂ ਸੰਰਚਨਾਯੋਗ ਹਨ:

  • ਇਸ ਤੋਂ ADMX ਨੀਤੀ ਪਰਿਭਾਸ਼ਾਵਾਂ ਨੂੰ ਆਯਾਤ ਕਰੋ repo ਸਿਸਟਮ ਵਿੱਚ C:\windows\PolicyDefinitions ਜਿਸ ਨੂੰ ਤੁਸੀਂ ਸੋਧਣ ਦੀ ਕੋਸ਼ਿਸ਼ ਕਰ ਰਹੇ ਹੋ।

  • ਜਿਸ ਸਿਸਟਮ ਨੂੰ ਤੁਸੀਂ ਸੋਧਣ ਦੀ ਕੋਸ਼ਿਸ਼ ਕਰ ਰਹੇ ਹੋ ਉਸ ‘ਤੇ ‘gpedit.msc’ ਖੋਲ੍ਹੋ।

ਸਕ੍ਰਿਪਟਾਂ ਅਤੇ ਸਾਧਨਾਂ ਦੀ ਇੱਕ ਸੂਚੀ ਜੋ ਇਹ ਸੰਗ੍ਰਹਿ ਵਰਤਦਾ ਹੈ:

ਪਹਿਲੀ ਧਿਰ:

- .NET-STIG-Script - Automate-Sysmon - FireFox-STIG-Script - JAVA-STIG-Script - Standalone-Windows-STIG-Script - Windows-Defender-STIG-Script - Windows-Optimize-Debloat

ਤੀਸਰਾ ਪੱਖ:

- Cyber.mil - Group Policy Objects - Microsoft Security Compliance Toolkit 1.0 - Microsoft Sysinternals - Sysmon

STIGS/SRGs ਲਾਗੂ:

- Adobe Acrobat Pro DC Continuous V2R1 - Adobe Acrobat Reader DC Continuous V2R1 - Firefox V5R2 - Google Chrome V2R4 - Internet Explorer 11 V1R19 - Microsoft Edge V1R2 - Microsoft .Net Framework 4 V1R9 - Microsoft Office 2013 V2R1 - Microsoft Office 2016 V2R1 - Microsoft Office 2019/Office 365 Pro Plus V2R3 - Microsoft OneDrive STIG V2R1 - Oracle JRE 8 V1R5 - Windows 10 V2R2 - Windows Defender Antivirus V2R2 - Windows Firewall V1R7

ਇਸ ਤੋਂ ਵਧੀਕ ਸੰਰਚਨਾਵਾਂ ‘ਤੇ ਵਿਚਾਰ ਕੀਤਾ ਗਿਆ ਸੀ:

- BuiltByBel - PrivateZilla - CERT - IE Scripting Engine Memory Corruption - Dirteam - SSL Hardening - MelodysTweaks - Basic Tweaks - Microsoft - Managing Windows 10 Telemetry and Callbacks - Microsoft - Reduce attack surfaces with attack surface reduction rules - Microsoft - Recommended block rules - Microsoft - Recommended driver block rules - Microsoft - Specture and Meltdown Mitigations - Microsoft - Windows 10 Privacy - Microsoft - Windows 10 VDI Recomendations - Microsoft - Windows Defender Application Control - Mirinsoft - SharpApp - Mirinsoft - debotnet - NSACyber - Application Whitelisting Using Microsoft AppLocker - NSACyber - Bitlocker Guidance - NSACyber - Hardware-and-Firmware-Security-Guidance - NSACyber - Windows Secure Host Baseline - UnderGroundWires - Privacy.S**Y - Sycnex - Windows10Debloater - The-Virtual-Desktop-Team - Virtual-Desktop-Optimization-Tool - TheVDIGuys - Windows 10 VDI Optimize - VectorBCO - windows-path-enumerate - W4H4WK - Debloat Windows 10 - Whonix - Disable TCP Timestamps

ਸਕ੍ਰਿਪਟ ਨੂੰ ਕਿਵੇਂ ਚਲਾਉਣਾ ਹੈ:

GUI - ਨਿਰਦੇਸ਼ਿਤ ਸਥਾਪਨਾ:

ਨਵੀਨਤਮ ਰੀਲੀਜ਼ ਨੂੰ ਡਾਊਨਲੋਡ ਕਰੋ here ਉਹ ਵਿਕਲਪ ਚੁਣੋ ਜੋ ਤੁਸੀਂ ਚਾਹੁੰਦੇ ਹੋ ਅਤੇ ਐਗਜ਼ੀਕਿਊਟ ਦਬਾਓ। ### ਆਟੋਮੇਟਿਡ ਇੰਸਟੌਲ: ਆਟੋਮੈਟਿਕ ਡਾਊਨਲੋਡ ਕਰਨ, ਸਾਰੀਆਂ ਸਹਾਇਕ ਫਾਈਲਾਂ ਨੂੰ ਅਨਜ਼ਿਪ ਕਰਨ ਅਤੇ ਸਕ੍ਰਿਪਟ ਦੇ ਨਵੀਨਤਮ ਸੰਸਕਰਣ ਨੂੰ ਚਲਾਉਣ ਲਈ ਇਸ ਵਨ-ਲਾਈਨਰ ਦੀ ਵਰਤੋਂ ਕਰੋ।```powershell iwr -useb ‘ https://simeononsecurity.com/scripts/windowsoptimizeandharden.ps1' |iex


<img src="https://raw.githubusercontent.com/simeononsecurity/Windows-Optimize-Harden-Debloat/master/.github/images/w10automatic.gif" alt="Example of 
Windows-Optimize-Harden-Debloat automatic install">

### Manual Install:

If manually downloaded, the script must be launched from an administrative powershell in the directory containing all the files from the [GitHub Repository](https://github.com/simeononsecurity/Windows-Optimize-Harden-Debloat)

The script "sos-optimize-windows.ps1" includes several parameters that allow for customization of the optimization process. Each parameter is a boolean value that defaults to true if not specified.

- **cleargpos**: Clears Group Policy Objects settings.
- **installupdates**: Installs updates to the system.
- **adobe**: Implements the Adobe Acrobat Reader STIGs.
- **firefox**: Implements the FireFox STIG.
- **chrome**: Implements the Google Chrome STIG.
- **IE11**: Implements the Internet Explorer 11 STIG.
- **edge**: Implements the Microsoft Chromium Edge STIG.
- **dotnet**: Implements the Dot Net 4 STIG.
- **office**: Implements the Microsoft Office Related STIGs.
- **onedrive**: Implements the Onedrive STIGs.
- **java**: Implements the Oracle Java JRE 8 STIG.
- **windows**: Implements the Windows Desktop STIGs.
- **defender**: Implements the Windows Defender STIG.
- **firewall**: Implements the Windows Firewall STIG.
- **mitigations**: Implements General Best Practice Mitigations.
- **defenderhardening**: Implements and Hardens Windows Defender Beyond STIG Requirements.
- **pshardening**: Implements PowerShell Hardening and Logging.
- **sslhardening**: Implements SSL Hardening.
- **smbhardening**: Hardens SMB Client and Server Settings.
- **applockerhardening**: Installs and Configures Applocker (In Audit Only Mode).
- **bitlockerhardening**: Harden Bitlocker Implementation.
- **removebloatware**: Removes unnecessary programs and features from the system.
- **disabletelemetry**: Disables data collection and telemetry.
- **privacy**: Makes changes to improve privacy.
- **imagecleanup**: Cleans up unneeded files from the system.
- **nessusPID**: Resolves Unquoted System Strings in Path.
- **sysmon**: Installs and configures sysmon to improve auditing capabilities.
- **diskcompression**: Compresses the system disk.
- **emet**: Implements STIG Requirements and Hardening for EMET on Windows 7 Systems.
- **updatemanagement**: Changes the way updates are managed and improved on the system.
- **deviceguard**: Enables Device Guard Hardening.
- **sosbrowsers**: Optimizes the system's web browsers.

An example of how to launch the script with specific parameters would be:

```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Get-ChildItem -Recurse *.ps1 | Unblock-File
powershell.exe -ExecutionPolicy ByPass -File .\sos-optimize-windows.ps1 -cleargpos:$false -installupdates:$false