Skip to content

Instantly share code, notes, and snippets.

View john-clark's full-sized avatar
🛸
Out there

John Clark john-clark

🛸
Out there
View GitHub Profile
@jhochwald
jhochwald / Office2016_TelemetrySettings.ps1
Created November 26, 2016 14:26
Disable Office Telemetry Agent and other data collection and Block Macros in files downloaded from the Internet.
#requires -Version 1.0
<#
.SYNOPSIS
Disable Office Telemetry Agent and other data collection
.DESCRIPTION
Disable Office Telemetry Agent and other data collection and Block Macros in files downloaded from the Internet.
Makes Office less spying on us...
@LordJZ
LordJZ / Windows 10.bat
Created August 24, 2015 17:37
Windows 10 tweaks
sc delete DiagTrack
sc delete dmwappushservice
sc config diagnosticshub.standardcollector.service start= disabled
sc config WMPNetworkSvc start= disabled
sc config AdobeARMservice start= disabled
schtasks /Change /DISABLE /TN "Adobe Acrobat Update Task"
@thoroc
thoroc / Debloat-Windows10.ps1
Created August 18, 2015 14:46
Windows 10 PowerShell script to disable E.T. features ....
<#
NAME
Debloat-Windows10.ps1
DESCRIPTION
Debloats and customizes Windows 10 Enterprise N LTSB.
It changes your privacy options in the settings app and disables scheduled tasks and services that are there
to gather information about you. It also tweaks the registry to customize settings, make your font display properly
on DPI scaling 125% and disable OneDrive completely. Windows Features are also disabled, such as Internet Explorer
and XPS Viewer, while others are enabled such as .NET framework 3.5. On top of it all, it appends new lines to your
hosts file that block Microsoft from collecting data on you, as well as enables or disables local policies to
@altrive
altrive / CreateNanoServerVHD.ps1
Last active October 11, 2016 16:10
Create Nano Server VHDX file from WIM
#Requires -RunAsAdministrator
#Requires -Version 3.0
#References:
#Getting Started with Nano Server <https://technet.microsoft.com/en-us/library/mt126167.aspx>
#Quick Guide - Deploying Nano Server using PowerShell <http://deploymentresearch.com/Research/Post/479/Quick-Guide-Deploying-Nano-Server-using-PowerShell>
param (
#[ValidateScript({ Test-Path $_ })]
$ConvertWindowsImageScriptPath = 'D:\work\NanoServerSetup\Convert-WindowsImage.ps1'
@RadAd
RadAd / Steam Launcher
Last active August 3, 2022 04:52
Mini steam grid launcher
A launcher for your steam games.
var Cleaner = {
run: function(from, to, interval) {
var fso = new ActiveXObject("Scripting.FileSystemObject");
var iter = new Enumerator(from.files);
var ATTR_HIDDEN = 2;
var ATTR_ALIAS = 64;
// WScript.Echo(recycle);
var now = new Date();
var limit = new Date();
limit.setTime(now.getTime() - interval * 24 * 60 * 60 * 1000);