Tuesday, March 27, 2012
Windows Server 2008 R2: KMS for Windows and Office
KMS for OfficeOffice 2010
-Download the KeyManagementServiceHost.exe
-Open KeyManagementServiceHost.exe
-Type in the KMS key
Client VL for Win 7
Vista Business / Vista Enterprise, Win7 Professional / Win7 Enterprise
KMS A
Windows Web Server 2008 / Windows Server 2008 HPC Edition / Client VL
KMS B
Windows Server 2008 Standard / Windows Server 2008 Enterprise / Client VL
KMS C
Windows Server 2008 Datacenter /Windows Server 2008 für Itanium-based Systems / Client VL
Showing status for Office only:
slmgr.vbs /dlv bfe7a195-4f8f-4f0b-a622-cf13c7d16864
KMS for Windows
Type in the KMS key with the paramaeter:
slmgr.vbs /ipk 12345-12345-12345-12345-12345
Activate the KMS key:
slmgr.vbs /ato
Showing status for Windows KMS Hosts:
slmgr.vbs /dlv
slmgr.vbs /dlv all
You can also check the KMS Events in the Eventviewer:
Monday, March 26, 2012
WDS: Integrate a languagepack with DSIM
Showing the index you have to use!
Dism /get-wiminfo /wimfile:C:\images\Win7.Ent.EN-EN.WIM
Dism /Mount-WIM /WimFile:C:\Images\Win7.Ent.EN-EN.WIM /Index:"1" /MountDir:C:\mount
Now download the language pack you want to integrate and create a directory C:\Scratch, because the files have to save temporally.
Dism /Image:C:\mount /ScratchDir:C:\Scratch /add-package /packagepath:C:\Languagepacks\lpGER.cab
Command to show information about the installed language packs.
Dism /Image:C:\mount /get-Intl
Optional you can add some other Language Packages, if you want.
To save the changes you have to unmount the Image.
Dism /Unmount-WIM /MountDir:C:\mount /Commit
------------------------------------------------------------------------------------------------------------
Set a standard Input System and User-Locale in the XML file
For a standard Input-, System- and User-Locale edit the ImageUnattend.xml:
For German 32bit
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>de-DE; en-US</InputLocale>
<SystemLocale>de-DE</SystemLocale>
<UserLocale>de-DE</UserLocale>
</component>
For English 32bit
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-US; de-DE</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UserLocale>en-US</UserLocale>
</component>
WDS: Integrate a hotfix using DSIM
1.Check Index of the wim file
Dism /get-wiminfo /wimfile:c:\images\install.WIM
2.Mount image
Dism /mount-wim /wimfile:c:\images\install.wim /mountdir:c:\mount /index:1
3.Expand the Hotfix with 7zip and extract the cab file


4.Add the cab file to the wim
Dism /image:c:\images\install.wim /add-package /Packagepath:c:\hotfix\Windows6.1-KB2028749-x86.cab
5.Unmount image and commit changes
Dism /unmount-wim /mountdir:c:\mount /Commit
AD: MSI Software Rollout via GPO with groups
In ADUC
Create a global group named "GG-Workstations Department X"
Create a local group in ADUC named "LG-Software XY 9.1.0" and add it to "GG-Workstations Department X"
Add the local group "LG-Software XY 9.1.0" to the Software folder.
In GPO management
Create a gpo for the Software and link it to the right OU
Under tab Scope, Security Filtering and Remove Authenticated Users and add the local group
Right click on the policy and click Edit
Expand Computer Management>Policies>Software Settinsgs>Software installation
Right click Software installation click New> package
Browse to the package
Click Advanced
General Tab: Type in the Software Name, Version, language and location
Deployment: Set "Uninstall this application when it falls ou of the scope of management", Click Advanced and set "Ignore language when deploying this package"
Modifications: For MST files
Security: Remove Authenticated users(Click Advanced,Choose Authenticated Users and deselect Include inheritable… Click Add, After this Aplly and click Yes), add the local group
ADUC: Additional account info in Active Directory Users and Computers
Hi guys,
for getting additional account info in ADUC following the following steps:
Downloading the files:
-acctinfo.dll
-lockoutstatus.exe
Create a shortcut for ADUC runs in 32bit context:
For 32bit using the following cmd
@echo off
echo This program will register the Acctinfo tab Add-on to AD Users and Computers and integrate the lockoutstatus.exe hf TIM
echo.
xcopy lockoutstatus.exe "%systemroot%\system32\" /e /y > nul:
xcopy acctinfo.dll "%systemroot%\system32\" /e /y > nul:
regsvr32 "%systemroot%\system32\acctinfo.dll" /s
exit
For 64bit using this
@echo off
echo This program will register the Acctinfo tab Add-on to AD Users and Computers and integrate the lockoutstatus.exe hf TIM
echo.
xcopy dsa32.lnk "%systemdrive%\Users\%username%\desktop\" > nul:
xcopy lockoutstatus.exe "%systemroot%\syswow64\"/e /y > nul:
xcopy acctinfo.dll "%systemroot%\syswow64\" /e /y > nul:
regsvr32 "%systemroot%\syswow64\acctinfo.dll" /s
exit
for getting additional account info in ADUC following the following steps:
Downloading the files:
-acctinfo.dll
-lockoutstatus.exe
Create a shortcut for ADUC runs in 32bit context:
Save the files to the same location.
For 32bit using the following cmd
@echo off
echo This program will register the Acctinfo tab Add-on to AD Users and Computers and integrate the lockoutstatus.exe hf TIM
echo.
xcopy lockoutstatus.exe "%systemroot%\system32\" /e /y > nul:
xcopy acctinfo.dll "%systemroot%\system32\" /e /y > nul:
regsvr32 "%systemroot%\system32\acctinfo.dll" /s
exit
For 64bit using this
@echo off
echo This program will register the Acctinfo tab Add-on to AD Users and Computers and integrate the lockoutstatus.exe hf TIM
echo.
xcopy dsa32.lnk "%systemdrive%\Users\%username%\desktop\" > nul:
xcopy lockoutstatus.exe "%systemroot%\syswow64\"/e /y > nul:
xcopy acctinfo.dll "%systemroot%\syswow64\" /e /y > nul:
regsvr32 "%systemroot%\syswow64\acctinfo.dll" /s
exit
After you run the cmd restart ADUC and it will give you a new tab:
Subscribe to:
Posts (Atom)


