Category: Windows 7

Enable Windows 7 Features through Group Policy

By Ward, July 21, 2010

I love . But there is one thing a hate about .
There is no nice way to enable Features trough Group Policy.

So I created a small visual basis script that i used as a startup script.

It checks if adsnapins.txt exist in the program files files. If exsist do nothing if it don’t exsist enable the feature.

Windows7ADSnapIns.vbs

‘Installeerd AD Management Snapins.
’13-07-2010 Ward Vissers

Set fso = CreateObject("Scripting.FileSystemObject")

If Not (fso.FileExists("C:\Program Files\adsnapins.txt")) Then
    Dim Wsh
    Set wsh = CreateObject("WScript.Shell")
    wsh.run "dism /online /enable-feature /featurename:RemoteServerAdministrationTools", ,
    wsh.run "dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles", ,
    wsh.run "dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD", ,
    wsh.run "dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS", ,
    wsh.run "dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns", ,
    fso.CopyFile "\\ad.local\afs\install\Windows7Feature\adsnapins.txt", "C:\Program Files\adsnapins.txt"

End If

Set fso = Nothing

Post to Twitter

Related posts

When trying to activate you get 0xC004F074 with description "The Key Management Server (KMS) is unavailable"

By Ward, May 25, 2010

Error:
image

The KMS host that is used is very probably a Server 2008 KMS host that cannot standard activate and machines.

When you do not have Server KMS host key have then you must have a Volume License agreement so that your request your and R2 kms keys.

Resolution

Step :
-If the KMS host a Server 2003 SP2 machine is you have the update from the KB article KB968915 install and restart the machine.
-If the KMS host a Server 2008 SP2 machine is you have the update from the KB article KB968912 install and start the new machine.
-If the KMS host one Server machine is you have to install any further update.

Step 2:
You the new KMS host key import now. The commands are as follows:

. Uninstall KMS license Key on host – slmgr.vbs /upk

2. Install Server KMS license key – slmgr.vbs /ipk <Your Key>

3. Activate KMS server online: slmgr.vbs /ato

4. Net Stop slsvc

5. Net Start slsvc

The clients can now activate

Post to Twitter

Related posts

Windows 7 Sysprep

By Ward, March 3, 2010

Benodigdheden:

Laatste versie van WAIK : KB3AIK_EN.iso Version 1.0
7 Machine

ISO of DVD van 7 (x86 of x64)

. Open System Image Manager
clip_image002

2. Open de install_Windows 7 ENTERPRISE.clg deze vindt op DVD/ISO onder Sources
clip_image004

3. Ga naar File New Answer File
clip_image006

4. Ga naar File à Save Answer File à Ik noem bestand het unattend.xmlclip_image008

5. Overzicht instellingen

Overzicht instellingen
WindowsPE

Niks

2 OfflineServicing

Niks

3 Generalize

Niks
4 Specialize

x86_Microsoft--Security-SLC-UX_neutral

SkipAutoActivation: true

X86_Microsoft--Shell-Setup_neutral

Computer Name: * (Randomly generated name, use this to test)
CopyProfile: false (Werkt niet)
Registered Organization: (laten staan)
Registered Owner: AutoBVT (laten staan)
ShowWindowsLive: false
TimeZone: W. Europe Standard Time

5 AuditSystem

Niks

6 AuditUser

Niks

7 OobeSystem

x86_Microsoft--International-Core_neutral

InputLocale: nl-us
SystemLocale: nl-us
UILanguage: nl-us
UserLocale: nl-us

x86_Microsoft--Shell-Setup_neutral

RegisteredOrganization: Bedrijfsnaam
RegisteredOwner: Bedrijfsnaam

x86_Microsoft--Shell-Setup_neutral component à OOBE:

HideEULAPage true
NetworkLocation: Work
ProtectYourPC:

6. Overzicht
clip_image010

7. Disable Media Player Networking Sharing Service

8. Zorg dat je geen overbodige Partitie’s hebt zoals oude recovery partitie

9. CMD prompt als administrator: net user administrator /active:yes

10. Kopieer unattend.xml naar C:\\system32\sysprep. Even show hidden files & system files aan zetten.

11. Open command prompt en ga naar C:\\system32\sysprep

12. Voer het volgende commando in: sysprep /generalize /oobe /shutdown /unattend unattend.xml

Post to Twitter

Related posts

Windows 7 Group Policy preferences printers Acces Denied Error

By Ward, February 5, 2010

Error bij het deployen van printers

user settings 

Vinkje zetten bij Run in logged-on user’s security context (user policy option)

image 
Nu wordt de printer netjes gecreëerd onder user account

Post to Twitter

Related posts

Windows 7 GPO Wallpaper

By Ward, February 2, 2010

heeft een bug met het zetten van een Wallpaper in een gpo.
Hiervoor heb je twee oplossingen

Oplossing
Onder Group Policy Preferences moet je een registry key aanmaken met daarin de link naar de achtergrond.

image

en tevens moet ook nog de volgende policy ingesteld worden

image image

Oplossing 2:
Is het vervangen van default achtergrond die heeft en gelinkt wordt wanneer een nieuwe user op de desbetreffende pc inlogt. Dit scriptje heb ik in MDT gehangen.

Scriptje:
takeown /F c:\\Web\Wallpaper\\img0.jpg
echo y| cacls c:\\Web\Wallpaper\\img0.jpg /E /G "administrator":F
echo y| cacls c:\\Web\Wallpaper\\img0.jpg /E /G "users":R
copy "Z:\Applications\\img0.jpg" "c:\\Web\Wallpaper\\img0.jpg" /Y

Post to Twitter

Related posts

Windows 7 disable UAC in Group Policy

By Ward, January 15, 2010

Computer Configuration -> Settings -> Security Settings -> Local Policies -> Security Options

User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode
Value:  Elevate without prompt

User Account Control: Detect application installations and prompt for elevation
Value: Disabled

User Account Control: Run all administrators in Admin Approval Mode
Value: Disabled

image

Post to Twitter

Related posts

Windows 7 Do you trust this printer

By Ward, January 15, 2010

Oplossing:

User Configuration > Policies > Administrative Templates > Control Panel/Printers > Point and Print Restrictions

When installing drivers for a new connection => Do not show warning or elevation prompt
When installing drivers for an existing connection => Do not show warning or elevation prompt

image

LET OP: De volgende policy is alleen te zien met de Group Policy Management Console (GPMC) welke in Server zit.

Computer Configuration > Policies > Administrative Templates > Printers > Point and Print Restrictions

When installing drivers for a new connection => Do not show warning or elevation prompt
When installing drivers for an existing connection => Do not show warning or elevation prompt
image
BRON

Post to Twitter

Related posts

Installeren Windows 7 RSAT unattended

By Ward, January 14, 2010

Feature Names:
RemoteServerAdministrationTools
RemoteServerAdministrationTools-ServerManager

RemoteServerAdministrationTools-Roles

RemoteServerAdministrationTools-Roles-CertificateServices
RemoteServerAdministrationTools-Roles-CertificateServices-CA
RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder
RemoteServerAdministrationTools-Roles-AD
RemoteServerAdministrationTools-Roles-AD-DS
RemoteServerAdministrationTools-Roles-AD-DS-SnapIns
RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter
RemoteServerAdministrationTools-Roles-AD-DS-NIS
RemoteServerAdministrationTools-Roles-AD-LDS
RemoteServerAdministrationTools-Roles-AD-
RemoteServerAdministrationTools-Roles-DHCP
RemoteServerAdministrationTools-Roles-DNS
RemoteServerAdministrationTools-Roles-FileServices
RemoteServerAdministrationTools-Roles-FileServices-Dfs
RemoteServerAdministrationTools-Roles-FileServices-Fsrm
RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt
RemoteServerAdministrationTools-Roles-HyperV
RemoteServerAdministrationTools-Roles-RDS
RemoteServerAdministrationTools-Features

RemoteServerAdministrationTools-Features-BitLocker
RemoteServerAdministrationTools-Features-
RemoteServerAdministrationTools-Features-GP
RemoteServerAdministrationTools-Features-LoadBalancing
RemoteServerAdministrationTools-Features-SmtpServer
RemoteServerAdministrationTools-Features-StorageExplorer
RemoteServerAdministrationTools-Features-StorageManager
RemoteServerAdministrationTools-Features-Wsrm

Step . Installatie the RSAT MSU pakket

wusa  x86fre_GRMRSAT_MSU.msu /quiet  (x86)
wusa  amd64fre_GRMRSATX_MSU.msu /quiet  (x64)

Stap 2 Alle beschikbare opties:

dism /Online /Get-Features

Stap 3: Aanzetten van de beschikbare Opties

dism /Online /Enable-Feature /FeatureName:<FeatureName>

Voorbeeld
Ik wil snap ins uitrollen.

wusa Windows6.-KB958830-x86.msu /quiet
dism /online /enable-feature /featurename:RemoteServerAdministrationTools
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns

Post to Twitter

Related posts

Windows 7 Control Panel Items

By Ward, December 15, 2009
Control Panel Item Naam
Action Center .ActionCenter ( 7 and later only)
Administrative .AdministrativeTools
AutoPlay .AutoPlay
Backup and Restore .BackupAndRestore ( 7 and later only)
Biometric Devices .BiometricDevices ( 7 and later only)
BitLocker Drive Encryption .BitLockerDriveEncryption
Color Management .ColorManagement
Credential Manager .CredentialManager ( 7 and later only)
Date and Time .DateAndTime
Default Location .DefaultLocation ( 7 and later only)
Default Programs .DefaultPrograms
Desktop Gadgets .DesktopGadgets ( 7 and later only)
Device Manager .DeviceManager
Devices and Printers .DevicesAndPrinters ( 7 and later only)
Display .Display ( 7 and later only)
Ease of Access Center .EaseOfAccessCenter
Folder Options .FolderOptions
Fonts .Fonts
Game Controllers .GameControllers
Get Programs .GetPrograms
Getting Started .GettingStarted ( 7 and later only)
HomeGroup .HomeGroup ( 7 and later only)
Indexing Options .IndexingOptions
Infrared .Infrared ( 7 and later only)
Internet Options .InternetOptions
iSCSI Initiator .iSCSIInitiator
Keyboard .Keyboard
Location and Other Sensors .LocationAndOtherSensors ( 7 and later only)
Mouse .Mouse
Network and Sharing Center .NetworkAndSharingCenter
Notification Area Icons .NotificationAreaIcons ( 7 and later only)
Offline Files .OfflineFiles
Parental Controls .ParentalControls
Pen and Touch .PenAndTouch ( 7 and later only)
People Near Me .PeopleNearMe
Performance Information and .PerformanceInformationAndTools
Personalization .Personalization
Phone and Modem .PhoneAndModem ( 7 and later only)
Power Options .PowerOptions
Programs and Features .ProgramsAndFeatures
Recovery .Recovery ( 7 and later only)
Region and Language .RegionAndLanguage ( 7 and later only)
RemoteApp and Desktop Connections .RemoteAppAndDesktopConnections ( 7 and later only)
Scanners and Cameras .ScannersAndCameras
Sound .Sound ( 7 and later only)
Speech Recognition .SpeechRecognition ( 7 and later only)
Sync Center .SyncCenter
System .System
Tablet PC Settings .TabletPCSettings
Taskbar and Start Menu .TaskbarAndStartMenu
Text to Speech .TextToSpeech
Troubleshooting .Troubleshooting ( 7 and later only)
User Accounts .UserAccounts
Anytime Upgrade .WindowsAnytimeUpgrade
CardSpace .CardSpace
Defender .WindowsDefender
Firewall .WindowsFirewall
Mobility Center .MobilityCenter
SideShow .WindowsSideShow
Update .WindowsUpdate

Post to Twitter

Related posts

vSphere Client op Windows 7 32 & 64bits

By Ward, November 26, 2009

 image

heeft vorige week Update voor vrijgegeven.
Met deze update wordt de client volledig ondersteund op & R2.

Download de client (Je moet wel een account hebben om in te loggen)

Post to Twitter

Related posts

OfficeFolders theme by Themocracy

Ward Vissers is Digg proof thanks to caching by WP Super Cache