Just to remind myself, that it is possible via command line:
Windows Server 2008 R2 SP1, Windows 8, 7, Vista:
DISM /online /Cleanup-Image /SpSuperseded
http://technet.microsoft.com/en-us/library/dn251565.aspx
Thanks to Martin Zeleny for advice!
Just to remind myself, that it is possible via command line:
Windows Server 2008 R2 SP1, Windows 8, 7, Vista:
DISM /online /Cleanup-Image /SpSuperseded
http://technet.microsoft.com/en-us/library/dn251565.aspx
Thanks to Martin Zeleny for advice!
Default temp location is C:\Windows\Temp or %SystemRoot%\TEMP.
The location can be changed via GUI or PowerShell:
Set-ItemProperty -path "HKLM:System\CurrentControlSet\Control\Session Manager\Environment" -name TEMP "C:\TEMP" Set-ItemProperty -path "HKLM:System\CurrentControlSet\Control\Session Manager\Environment" -name TMP "C:\TEMP"
Tip: How to disable the UAC in Windows Server 2012?
Windows Server 2012: Deactivating UAC
PS C:\> $RegKey = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system" PS C:\> Set-ItemProperty -path $RegKey -name EnableLUA -value 0
You will get a notification that a reboot is required.
Set-ItemProperty -path "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system" -name EnableLUA -value 0
Why not mention this error:
The trust relationship between this workstation and the primary domain failed.
Each Windows-based computer maintains a machine account password history that contains the current and previous passwords that are used for the account. When two computers try to authenticate with each other and the computers involved may not be able to communicate. You may receive error messages: The trust relationship between this workstation and the primary domain failed. (http://support.microsoft.com/kb/325850/en-us)
Do not rejoin to fix: The Implbits team blog
Fix:
PS C:\> netdom resetpwd /s:exchs01 /ud:exlab\Admin /pd:Nederland*1 The machine account password for the local machine has been successfully reset. The command completed successfully. PS C:\>