MS Windows

Windows Installer

Windows Installer V5.0.7600.16385
msiexec /Option Product.msi (Optional Parameter)

Example:
msiexec.exe /i Product.msi /q

You can control the install directory by passing it as a parameter to the install.
For example, to install to e:\SomeDirectory
msiexec.exe /i Product.msi /q INSTALLDIR=e:\SomeDirectory

Display Options:
/quiet – Quiet mode, no user interaction
/passive – Unattended mode – progress bar only
/q[n|b|r|f] – Sets user interface level
n – No UI
b – Basic UI
r – Reduced UI
f – Full UI (default)
/help – Help information

Be the first to comment  Posted by Ferdy - September 27, 2011

Categories: MS Windows   Tags:

Windows Server 2008 Core Configurations

Commands to configure Server Core in cmd.exe

To configure: Domain or Workgroup, Computer Name,
Remote Desktop, and Network Settings (screen shot below).
Run Server Configuration:
sconfig

To Disable error reporting:
serverWerOptin /disable

To Disable Participate in the Customer Experience
Improvement Program (CEIP):
serverCEIPOptin /disable

To install update:
wusa update.msu /quiet

To List installed updates:
systeminfo

Set the local administrative password:
net user administrator *

Add a user to the local Administrators group:
net localgroup Administrators /add domain\username

Add a user to the local computer:
net user /add *

To change password complexity:
secedit /export /cfg C:\new.cfg
where new.cfg is whatever name you want
Edit new.cfg and change “PasswordComplexity = 1” to “PasswordComplexity = 0
secedit /configure /db C:\Windows\security\new.sdb /cfg C:\new.cfg /areas SECURITYPOLICY

To change the Windows Resolution:
regedit
HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Video
Select the key that contains “VolatileSettings”

##### Roles #####

To install the Hyper-V role:
Dism /online /enable-feature /featurename:Microsoft-Hyper-V
To manage Hyper-V, use the Remote Server Administration Tools (RSAT)
feature in Windows Server 2008 R2 and Windows 7

To install the Web Server role (IIS):
start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel

Be the first to comment  Posted by Ferdy - July 29, 2011

Categories: Windows Server   Tags:

Windows Prefetch

The prefetch folder is located in:
C:\Windows\prefetch
Delete the files in the prefetch folder.

To Configure Prefetch, edit the Windows registry:

regedit

Edit the following Regsitry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters

In the right-pane, edit “EnablePrefetcher”.
Options:
0 – Disable Prefetch in Windows
1 – Prefetch only Application Lauunch files
2 – Prefetch only Boot files
3 – Prefetch all

Reboot the system for the changes to take effect.

 

Be the first to comment  Posted by Ferdy - June 24, 2011

Categories: MS Windows   Tags:

Next Page »