Homepage 2017-10-31T20:08:01+00:00

SCCM: Download and install latest Window Defender definitions

In this blog post i want to share a simple method to make sure,that your SCCM clients install the latest release Windows Defender Definitions. If you have a world wide SCCM environment with many offices where there is high latency or low bandwidth, it can be a pain in the *** to keep distribution point up-to-date with latest Windows Defender Definitions. This is do to Microsoft is releasing new Anti-virus Definitions multiple times a day. If you have to keep with the latest versions, you would constantly have a new release filling up the distribution queue. Besides that you would [...]

PowerShell: Enable Remote Registry on Remote Computer

This is a simple PowerShell script that will enable remote registry on a remote computer. This script will make changes to RemoteRegistry service on remote a selected remote computer. It will set the service as running with the startuptype to manual, so the RemoteRegistry service will not automatically start when computer is restarted. This change makes it possible to navigate a remote computers registry from regedit $ComputerName = "PCXXXXX" Set-service -ComputerName $ComputerName -Name RemoteRegistry -Status Running -StartupType Manual -ErrorAction stop The PowerShell script below is pretty much the same as above. But there is build some more Intelligence [...]

PowerShell: Map Network drive as different user

This is a simple PowerShell script that will make it easy to map a network drive as a different user. Before running the script below in PowerShell you need to change the following: If needed change -Name "Z" to another drive letter Replace \\REMOTESERVER\SHARE with the share path you want mapped Replace DOMAINNAME with your domain name After you correctly change the script as described, you should be good to go. Run the script and it will ask you to type in the username of the different user you want to use. $Username = Read-Host -Prompt 'Type Username' #$Password = Read-Host [...]

PowerShell: Export drivers from Windows

This is a very simple PowerShell script, but I found it very handy. I normally use this export/backup method when i need to make sure drivers are the same after reinstallation, or when i need to backup OEM machine before testing and staging them. Hopefully this is something you will find useful to.  If you ever need to restore/load these drivers into Windows again, you can use this method: http://www.vislo.dk/driver-backup-windows-10/ This is in Danish, but Google Translate should make it very easy to read :). Export-WindowsDriver -Destination "c:\drivers\$((Get-WmiObject -Class win32_computersystem).Model)" -Online

Recent Comments