Windows
Windows 10 + .Net 3.5 install issue
Following command can be used to install .NET 3.5 on Windows 10 without internet connection: Dism.exe /online /enable-feature /featurename:NetFX3 /source:F:\sources\sxs /LimitAccess Where, F: is your installation media. Also, there’s tool to install .NET 3.5 offline from your existing Windows 10 installation media: http://www.techgainer.com/tools/net-framework-3-5-offline-installer-windows-10-8-x/ Source: http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/how-to-instal-net-framework-35-on-windows-10/450b3ba6-4d19-45ae-840e-78519f36d7a4
Logoff inactive users
The first variant: use winexit.scr from Windows 2003 Toolkit. The minus: it doesn’t help if a user lock his account and another user is switched. The plus: there is an announcement and countdown. The worked solution: use iddlelogoff.exe from Intelliadmin (free): Download http://www.intelliadmin.com/idlelogoff.exe Open Group Policy Managment console and create a new policy for an […]
Powershell + turn on system protection
enable-computerrestore -drive “c:\” vssadmin resize shadowstorage /on=c: /for=c: /maxsize=3%
Create UEFI booting flash
run diskpart and: select disk N clean create partition primary format fs=fat32 quick active assign list volume exit Copy Win10 files from ISO to flashdrive.
Powershell + Remote
Run powershell on the remote PC and run it: Enable-PSRemoting -Force Set-Item wsman:\localhost\client\trustedhosts * Restart-Service WinRM Test the connection from the local PC: Test-WsMan COMPUTERNAME Run the remote command: Invoke-Command -ComputerName COMPUTERNAME -ScriptBlock { COMMAND } -credential USERNAME
Get-ADUser scripts
Get users with the specified manager: Get-ADUser -Filter { Manager -eq “CN=Ivan Ivanov,OU=Users,DC=contoso,DC=com” } -Properties Mal, Title | ft Name, Title Do not forget to run before: import-module ActiveDirectory Get info about users which are in the group: Get-ADGroupMember groupname | Get-ADUser -Properties Name, Title | ft Name, Title
Certificate + Add a private key
Copy-pasted from: http://www.entrust.net/knowledge-base/technote.cfm?tn=7905 Entrust Certificate Services Support Knowledge Base Audience: General Last Modified: 2011-01-18 08:42:02.0 TN 7905 – What are the steps to recover the private key of an SSL certificate in an IIS environment? Problem: The SSL certificate is installed but the private key is missing. What are the steps to recover the private […]
WSUS + Repairing
You can try to connect to Windows Internal Database with SQL manager(run as admin) by \\.\pipe\MICROSOFT##WID\tsql\query link. In my case I found SUSDB with Pending repairing status. I took it offline and then online after 2-3 attempts. I could backup it and shrink but this didn’t help – the DB was about 6Gb. So I […]
Sysprep your Windows OS for more than 3 times
Copy-pasted from: http://system-center.me/miscellaneous/sysprep-your-windows-os-for-more-then-3-times/ It can happen, the need of re-syspreping an already syspreped machine, why ? maybe you lost your Image master. so.. you running the setup process, adding the changes you want, relocating the XML answerfile, running the sysprep with /generalize switch.. the process is running for few seconds and then the sysprep window is […]