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

Check windows-bcedit partition

Publié le par damcuvelier

'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...

Lire la suite

Check windows partition in windows 7 deployment

Publié le par damcuvelier

'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...

Lire la suite

where are sccm logs file in Windows 7 deployment

Publié le par damcuvelier

On error Resume Next Const ForWriting = 2 Dim fso, oVar, oTSEnv, strLogFile, strComputer, strWinPath Dim osdarchitecture, systpath dim logfolder,strfolder, OSDSTEP, OSDLogPath strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer...

Lire la suite

Comment deployer windows 8 en VM

Publié le par damcuvelier

Guide: en français avec virtual box: http://korben.info/installer-windows-8-sur-virtualbox-meme-quand-ca-ne-fonctionne-pas.html in english; http://lifehacker.com/5841065/how-do-i-install-windows-8-in-a-virtual-machine it’s ok:

Lire la suite

vbs: reg: how to use regdelete,regwrite,regread

Publié le par damcuvelier

Modify the Windows Vista Registry with VBScript Before we create a VBScript to modify the Vista registry, it is wise to at least consider the alternatives. For example, would a group policy be a better way of achieving our goal? Is it possible to achieve...

Lire la suite

cmd: 7Zip

Publié le par damcuvelier

"C:\Program Files\7-Zip\7z" u -r C:\temp\test2.zip c:\mon_répertoire\*.*

Lire la suite

vbs: AD: List the General Properties of a Group

Publié le par damcuvelier

Const ADS_GROUP_TYPE_GLOBAL_GROUP = &h2 Const ADS_GROUP_TYPE_LOCAL_GROUP = &h4 Const ADS_GROUP_TYPE_UNIVERSAL_GROUP = &h8 Const ADS_GROUP_TYPE_SECURITY_ENABLED = &h80000000 Set objGroup = GetObject _ ("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com")...

Lire la suite

VBS: REGEDIT: Get valuename for valuevalue

Publié le par damcuvelier

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 &...

Lire la suite

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

Publié le par damcuvelier

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)...

Lire la suite

<< < 10 20 30 40 41 42 43 44 > >>