Overblog
Suivre ce blog Administration + Créer mon blog

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