Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Suivre ce blog Administration + Créer mon blog
MENU

Top articles

  • script to join domain in any case (osd or in windows) and self-destruct itself

    29 mars 2023 ( #AD, #CM, #windows 10, #powershell )

    $erroractionpreference = 'silentlycontinue' set-executionpolicy bypass -force $DomainAdmin="" $DomainAdminDomain='' $MachineObjectOU="OU=,OU=,"...

  • Migration multiples AD

    25 novembre 2019 ( #AD migration, #AD, #migration )

    How to migrate multiple AD when you can not upgrade? That is when there is a mounted of several versions (for example: 2008 to 2016). Here is my approach to the subject: 1. Create new ADs (in mixed mode (**)) in the same subnet as the old ADs 2. Create...

  • [powershell] block application in firewall

    08 février 2021 ( #block application, #firewall, #powershell )

    #using script: run -appname param ([string]$appname) $ErrorActionPreference = "SilentlyContinue" $progfiles86 = (Get-ChildItem "C:\Program Files (x86)" -Recurse).fullname |Select-String -Pattern...

  • [Firefox] Configurer Option "nouvel onglet"

    07 octobre 2014

    Certains addon ou logiciels de spam s'intègrent et pourrissent votre firefox chéri. Pour nettoyer leurs traces après les avoir supprimés: 1) about:config -> cliquer sur "Je ferai attention, promis !" 2) option [browser.newtab.url]= (plusieurs valeurs...

  • [vbscript] library perso

    04 octobre 2014

    librairie personnelle On Error Resume Next ' ######################################## Déclaration des Variables ######################### Dim strComputer Dim logfile,installsource,strComputerName,strUSERPROFILE,strTEMP Dim extractdotNetFx4,netfxCorex86cmdline,netfxextendedx86cmdline,netfxcorex64cmdline,netfxextendedx64cmdline...

  • SCCM 2007 : Damned where (and when) are log files???.... here:

    16 février 2011

    Windows PE before HDD format: x:\windows\temp\smstslog\smsts.log Windows PE after HDD format: x:\smstslog\smsts.log and copied to c:\_SMSTaskSequence\Logs\Smstslog\smsts.log Full version Windows before SCCM agent installed: c:\_SMSTaskSequence\Logs\Smstslog\smsts.log...

  • SCCM 2007 : VBS: How to detect windows partition and winre (or bitlocker) partition if you are in WinPE into TS

    16 février 2011

    You are in WinPE.... Windows partition is not always C:, because if you do a refresh with a winre partition, winpe will assign C: to this partition but windows is not there. So you have to determine, always, where is C: Yes, it could be "#disk 0 #partition...

  • SCCM 2007 : MDT: Wizard error code on cancel. If you want to manage the cancel or error on wizard

    16 février 2011

    Add this to your process and add a quit on this condition: If oEnvironment.Item("WizardComplete") <> "Y" then oShell.Popup "The Deployment Wizard was cancelled or did not complete successfully. The deployment will not proceed.", 0, "Wizard Error", 16...

  • SCCM 2007 : USMT 4.0 interested

    16 février 2011

    I was investigated about usmt 4.0 to do a better refresh, and i find some blog interested about: Frank Rojas | System Center Support Escalation Engineer Blog and the investigate of LionelG: on Supinfo lab microsoft forum: http://www.forum-microsoft.org/topic108500.html...

  • Error in technet : Release state store hardlink in sccm

    16 février 2011

    here "http://technet.microsoft.com/en-us/library/ee344267.aspx" it is write that to release the statestore by SCCM hardlink user state migration: use: .\%PROCESSOR_ARCHITECTURE%\usmtutils.exe /rd %OSDStateStorePath% and some have this problem: stay in...

  • Error in technet: conflict Management

    16 février 2011

    : here http://technet.microsoft.com/en-us/library/cc749023(WS.10).aspx and here http://technet.microsoft.com/fr-fr/library/dd560751(WS.10).aspx the url for conflicts and priority for usmt xml configuration...

  • SCCM 2007: The System Center Configuration Manager 2007 Toolkit v2

    02 mars 2011

    The following list provides specific information about each tool in the toolkit. Client Spy - A tool that helps you troubleshoot issues related to software distribution, inventory, and software metering on Configuration Manager 2007 clients. Delete Group...

  • Powershell: running command from windows console

    02 mars 2011

    start: cmd C:\> powershell yourcommand for example: C:\>powershell dsquery user -samid username | dsget user -memberof | dsget group –samid To find all groups of a user is memberof without the DN's (http://msdn.microsoft.com/en-us/library/dd835506%28VS.85%29.aspx)...

  • PS: DSQUERY Commands to query AD objects

    04 mars 2011

    (source: http://social.technet.microsoft.com/wiki/contents/articles/dsquery-commands.aspx) 1. How to find all members for a particular group. >dsget group "" –members 2. How to find all groups for a particular member (including nested...

  • vbs: sccm 2007: Get argument if osd variable does not exist

    08 juin 2011

    Function GetTsVariable (ByVal strTsVariableName, ByRef strTsVariableValue) Dim objTSEnvironment On Error Resume Next Set objTSEnvironment = CreateObject("Microsoft.SMS.TSEnvironment") GetTsVariable = Err.number On Error GoTo 0 If GetTsVariable=0 Then...

  • VBS: Read and Write in xml file

    08 juin 2011

    Public Const XML_FILE = "xmlconfigfile.xml" Public Const NODE_BIT = "/Config/Bitlocker" '-------------------------------------------------------------------- ' Function Name - ReadXML() '--------------------------------------------------------------------...

  • Get Argument instead of SCCM variable to test script in windows before integrate into SCCM

    22 juillet 2011

    FOR EXAMPLE: the script script.vbs use OSDVAR1 & OSDVAR2: IN SCCM: IN WINDOWS: OSDVAR1 = OSDVALUE1 cscript script.vbs /OSDVAR1:OSDVALUE1 OSDVAR2 = OSDVALUE2 cscript script.vbs /OSDVAR2:OSDVALUE2 Function GetTsVariable (ByVal TSVarName, ByRef TsVarValue)...

  • vbs: Regedit : rename strKeyPath => strKeyPath & ".old"

    22 juillet 2011

    rename = copy/rewrite/delete 'save of key : key.old oReg.createKey HKEY_LOCAL_MACHINE, strKeyPath & ".old" 'rewrite all value into new key oReg.EnumValues HKEY_LOCAL_MACHINE, strKeyPath, arrayValueNames, arrayValueTypes For i=0 To UBound(arrayValueNames)...

  • VBS: REGEDIT: Get valuename for valuevalue

    27 juillet 2011

    dim strComputer : strComputer = "." dim oReg dim value,valeur '// Registry variables: const HKEY_LOCAL_MACHINE = &H80000002 dim strKeyPath : strKeyPath = "" Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer &...

  • Check windows partition in windows 7 deployment

    14 novembre 2011

    'Check_windows_partition with bcdedit 'On error Resume Next Dim BOOTTABLE, oWsh, sCmd, iRetVal Dim gethomepath, oOsdV4, ProgressUI, Line, objTextFile Dim objFSO, oCheck, Blocks, GoodBlock, demiblock, OSDRIVE, OSDbdepartition Dim sCmd2,iRetVal2 Const ForReading...

  • Check windows-bcedit partition

    14 novembre 2011

    'Check_windows_partition with bcdedit 'On error Resume Next Dim BOOTTABLE, oShell, sCmd, iRetVal Dim gethomepath, oOsdV4, ProgressUI, Line Dim objFSO, oCheck, Blocks, GoodBlock, demiblock, OSDRIVE Const ForReading = 1, ForWriting = 2, ForAppending = 8...

  • To check if TPM Device is Activated

    14 novembre 2011

    On error resume Next strComputer = "." Dim oOsdV4 Set oOsdV4 = CreateObject("Microsoft.SMS.TSEnvironment") oOsdV4("OSDTPIValue")="FALSE" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2\Security\MicrosoftTpm") Set colItems = objWMIService.ExecQuery("SELECT...

  • Delete maintenance partition

    14 novembre 2011

    Dim BOOTTABLE, oWsh, sCmd, iRetVal Dim gethomepath, oOsdV4, ProgressUI, Line, objTextFile Dim objFSO, oCheck, Blocks, GoodBlock, demiblock, OSDRIVE, OSDbdepartition Dim sCmd2,iRetVal2 Const ForReading = 1, ForWriting = 2, ForAppending = 8 Set objFSO =...

  • WIN7-BuildANDCapture.xml

    14 novembre 2011

    Replace Packages Name by packageName and save it as WIN7-BuildANDCapture.xml and import it into SCCM’s OSD section… ...

  • Création d’un WINPE x86/x64

    13 juillet 2012

    Création d’un environnement (dossier) de travail Dans cette étape, on crée une structure de dossier qui va nous permettre de construire et personnaliser notre image Windows PE. Cette structure de dossier est nécessaire. 1. Pour commencer, lancez l'invite...

<< < 1 2 3 4 5 6 7 8 9 10 > >>