• Versions of Microsoft products

    https://buildnumbers.wordpress.com/

  • Removing Built-in apps from Windows 10 WIM-File with Powershell – Version 1.1

    Removing Built-in apps from Windows 10 WIM-File with Powershell – Version 1.1 When creating a Windows-10-Image for the Enterprise you may not want to include all of the default Windows Store Applications. This script takes a simple list of Apps and then removes the Apps from the default install.wim. The Script works aso for Windows…

  • Cannot edit the object, which is in use by …

    Open SQL Management Studio select * from SEDO_LockState where LockStateID <> 0 DELETE from SEDO_LockState where LockID = ‘<LockID of the record identified in the previous query>’

  • K1000: Installing .Net FrameWork 4.5.2 with Scripting

    Verify:1. Verify that “HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full!Release” is greater than or equal to “379893”. On Success:1. Log “The Microsoft .NET FrameWork 4.5.2 is already installed.” to “status”. Remediation:1. Run the batch file “Setup” with params “”.Setup @echo off NDP452-KB2901907-x86-x64-AllOS-ENU.exe /q /norestart /log C:\Temp\BL_SDS_Microsoft_.NetFrameWork_4.5.2_1.0_NL_Inst.log if %errorlevel% == 3010 (exit /b 0) else (exit /b %errorlevel%) Wait for…

  • Changing startup to Automatic on the SCCM Remote Control Service

    http://ccmexec.com/2015/03/changing-startup-to-automatic-on-the-sccm-remote-control-service/

  • Enable dotNet 3.5 on Windows 10

    Windows 10 comes with .NET framework 4.5 pre-installed, but many apps developed in Vista and Windows 7 era require the .NET framework v3.5 installed along with 4.5. These apps will not run unless you will install the required version. When you try to run any such app, Windows 10 will prompt you to download and…

  • Windows failed to apply the TCPIP settings

    Remove the following file”C:\Windows\System32\GroupPolicy\Machine\Registry.pol” run gpupdate /force

  • Accessing HKCU and HKCR from Remote Registry

    When you open registry editor and connect to a remote system, the only hives you will see are HKEY_LOCAL_MACHINE and HKEY_USERS. The other two hives, HKEY_CLASSES_ROOT and HKEY_CURRENT_USER are there too, but are under the two visible hives. So for all purposes, I am only going to explain here how to access the once that…

  • DISM: Edit Bootimage WinPe

    Dism /mount-wim /wimfile:s:\winpe\boot_W10_x64.wim /index:1 /mountdir:s:\winpe\mount Dism /image:s:\winpe\mount /add-driver /driver:s:\winpe\drivers /recurse Dism /image:s:\winpe\mount /Set-InputLocale:nl-BE Dism /image:s:\winpe\mount /Set-SysLocale:nl-BE Dism /image:s:\winpe\mount /Set-UserLocale:nl-BE Dism /Unmount-Wim /MountDir:s:\winpe\mount /Commit Dism /Cleanup-WIM

  • How to add all users in an OU to a Security Group using Get-ADUser and Add-ADGroupMember

    Get-ADUser -SearchBase ‘OU=DEV,OU=BuitenDienst,OU=Users,OU=Moto,DC=Com’ -Filter * | ForEach-Object {Add-ADGroupMember -Identity ‘GG_SDS_DEV_Caris_ML_PROD’ -Members $_ } http://oxfordsbsguy.com/2015/03/09/powershell-how-to-add-all-users-in-an-ou-to-a-security-group-using-get-aduser-and-add-adgroupmember/

  • Install Console

    ConsoleSetup.exe /q TargetDir=”%ProgramFiles(x86)%\Microsoft Configuration Manager\AdminConsole\” EnableSQM=0 DefaultSiteServerName=SCCMP.CORP.ME %ProgramFiles(x86)%\Microsoft Configuration Manager\AdminConsole\binMicrosoft.ConfigurationManagement.exe5.0.8239.1000

  • Change Statuscode 3010 to 0

    @echo off msiexec /I vc_red.msi TRANSFORMS=vc_red.mst /qn ALLUSERS=1 /L*v %windir%\temp\TEST_SDS_Microsoft_VC++RedistSU_2008SP1_1.0_EN_x86_Inst.log REBOOT=REALLYSUPPRESS if %errorlevel% == 3010 (exit /b 0) else (exit /b %errorlevel%)

  • Can’t Delete ConfigMgr_OfflineImageServicing Folder After Failed Servicing

    Take ownership on the last Folder Give your account full control Delete the folder This does only work after you apply dism /get-MountedWimInfo dism /cleanup-wim

  • Enabling CLR Integration

    Query testsp_configure ‘clr enabled’ Query changesp_configure ‘show advanced options’, 1; GO RECONFIGURE; GO sp_configure ‘clr enabled’, 1; GO RECONFIGURE; GO https://msdn.microsoft.com/en-us/library/ms131048.aspx

  • Orchestrator Designer generates a prompt for a license key after you migrate the Orchestrator database

    When you migrate the Orchestrator database from one instance of Microsoft SQL Server to another and then try to open Orchestrator Designer in Microsoft System Center 2012 Orchestrator or in System Center 2012 R2 Orchestrator, Orchestrator Designer starts to open and then generates a prompt that indicates that the license key has expired. When you…

  • Reporting Services Site Role Setup: Instance Blank/Empty

    When attempting to set up and configure the ConfigMgr 2012 site system role for reporting services, a frequently experienced “problem” is that the instance name can be blank/empty in the wizard and thereby unable to proceed with the wizard. This usually occurs when SRS has not been pre-configured properly.While it is common “knowledge” that the…

  • Unable to remove the Component Server Site System Role

    Problem: I am trying to remove a DP from a server. I’ve gone to Administration | Overview | Site Configuration | Servers and Site System Roles I right-click on the server that is hosting the DP I want to remove and select Delete from the context menu. However, I then get a Delete Server dialog…

  • OSD Deploying ConfigMgr Hotfixes

    http://blogs.technet.com/b/configmonkey/archive/2013/11/13/deploying-configmgr-hotfixes.aspx#_Operating_System_Deployments

  • oobe.xml example

    <?xml version=”1.0″ encoding=”utf-8″ ?><!– Oobe.xml sample file for the region: Catalonia, Spain For more info, see Configure Oobe.xml, http://go.microsoft.com/fwlink/?LinkId=317086 –><FirstExperience> <oobe> <oem> <name>Fabrikam</name> <!– Name of the manufacturer –> <eulafilename>fabrikam_eula.rtf</eulafilename> <!– If a relative path is used, it will start from the same folder as Oobe.xml. Example: %WINDIR%\System32\Oobe\Info\Default\1031\fabrikam_eula.rtf –> </oem> <defaults> <!– Set the defaults…

  • Performance Indicator for SSD

    OSD Task Sequence Run Performance IndicatorWinSAT.exe formal%SystemRoot%\System32

  • Collection Query for Hostname starting with

    select * from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Name like “ALM%”

  • System: Application Name & Version

    select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like “%XXX%” and SMS_G_System_ADD_REMOVE_PROGRAMS.Version < “11.0.10” order by SMS_R_System.Name

  • Create RolloutFile in TaskSequence

    copy /y NUL C:\Windows\Temp\SDT_Microsoft_Windows_10_EN_Deployed.txt >NUL

  • Changing the language of the SCCM Console

    Rename the language pack folder within the install directory of your Management console. System Center Configuration Manager 2012: C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\{language_code} Close the management console. Rename the language pack folder corresponding to your situation. In my case it is nl. Rename it to nl_backup. Restart your console.

  • Office 2013: Desktop shortcut bug

    When creating a desktopshortcut for Office 2013 keep the following in mind. Use [ under Start in: Target: [Excel 2013] Location: [DesktopFolder] Name: Excel 2013 Start in: [ Arguments Shortcut Key: None Run: Normal windows

  • Activate Office/Windows under Task Sequence

    Office: Set KMS Host cscript OSPP.VBS /sethst:KMS.FQDN.local C:\Program Files (x86)\Microsoft Office\Office15 —- Activate Product cscript OSPP.VBS /act C:\Program Files (x86)\Microsoft Office\Office15 —- Install for non windows-kms server office2013volumelicensepack_x86_en-us.exe http://www.microsoft.com/en-us/download/details.aspx?id=35584 ———— Windows: Set KMS Host cscript slmgr.vbs /skms KMS.FQDN.local:1688 C:\Windows\System32 —- Activate Product cscript slmgr.vbs /ato C:\Windows\System32 —-

  • Show Pop-up message OSD TS

    PowerShell.exe -command “& { $ReturnCode = (New-Object -COMobject wscript.shell).popup(\”NO OSDprocessorArchitecture defined. Device ‘ll be formated, but no OS ‘ll be installed!\”,0,\”Warning\”,0x00040016); eXit $ReturnCode}” Test Step – Check if OS Architecture is defined! http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx​ Tasksequence variable bij options _____ PowerShell.exe -ExecutionPolicy ByPass -Command “& { (New-Object -COMobject wscript.shell).popup(\”Entered a OSDTestStep, OSDTestRun is activated. Press OK to…

  • WinPE: Change keyboardlayout

    Run command line Wpeutil SetKeyboardLayout 0813:00000813 or with powershell Set-WinUserLanguageList nl-BE or with DISMSee other post

  • The software change returned error code SCCM

    0x87D00324 This will indicate that software installation was succesfull, but detection method sucks.

  • SetUsersFullControl.ps1

    $sharepath = “C:\SWL” $Acl = Get-ACL $SharePath $AccessRule= New-Object System.Security.AccessControl.FileSystemAccessRule(“Users”,”full”,”ContainerInherit,Objectinherit”,”none”,”Allow”) $Acl.AddAccessRule($AccessRule) Set-Acl $SharePath $Acl

  • Virtual Machine tweaks for a better performance

    Over the last couple of months I gathered the following tweaks for a better performance insight the virtual machine, besides disabling / uninstalling useless services and devices: – Disable the pre-logon screensaver: Open Regedit HKEY_USERS\.DEFAULT\Control Panel\Desktop Change the value of “ScreenSaveActive” to 0. – Disable updates of the last access time attribute for your NTFS…

  • DISM: disable features

    OSDDisableFeatures.ps1 DISM /online /Disable-Feature /FeatureName:MediaCenter /Quiet /NoRestart write-host “Successfully removed Media Center” DISM /online /Disable-Feature /FeatureName:FaxServicesClientPackage /Quiet /NoRestart write-host “Successfully removed Windows Fax and Scan” DISM /online /Disable-Feature /FeatureName:OpticalMediaDisc /Quiet /NoRestart write-host “Successfully removed Windows DVD Maker” http://tweaks.com/windows/40255/manage-windows-features-from-command-line-with-dism/

  • Prompt for Computer Name during SCCM OSD

    With this method you don’t have to import a computer in SCCM 2012 with the MAC-Address. Just start the tasksequence as an unknown computer … To do this, complete the following steps, if you need any assistance, just post a comment at the bottom of this post. Open your Configuration Manager console and go to…

  • SMSTSPostAction

    This task sequence variable can be used to configure a post action for a task sequence. To configure this, follow the next steps: Open a task sequence in the Task Sequence Editor. Add a Set Task Sequence Variable –step to the task sequence. Fill in as Task Sequence Variable SMSTSPostAction and, in this example, as…

  • Detection Method for a certificate

    HKLM\SOFTWARE\Microsoft\SystemCertificates\TrustedPublisher\Certificates\6BFF5439A57586FEF61B8D8E2194A96DD459B511

  • Win 8.1 OSD with Language Packs

    Apply Operating System EnglishApply Operating System FrenchApply Operating System DutchUse an unattended or Sysprep answer file-> PKG_Win8.1_Unattend_NL—> Unattend.xml Apply Language EN (OSLanguage equals “EN”)Apply Language FR (OSLanguage equals “FR”)Apply Language NL (OSLanguage equals “NL”)-> Apply NL Language Pack—> cmd /c dism.exe /online /add-package /packagepath:lp.cab—> Package: PKG_Microsoft_LanguagePack_Win8.1_01.00_NL -> lp.cab-> BCDEdit to NL—> cmd /c bcdedit /set…

  • SCCM collection to list all the Laptop computers

    You can identify if the computer is Laptop or Desktop based on its chassis Types. Below are listed the Chassis types available to create SCCM collection or reports. For Laptops Chassis Types : 8 , 9, 10, 11, 12, 14, 18, 21 For Desktop Chassis Type : 3, 4, 5, 6, 7, 15, 16 For…

  • MSI Products

    HKEY_CLASSES_ROOT\Installer\Products of HKLM\Software\Classes\Installer\Products

  • Collection queries for SCCM 2012 R2 CU3 Update

    COL_Devices_without_ClientUpdate_2012R2CU3 select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SMS_ADVANCED_CLIENT_STATE on SMS_G_System_SMS_ADVANCED_CLIENT_STATE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.SystemType = “x64-based PC” and SMS_G_System_SMS_ADVANCED_CLIENT_STATE.DisplayName = “CCM Framework” and SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version >= “5.00.7958.1000” and SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version < “5.00.7958.1401” COL_Devices_with_SCCM_Console select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceId = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like “%System Center 2012…

  • Redistribute a hidden package SCCM 2012

    Redistribute a hidden package. Apply the following powershell script $SiteCode = “XXX” $PackageID = “XXX00003” $distpoints = Get-WmiObject -Namespace “root\SMS\Site_$($SiteCode)” -Query “Select * From SMS_DistributionPoint WHERE PackageID=’$PackageID’” foreach ($dp in $distpoints) { $dp.RefreshNow = $true $dp.Put() } https://social.technet.microsoft.com/Forums/en-US/d2e5366f-f7c3-4691-9011-ad35ed25ab74/configuration-manager-client-upgrade-package-missing?forum=configmanagerdeployment&prof=required

  • MDT 2013 USB Deployment

    Rules in MDT Media –> bootstrap.ini[Settings]Priority=Default [Default]SkipBDDWelcome=YESKeyboardLocale=080c:0000080cKeyboardLocalePE=080c:0000080c –> Customsettings.ini [Settings] Priority=Default Properties=MyCustomProperty [Default] OSInstall=Y SkipCapture=YES SkipAdminPassword=NO SkipProductKey=NO BitsPerPel=32 VRefresh=60 XResolution=1366 YResolution=768 SkipBDDWelcome=YES SkipApplications=YES SkipAppsOnUpgrade=YES SkipBitLocker=YES SkipUserData=YES UserDataLocation=NONE SkipTaskSequence=NO SkipComputerBackup=YES SkipComputerName=NO SkipDomainMembership=YES JoinWorkgroup=WORKGROUP SkipSummary=YES SkipFinalSummary=YES SkipLocaleSelection=YES KeyboardLocale=080c:0000080c KeyboardLocalePE=080c:0000080c UserLocale=fr-be UILanguage=fr-be SkipTimeZone=Yes TimeZoneName=Romance Standard Time FinishAction=SHUTDOWN

  • SCCM 2012: Failed to get client identity (80004005)

    PXE keeps rebooting after “preparing Network connection”. Errors: “reply has no message header marker”, “Failed to get client identity (80004005)”, “Failed to request for client” OSD Boot media cannot see TS Resolution: Set correct time in BIOS! cmd:datetime http://777notes.wordpress.com/2012/10/09/sccm-2012-failed-to-get-client-identity-80004005/

  • Change StagingDrive Offline servicing of Operating System Images

    You can keep your operating system images updated with the latest software updates from Microsoft using the offline servicing feature of Configuration Manager. Here are a few facts you may not know: Software updates content is not retrieved over the wide area network, rather it is obtained locally from the Configuration Manager content library on…

  • SCCM 2012 Task Sequence – Install all updates

    1: Scan for updatespowershell.exe -command “([wmiclass]’root\ccm:SMS_Client’).TriggerSchedule(‘{00000000-0000-0000-0000-000000000113}’)” 2: Wait for Scan to Finishpowershell.exe -command start-sleep 500 3: Install All Updates 4: Restart Computer Re-apply these steps 3 times

  • How to Update the Surface Pro 3 Firmware Offline using a USB Drive

    Today’s blog post is a collaboration between our PFE group and premier support. Joao Botto (PFE), Kyle Blagg (PFE), and Scott McArthur (Support) are writing about their favorite device. You will see this post in the askpfeplat and askcore blogs. Some of you may know that we launched Surface Pro 3 before its gigabit network…

  • Create empty file for unique driver import in SCCM 2012

    By simply adding a unique text file to the driver folder it creates a different hash value and allows you to import the same driver even if the actual drivers already have been imported. Just put the above code into a batch file at the root of your directory structure for a given model and…

  • Excluding specific computers from becoming ConfigMgr 2012 clients

    This registry editing trick has been around forever, but still works in ConfigMgr 2012! In fact, it’s the preferred way to keep the ConfigMgr client software from installing on specific computers in your organization. A couple NOTEs: This only blocks ConfigMgr client software when using the site-wide automatic push method. You can still use any…

  • XCOPY Files / Folder

    Filexcopy fzdefaults.xml “%ProgramFiles(x86)%\FileZilla FTP Client\fzdefaults.xml”* /I /S /Y /C /R xcopy *.ora “c:\oracle\product\11.2.0\client_86\network\admin\”* /I /S /Y /C /R Folders & Subfoldersxcopy .\swl\*.* C:\SWL /I /S /Y /C /R

  • Importing Existing Computers into a Device Collection

    Main Installer http://myITforum.com/myitforumwp/wp-content/uploads/2012/06/SCCMRCT1.0.zip Updates for 2012 http://myITforum.com/myitforumwp/wp-content/uploads/2012/06/2012Update1.0.EXE.zip Fixes the issue with restarting the ConfigMgr Agent Host on the client tools http://myITforum.com/myitforumwp/wp-content/uploads/2012/06/2012Update1.21.exe Fixes the issue with performing an Application Deployment Evaluation Cycle on both clients and collections http://myITforum.com/myitforumwp/wp-content/uploads/2012/09/2012Update1.34.exe Fixes the issue with files being copied to the wrong location. https://social.technet.microsoft.com/Forums/en-US/c5aaaa8e-cdd8-400b-8749-8a233a3f0a52/importing-existing-computers-into-a-device-collection?forum=configmanagergeneral&prof=required ConfigMgr 2012 – Powershell Right Click…

  • Speed Up SCCM TFTP Performance to PXE clients

    It’s possible to change the size of the blocks used for the Trivial File Transfer Protocol (TFTP) transfer; the larger the block size, the greater the performance. Microsoft’s recommendation is to not set higher than 16384; in addition, you must use multiples of 4096, such as 8192, 16384, and so on. I got a huge…

  • Apply Operation System Failes SCCM 2012 Migration

    Task Sequence problem after SCCM 2007 to SCCM 2012 R2 migration Ran into some problem after I had migrated a SCCM 2007 site to SCCM 2012 R2 CU3 When running the Task Sequence I got the following errors in SMSTS.LOG Empty location for package: _SMSTSXXX000F1 ApplyOperatingSystem Installation of image 1 in package XXX000F1 failed to…

  • Adobe Reader XI MUI Installation does only install English

    My client had a problem with an update of Adobe Reader version 11. After updating, only english was available.The update was a MUI version … After verifying the files and folders, I noticed that the “Locale” folder wasn’t created.I installed Adobe Reader 11 MUI normaly (not in silent mode) and choose another language then English.…

  • Disable Java Add-On in Internet Explorer

    Computer Configuration (Enabled) Policies Administrative Templates Policy definitions (ADMX files) retrieved from the central store.Windows Components/Internet Explorer/Security Features/Add-on Management Policy Setting Comment Add-on List Enabled Add-on List {761497BB-D6F0-462C-B6EB-D4DAF1D92D43} 0 {DBC80044-A445-435B-BC74-9C25C1C588A9} 0

  • Update NTP Server

    w32tm /configure /manualpeerlist:”be.pool.ntp.org” /syncfromflags:manual /reliable:yes /update net stop w32time net start w32time w32tm /resync /rediscover

  • BMW 130i E87 Hidden Menu

    Just like former BMW’s the 1 series has a hidden OBC menu. This can be accessed with the car started or “on”. Make sure you read the bottom instructions on how to unlcok all the menus. Below are the instructions and menus: For ‘navigation’ in the menu’s, use the ‘mileage reset button’. To get IN…

  • Run VBScripts OSD Task Sequence

    Backup RegistryREG EXPORT HKLM\Software\Microsoft\COM3 %temp%\com.reg /y Change Registry KeyREG ADD HKLM\Software\Microsoft\COM3 /v REGDBVersion /t REG_BINARY /d 010000 /f Move Computer to New OUwscript.exe Move_Comp_To_OU.vbs “OU=New,OU=Computers,OU=XX,DC=XX,DC=XX”Disable 64-bit file system redirectionPKG_XX_OSD_ScriptsXX.XX\srv-dom Restore Registry BackupREG IMPORT %temp%\com.reg

  • WMI Queries

    root\cimv2SELECT * FROM Win32_ComputerSystem WHERE Manufacturer LIKE “%DELL%” root\cimv2SELECT * FROM Win32_ComputerSystem WHERE Model LIKE “%CF-53%” root\cimv2SELECT * FROM Win32_BaseBoard WHERE Product LIKE “%P5B-TMX%” root\cimv2SELECT * FROM Win32_ComputerSystem WHERE Systemtype LIKE “%x64%” Quick check run -> wmic baseboard get product,manufacturer-> wmic computersystem get model,name,manufacturer,systemtype-> wmic diskdrive get model

  • Install Fonts on Windows 7 OSD Task Sequence

    Copy Fonts to Tempxcopy *.ttf %SystemDrive%\Temp /Y /I /QPKG_XX_XX Set PowerShell Execution PolicyPowershell.exe -noprofile -command “Set-ExecutionPolicy Bypass LocalMachine” -force Run Add-Font.ps1Powershell.exe -noprofile -file Add-Font.ps1 -path “%SystemDrive%\Temp”PKG_XX_OSD_Scripts Revert PowerShell Execution PolicyPowershell.exe -noprofile -command “Set-ExecutionPolicy RemoteSigned LocalMachine” -force Remove C:\Tempcmd.exe /c rmdir “%SystemDrive%\Temp” /S /Q

  • Transform AD User Group to Device Collection

    AD: The AD Computer object must fill in the ManagedBy field with the Primary User The AD User must be added to a AD User Group SCCM: System Discovery has to be extended with the ManagedBy field User Discovery has to be extended with the Distinguishedname field SCCM Collection Query: select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where…

  • Disjoin of a domain computer

    Windows 7: Install Package KB958830 cmd /c start /w pkgmgr /iu:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns;RemoteServerAdministrationTools-Roles-AD-DS;RemoteServerAdministrationTools-Roles-AD;RemoteServerAdministrationTools-Roles;RemoteServerAdministrationTools run batfile ==> @echo off hostname.exe > __t.tmp set /p host=<__t.tmp del __t.tmp c:\windows\system32\netdom.exe remove /d:mydomain %host% /ud:mydomain\serviceaccount /pd:P@ssw0rd Windows Server 2012 R2: DISM /online /enable-feature /featurename=ActiveDirectory-Powershell /all @echo off hostname.exe > __t.tmp set /p host=<__t.tmp del __t.tmp c:\windows\system32\netdom.exe remove /d:data %host%

  • Run CMD within the App-V bubble

    PS H:\> $appv=get-appvclientpackage -name *visio*PS H:\> $appv PackageId : 7828a894-5155-4f3d-923e-a0b91ce5835cVersionId : a6ec2f50-114b-4cee-ba42-277cb70b6f46Name : SDV_Microsoft_VisioPrem_2010SP2_01.00_ENVersion : 0.0.0.1Path : C:\WINDOWS\ccmcache\57\SDV_Microsoft_VisioPrem_2010SP2_01.00_EN.appvIsPublishedToUser : TrueUserPending : FalseIsPublishedGlobally : FalseGlobalPending : FalseInUse : TrueInUseByCurrentUser : TruePackageSize : 1671256007PercentLoaded : 100IsLoading : FalseHasAssetIntelligence : True PS H:\> Start-AppvVirtualProcess -FilePath cmd.exe -AppvClientObject $appv

  • Sequence Visio 2010 with App-V 5.0 SP2

    http://support.microsoft.com/kb/2830069 1. Install OffVirt Office2010AppVKit-x64.exehttp://www.microsoft.com/en-us/download/details.aspx?id=10386 msiexec /i OffVirt.msi ADDLOCAL=OSpp,OSpp_Core,OSppWoW64 PROPLUS=1 VISIOPREM=1 PIDKEYS=CK796-QYJ67-JVKWX-QJ9GD-W3CKX USEROPERATIONS=1 2. Download and Extract the Office 2010 sequencing kit for App-V Microsoft Office 2010 Sequencing Kit for Microsoft Application Virtualization 5.0.EXEhttp://www.microsoft.com/en-us/download/details.aspx?id=38399 3. Start the App-V Sequencer Click on Tools -> Options… Open the “Exclusion Items” tab and add the following: [{Common AppData}]\Microsoft\OfficeSoftwareProtectionPlatform…

  • Remotely Unpublish and Remove App-V 5.0 Package

    Run Powershell(x86) as an Administrator Enter-PSSession -ComputerName LAP123 -Credential Labo\Admin Get-AppvClientPackage -All Unpublish-AppvClientPackage PackageId VersionId Remove-AppVClientPackage PackageId VersionId Don’t forget to remove the folder in the SCCMcache!\\LAP123\c$\Windows\ccmcache\..

  • Detect Installed KB with Powershell & VBScript for SCCM 2012

    get-hotfix | Where-Object {$_.HotFixID -match “KB2835517”} wusa.exe “Windows6.3-KB2835517-x64.msu” /quiet /norestart /log:%WINDIR%\Temp\Install_SDC_Microsoft_MediaPack_1.0_01.00_ML.log wusa.exe /uninstall “Windows6.3-KB2835517-x64.msu” /kb:KB2703761 /quiet /norestart /log:%WINDIR%\Temp\Uninstall_SDC_Microsoft_MediaPack_1.0_01.00_ML.log _____________________________________________________________ <span class=”rem”>’Returns info if Windows Management Framework 3 in installed</span> <span class=”rem”>’ ———————————————————-‘ </span> <span class=”kwrd”>Option</span> Explicit <span class=”kwrd”>Dim</span> objWMIService, strComputer strComputer = <span class=”str”>&quot;.&quot;</span> <span class=”rem”>’Run the query</span> <span class=”kwrd”>Set</span> objWMIService = GetObject(<span class=”str”>&quot;winmgmts:&quot;</span> _…

  • Sort by OS Language

    DE: “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language\InstallLanguage” (REG_SZ) equals “0407” EN: “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language\InstallLanguage” (REG_SZ) equals “0409” FR: “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language\InstallLanguage” (REG_SZ) equals “040C” NL: “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language\InstallLanguage” (REG_SZ) equals “0413”

  • Temp

    setup.exe /Q /W /I setup.ini msiexec /X {5783F2D7-D028-0409-0100-0060B0CE6BBA} MSIRESTARTMANAGERCONTROL=Disable /qb-! http://forums.autodesk.com/t5/DWG-TrueView/DWG-Trueview-2013-silent-installation-on-different-path-Windows/td-p/3467892 http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=9078813 ——————- http://www.itninja.com/software/xmind/xmind/3-5187 http://www.xmind.net/download/win/ Installation: xMind 3.1.1.exe /S Deinstallation: %ProgramFiles%\XMind\uninstall.exe /S No Upadate: you have to create and copy the org.xmind.cathy.prefs file. The file must include following rows: eclipse.preferences.version=1 checkUpdatesOnStartup=false and copy it to: %AppData%\XMind\workspace-cathy\.metadata\.plugins\org.eclipse.core.runtime\.settings No Dialog on Startup: like no update. You need…

  • IE Default Searchprovider

    Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]“DefaultScope”=”{012E1000-F331-11DB-8314-0800200C9A66}”“KnownProvidersUpgradeTime”=hex:1c,21,6c,bd,bf,2b,cf,01“Version”=dword:00000003“UpgradeTime”=hex:e4,ab,d7,bd,bf,2b,cf,01 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{012E1000-F331-11DB-8314-0800200C9A66}]“DisplayName”=”Google”“URL”=”http://www.google.com/search?q={searchTerms}&sourceid=ie7&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?}”“ShowSearchSuggestions”=dword:00000001“SuggestionsURL”=”http://clients5.google.com/complete/search?q={searchTerms}&client=ie8&mw={ie:maxWidth}&sh={ie:sectionHeight}&rh={ie:rowHeight}&inputencoding={inputEncoding}&outputencoding={outputEncoding}”“FaviconURL”=”http://www.google.com/favicon.ico““FaviconPath”=”C:\\Users\\vantorre\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{012E1000-F331-11DB-8314-0800200C9A66}.ico” [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}]“Deleted”=dword:00000001

  • Troubleshooting Application Catalog

    Troubleshooting tips for client communication to the Application Catalog: Ensure that the Configuration Manager client is successfully assigned to a site and operational by checking LocationServices.log and ClientIDManagerStartup.log. Verify that the client can communicate with the management point. For example, check out any HTTP errors in the CcmMessaging.log file. Check the LocationServices.log file for any…

  • Deploy printer drivers during ConfigMgr task sequence

    Last week it was needed to install printer drivers on already deployed Windows 7 systems. Because driver packages can be used only during OS deployment (within a task sequence) that was not an option. Lucky me I found another way for doing this, just use the PnPutil command to do this. Let’s have a look…

  • Query OS+Program

    select * from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceId = SMS_R_System.ResourceId where SMS_R_System.OperatingSystemNameandVersion = “Microsoft Windows NT Workstation 6.3” and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = “Adobe Reader XI (11.0.05) MUI”

  • Application Catalog and Software Center in System Center 2012 Configuration Manager

    Object type Collection resources Deployment Application Catalog Software Center Application Users or groups Available deployment, does not require approval Yes After installation is initiated successfully from the Application Catalog Users or groups Available deployment, requires approval Yes After the application is approved Users or groups Required deployment No Yes Computers Available or required deployment No…

  • SCCM User/System Query

    Reminder for myself 😉 Device Collection:select * from SMS_R_System where SMS_R_System.SystemGroupName = “DATA\\GG_SDC_IBM_Notes_ML_PROD” User Collection (managedby):select SMS_R_USER.ResourceID,SMS_R_USER.ResourceType,SMS_R_USER.Name,SMS_R_USER.UniqueUserName,SMS_R_USER.WindowsNTDomain from SMS_R_User where SMS_R_User.DistinguishedName in (select SMS_R_System.managedBy from SMS_R_System where SMS_R_System.SystemGroupName = “DATA\\Domain Computers”) and SMS_R_User.UserGroupName = “DATA\\GG_SDV_FreeMind_FreeMind_ML_PILOT” AD Computer Object: Managedby field must be filled in!

  • SMSTS.LOG

    Reminder for myself 🙂 During OS Deployment Before your hard drive is formatted and partitioned X:\windows\temp\smstslog\ After your hard drive is partitioned formatted X:\smstslog\ and then is in C:\_SMSTaskSequence\logs\smstslog\ Within Windows Within Windows before the SCCM agent is installed: C:\_SMSTaskSequence\logs\smstslog\ Within Windows after the SCCM agent installed: C:\windows\system32\ccm\logs\smstslog\ When the Task Sequence completes on a…

  • Remove Welcome to Google Chrome window

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Google\Chrome] “SyncDisabled”=dword:00000001 You need to enable the StartUp Pages in the GPO. Enable Action on startup and the other, URLs to open at startup and enter the URL(s) you want to open. and use GPO for settings master_preferences does not work on 32.0 …

  • Enable dotNet 3.5 on Windows 8.1

    Use the same OS when using DISM! Offline Image:Dism /Get-WIMInfo /WimFile:C:\Temp\install.wimDism /Mount-WIM /WimFile:C:\Temp\install.wim /Name:”Windows 8.1 Enterprise N” /MountDir:C:\Temp\offlineDism /Image:C:\Temp\offline /Enable-Feature /FeatureName:NetFX3 /All /Source:D:\sources\sxs /LimitAccessCopy languages to C:\TempDism /Image:C:\Temp\offline /Add-Package /PackagePath:C:\Temp\de-deDism /Image:C:\Temp\offline /Add-Package /PackagePath:C:\Temp\fr-frDism /Image:C:\Temp\offline /Add-Package /PackagePath:C:\Temp\nl-nlDism /Unmount-WIM /MountDir:C:\Temp\offline /Commit Current Image:Dism /Online /Enable-Feature /FeatureName:NetFX3 /All /Source:D:\sources\sxs /LimitAccess Remember:First add NetFX3 and add the languages later…

  • When replacing a lcd display for iPhone 4S … the carrier is only showing “Searching”

    I just did a screen replacement on an Iphone 4S and have checked all connections they are all good, blue resistor is still there. Everything else works fine, WIFI signal is great etc. Problem is that it doesn’t recognize if I remove or insert the SIM card and all I get at the top of…

  • Can’t boot from Win7 USB drive on Apple Computer

    I can’t boot from a Windows 7 USB pen drive on my iMac begin 2008 (shortname IM81) Verify Apple Computer Version on wikipedia http://en.wikipedia.org/wiki/Intel_iMac If you have only 2 options in the boot camp assistant, or if bootcamp doesn’t recognize the windows installer disk when its on a bootable usb, it’s because bootcamp doesn’t recognize…

  • Increase Maximum Kerberos Token Size

    The kerberos SSPI package generated an output token of size 12750 bytes, which was too large to fit in the token buffer of size 12000 bytes, provided by process id 4. The output SSPI token being too large is probably the result of the user willdrie901@INTRA.*.*.* being a member of a large number of groups.…

  • Export Certificate with private key

    download (and launch with administrative privileges) http://blog.gentilkiwi.com/mimikatz (trunk version for last version) privilege::debug (or not if you’re already system) crypto::patchcng (nt 6) crypto::exportCertificates CERT_SYSTEM_STORE_LOCAL_MACHINE “CA” crypto::exportCertificates CERT_SYSTEM_STORE_LOCAL_MACHINE “My” crypto::exportCertificates CERT_SYSTEM_STORE_LOCAL_MACHINE “…” pfx files are passwords protected “mimikatz” Greetings 😉

  • The request failed with HTTP status 407

    System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ).~~ at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)~~ at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)~~ at Microsoft.SystemsManagementServer.WSUS.WSUSServer.ConnectToWSUSServer(String ServerName, Boolean UseSSL, Int32 PortNumber) Solution Remove following keys from the registry HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet…

  • Driver for DP BACKPLANE SCSI Enclosure

    Driver for “DP BACKPLANE SCSI Enclosure Device” DellBPA05.exe (110KB) http://www.dell.com/support/drivers/us/en/555/DriverDetails/DriverFileFormats?c=us&l=en&s=&cs=555&DriverId=R220657

  • Broadcom BCM5709S NetXtreme II GigE iSCSI Adapter Windows 2003 Driver

    Drivers Broadcom BCM5709S NetExtreme II GigE iSCSI Adapter Windows 2003 http://www.broadcom.com/support/license.php?file=NXII/win_2k3_2k8-14.4.8.4.zip Microsoft Storport Hotfix KB957910 A Windows Server 2003 SP2-based iSCSI boot server cannot generate dump files if the server uses a Storport virtual miniport as the LUN controller http://support.microsoft.com/kb/957910 Broadcom BCM5709S NetXtreme II GigE iSCSI Adapter B06BDRV\L4SC&PCI_163A14E4B06BDRV\L2ND&PCI_163A14E4PCI\VEN_14E4&DEV_163ACode 37

  • LSI Logic Parallel Server 2003 driver

    We had a problem installing Windows Server 2003 on a vm with LSI Logic Parallel but came up with a BSOD with message 0x…07B So the Harddrive wasn’t recognized. Here is the driver for vmware esxi 4.1 http://www.lsi.com/downloads/Public/SCSI%20HBAs/SCSI%20HBAs%20Common%20Files/LSI20320-R_xp_50700_01034132IT_1201800_1005239.zip enjoy 😉

  • Install Microsoft Hyper-V Core op USB

    Installatie OS op USB stick In de volgende stappen bespreken we hoe je Microsoft Hyper-V Server 2008 R2 installeert op een USB stick. Voorbereiding Om dit proces te vervolledigen moet je de volgende zaken hebben. – Een USB stick met minstens 8GB aan schijfruimte (Dit is de minimum vereiste voor Hyper-V Server 2008 R2 –…

  • Install driver from cmd dos prompt

    When installing a core server like Hyper-V Server or a regular windows server 2008 core you may have the problem that not all drivers are installed. I installed hyper-v server on a dell system and thee network drivers weren’t installed. The options are … – slipstream the drivers in the iso – install drivers from…

  • Vagcom updates for Audi A6 C6 MY2010

    Aanpassingen in VagCom 1. meebranden achterlichten bij dagrijverlichting zowel pré-facelift als facelift A6 Dit heet ook wel “landencode 2”. In de auto zijn diverse programmeringen van de lampen aanwezig, afhankelijk van wettelijke voorschriften in de markten waar de A6 wordt geleverd. Onder “landencode 2” is het meebranden van de achterlichten bij dagrijverlichting opgenomen, voor de…

  • Enable bluetooth in Audi A4 B8 MY2010

    Onderstaand vind je de gegeerde handleiding om uw bluetooth telefoon te activeren in het MMI systeem Eerst moet je zien dat je het “hidden menu” kan “unlocken” en daar een setting kan wijzigen. Dit doe je als volgt : 1. In VAG-COM/VCDS “Select” aanklikken 2. Module 5F aanklikken (staat onder Tab “Electronics 2”) 3. Vervolgens…

Got any book recommendations?