Giter Club home page Giter Club logo

win10script's People

Contributors

madbomb122 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

win10script's Issues

Telemetry Issue

Disabling Telemetry = Enabling
Enabling Telemetry = Disabling

Enable-ScheduledTask -TaskName 'Microsoft\Windows\Customer Experience Improvement Program\Consolidator' | Out-Null

Cortana registry HKCU changing i believe is wrong

Is there something wrong with this part of the script?

The toggles between Cortana enabling or disabling are change some another registries(Ink & Pen) but not affecting Cortana

If($Cortana -eq 0) {
	If($ShowSkipped -eq 1){ DisplayOut 'Skipping Cortana...' -C 15 }
} ElseIf($Cortana -eq 1) {
	DisplayOut 'Enabling Cortana...' -C 11
	$Path = 'HKCU:\SOFTWARE\Microsoft\InputPersonalization'
	Remove-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Personalization\Settings' -Name 'AcceptedPrivacyPolicy'
	Remove-ItemProperty -Path "$Path\TrainedDataStore" -Name 'HarvestContacts'
	Set-ItemProperty -Path $Path -Name 'RestrictImplicitTextCollection' -Type DWord -Value 0
	Set-ItemProperty -Path $Path -Name 'RestrictImplicitInkCollection' -Type DWord -Value 0
} ElseIf($Cortana -eq 2) {
	DisplayOut 'Disabling Cortana...' -C 12
	$Path = CheckSetPath 'HKCU:\SOFTWARE\Microsoft\Personalization\Settings'
	Set-ItemProperty -Path $Path -Name 'AcceptedPrivacyPolicy' -Type DWord -Value 0
	$Path = CheckSetPath 'HKCU:\SOFTWARE\Microsoft\InputPersonalization'
	Set-ItemProperty -Path $Path -Name 'RestrictImplicitTextCollection' -Type DWord -Value 1
	Set-ItemProperty -Path $Path -Name 'RestrictImplicitInkCollection' -Type DWord -Value 1
	$Path = CheckSetPath "$Path\TrainedDataStore"
	Set-ItemProperty -Path $Path -Name 'HarvestContacts' -Type DWord -Value 0
}

I've found some Cortana HKCU registries that the script doesnt change:
"CortanaEnabled"
"CanCortanaBeEnabled"
"DeviceHistoryEnabled"
"CortanaConsent"
"CortanaInAmbientMode"
"BingSearchEnabled"
"VoiceActivationEnableAboveLockscreen"
"HistoryViewEnabled"

This PC icons keep disappearing after reboot

Describe the bug
On a fresh Windows 10 install I selected "Show/Add" for all of the folders under "This PC". After I click run, before it reboots, I can see the icons when I open File Explorer. But after reboot the icons disappear again.

To Reproduce
Steps to reproduce the behavior:

  1. Select "Show/Add" for all of the folders under "This PC"
  2. Run

Expected behavior
Icons should show when in File Explorer

Screenshots
https://i.stack.imgur.com/XAOW2.png

Desktop (please complete the following information):

  • Windows 10 Home
  • Version 1803
  • Build 17134.472

Additional context

  • Script Version: 3.6.5
  • Release Type: Stable

Put Additional Apps you want script to remove here!!

If you want me to put an App that can be 'Hide/Unhide/Uninstall' using my script please do the following

Give me the result of the following in powershell

$pkgname='NAME OF APP HERE'
(Get-AppxPackage "*$pkgname*").Name

and the name of what the app is called.

Example:

$pkgname='Netflix'
(Get-AppxPackage "*$pkgname*").Name

will return 4DF9E0F8.Netflix

so for the above example you reply with
4DF9E0F8.Netflix
Netflix

Please ONLY put apps that are installed on new install/computers and are NOT OEM apps (like dell, hp, etc)

Infinite loop 'Disabling Share/Share with'

Tested: v.3.5.0

Offending line:

Set-ItemProperty -LiteralPath 'HKCR:\*\shellex\ContextMenuHandlers\Sharing' -Name '(Default)' -Type String -Value ''

but the last one works fine:

Set-ItemProperty -Path 'HKCR:\*\shellex\ContextMenuHandlers\ModernSharing' -Name '(Default)' -Type String -Value ''

Windows 10 Pro 1803

Thanks for your awesome work!

Additional Security Options

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

Thanks for this project, there are a couple of options I would like to additionally be able to configure.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I would like to have control over the following windows options:

Enable the screensaver.
Set the screensaver wait time.
Prompt and set local account password
Prompt login with password after resume from screensaver

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Ideally this would help in locking down the PC.

Endless loop when selecting to Show Task Manager

Hi, just wanted to drop a quick note. I'm far from an expert powershell guru, but I did run across something that the script was not doing properly.

When selecting the option to show the task manager, it gets stuck in an endless loop while waiting for a value to show up that just won't ever.

Lines 2060 and 2065 (Script version 3.2.8 end with piping the output of the variable assignment to Out-Null. So the variable ends up with a null value.

Removing the pipe to null solves the problem.

Before:

$TaskManKey = Get-ItemProperty -Path $Path -Name "Preferences" | Out-Null
If(!($TaskManKey)) {
	$taskmgr = Start-Process -WindowStyle Hidden -FilePath taskmgr.exe -PassThru
	While(!($TaskManKey)) {
		Start-Sleep -m 250
		$TaskManKey = Get-ItemProperty -Path $Path -Name "Preferences" | Out-Null
	}

After:

$TaskManKey = Get-ItemProperty -Path $Path -Name "Preferences"
If(!($TaskManKey)) {
	$taskmgr = Start-Process -WindowStyle Hidden -FilePath taskmgr.exe -PassThru
	While(!($TaskManKey)) {
		Start-Sleep -m 250
		$TaskManKey = Get-ItemProperty -Path $Path -Name "Preferences"
	}

Like I said, I'm still at an intermediate level with Powershell, so if my thoughts are wrong, please let me know. Otherwise, I hope I helped.

-- David

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.