From a installed and running Windows computer you can extract all the drivers to be used on another computer or saved for re-installation. Use Powershell and this command,
Export-WindowsDriver -Destination "C:\Drivers\$((Get-WmiObject -Class win32_computersystem).Model)" -Online
Monday, December 3, 2018
Monday, October 29, 2018
Skype 8 auto update workaround
%appdata%\Roaming\Microsoft\Skype for Desktop
Delete or rename the Skype-Setup.exe file and create a folder with that name
Delete or rename the Skype-Setup.exe file and create a folder with that name
Tuesday, September 18, 2018
Windows 10 Apps
List of provisioned apps
Get-AppXProvisionedPackage -Online | Select PackageName
Remove an app
Remove-AppXProvisionedPackage -Online -PackageName <PackageName>
Remove all provisioned apps
Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online
Get-AppXProvisionedPackage -Online | Select PackageName
Remove an app
Remove-AppXProvisionedPackage -Online -PackageName <PackageName>
Remove all provisioned apps
Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online
Wednesday, August 15, 2018
Migrate DHCP from 2008R2 to 2016
- On new 2016 server add the DHCP role, but do not configure it yet
- Export the DHCP configuration from the 2008R2 server. On the 2008R2 server open Powershell (run as administrator) and enter,
netsh DHCP server export C:\dhcp-export.txt
- copy the exported text file to the new 2016 server
- Import the DHCP configuration into the 2016 server. On 2016 server open Powershell (run as administrator) and enter,
netsh DHCP server import C:\dhcp-export.txt
- Start Server Manager, Tools menu, select DHCP. Right click your server and Authorize
- Check the new DHCP, it should have the same configuration as the old one
The DHCP on the old 2008R2 will be deactivated automatically using this process. You can safely remove the DHCP role from the old server at this point.
- Export the DHCP configuration from the 2008R2 server. On the 2008R2 server open Powershell (run as administrator) and enter,
netsh DHCP server export C:\dhcp-export.txt
- copy the exported text file to the new 2016 server
- Import the DHCP configuration into the 2016 server. On 2016 server open Powershell (run as administrator) and enter,
netsh DHCP server import C:\dhcp-export.txt
- Start Server Manager, Tools menu, select DHCP. Right click your server and Authorize
- Check the new DHCP, it should have the same configuration as the old one
The DHCP on the old 2008R2 will be deactivated automatically using this process. You can safely remove the DHCP role from the old server at this point.
Thursday, July 26, 2018
Rename Domain Controller 2012/2016
How to change domain controller name.
oldname.domain.local change to newname.domain.local1. open command prompt
2. add an alternative computer name
netdom computername oldname.domain.local /add:newname.domain.local
3. make new name the primary name
netdom computername oldname.domain.local /makeprimary:newname.domain.local
4. reboot
5. best to check if the new name was successful, check your system properties
6. remove old name
netdom computername newname.domain.local /remove:oldname.domain.local
Subscribe to:
Comments (Atom)