Aller au contenu
  • Pas encore inscrit ?

    Pourquoi ne pas vous inscrire ? C'est simple, rapide et gratuit.
    Pour en savoir plus, lisez Les avantages de l'inscription... et la Charte de Zébulon.
    De plus, les messages que vous postez en tant qu'invité restent invisibles tant qu'un modérateur ne les a pas validés. Inscrivez-vous, ce sera un gain de temps pour tout le monde, vous, les helpeurs et les modérateurs ! :wink:

Messages recommandés

Posté(e) (modifié)

Bonjour.

 

J'ai un gros souci... :P

 

Les plombs de la maison ont sauté, évidemment je n'avais pas d'onduleur et mes fichiers en ont pris un coup. j'ai donc du restaurer le système et je me retrouve avec un dossier anciennement protégé auquel je n'ai plus accès. Vu qu'il contient 90 % de mes données, c'est très ennuyeux. :P

 

Je croyais avoir enfin trouvé la solution en lisant ton article, mais il m'en pose un nouveau : quand j'ai fini de télécharger et de décompresser l'utilitaire " (scesp4i.exe) " et que je clique sur le fichier setup.inf, il ne fait que m'ouvrir la page copiée-collée ci-dessous. Il semblerait que j'ai un pb de version. Que dois-je faire ? D'avance merci. (je suis dans une mouise noir si je ne peux pas restaurer mes droits d'accès...)

 

[Version]

Signature="$Windows NT$"

AdvancedINF=2.5

ExtensionGUID = {d0e72d64-e6ab-11d1-9362-00c04fd92f7b}

Title=%SCETITLE%

LayoutFile=SCEFILES.INF

 

; Main

[AppInstall]

RegCheck = HKLM,Software\Microsoft\Windows NT\CurrentVersion,,CurrentVersion,>=4.0,%WrongNTVersion%

RegCheck = HKLM,Software\Microsoft\Windows NT\CurrentVersion,,CSDVersion,>=Service Pack 4,%WrongNTServicePack%

UserCheck = ,Administrators,%LogonAsAdmin%

Switch = C,%InstallCmdLineHelp%,\ ;Help for this switch

MFCCheck, \ ;Check for MFC42U.DLL

InstallCmdLine,\ ;Command Line install

CmdLineCheckInstall,\ ;Make sure installion succeded.

SecureDirectory,\ ;Secure our directory.

PostSecureDirectory,\ ;Delete SCP path item

DefFinish ;Display message to user

 

Switch = ,%DefaultInstallHelp%,\ ;Help for this switch.

MFCCheck,\ ;Check for MFC42U.DLL

CheckForIE,\ ;Checks to make sure IE was installed

DefPromptUser,\ ;Prompt user with install message.

CheckMMCVer,\ ;Install MMC

DefaultInstall,\ ;Copy SCE files and register the DLLS

CmdLineCheckInstall,\

DefCheckInstallation,\ ;Make sure registration completed successfuly

CheckForMMC,\ ;Makes sure MMC was installed

SecureDirectory,\ ;Secure our directory.

PostSecureDirectory,\ ;Delete SCP path item

DefFinish ;Tell the user we finished successfuly

 

;Alpha check the version of MFC42U.DLL

[MFCCheck.NTAlpha]

; Reverse version check.

FileCheck = %11%\MFC42U.DLL,==4.21.0.7022,%IncompatibleFileVersion%,FC_VERTRUE_END

 

; Install command line only

[installCmdLine]

PreInstallPrompt = %InstallQuestionCmd%

FileCheck = %11%\WLDAP32.DLL,>=5.0,%FileNotFound%

CopyFiles = CmdLineCopy,InfCopy,SceTemplatesCopy,AcluiHelpCopy

Addreg = MMCReg

PostRunApp = PostSetupCmdSection

 

; Make sure command line was installed correctly.

[CmdLineCheckInstall]

RegCheck = HKLM,Software\Microsoft\Windows Nt\CurrentVersion\Secedit,,,,%SetupNotComplete%

FileCheck =%11%\SceDLL.dll,,%SetupNotCompleteFile%

FileCheck =%11%\secedit.exe,,%SetupNotCompleteFile%

 

; Check for the version of the MMC file, if it's later then do nothing.

[CheckMMCVer]

FileCheck =if( %11%\MMC.EXE,>5.00.1713.1 ) == SETUP_NORMAL,END,RUN(InstallMMCOnly)

 

; Prompt user to install MMC.

[installMMCOnly]

InstallPrompt = %InstallMMCQ%,,MB_YESNOCANCEL|MB_ICONQUESTION

InstallPrompt = %InstallMMCWarn%,,MB_OK|MB_ICONEXCLMATION

PostRunApp = RunMMC

 

;Make sure IE is installed.

[CheckForIE]

FileCheck = %11%\WLDAP32.DLL,,%WrongIEVersion%

FileCheck = %11%\SHLWAPI.DLL,,%WrongIEVersion%

FileCheck = %11%\URLMON.DLL,,%WrongIEVersion%

FileCheck = %11%\WININET.DLL,,%WrongIEVersion%

 

;Default installation prompt

[DefPromptUser]

PreInstallPrompt = %InstallQuestionDef%

 

;Make sure MMC was installed.

[CheckForMMC]

RegCheck = HKLM,Software\Microsoft\MMC,,,,%MMCNotInstalled%

 

; i386 Install everything

[DefaultInstall]

CopyFiles = CmdLineCopy, SceTemplatesCopy, WinSysCopy, InfCopy, ,AcluiHelpCopy

RegisterDll = RegisterDLLSection

Addreg = MMCReg

 

; Alpha install.

;[DefaultInstall.NTAlpha]

; CopyFiles = CmdLineCopyNTAlpha, SceTemplatesCopy, WinSysCopy, InfCopy, ,AcluiHelpCopy

; RegisterDll = RegisterDLLSection

; Addreg = MMCReg

 

;Make sure our reg key exists.

[DefCheckInstallation]

RegCheck = HKLM,Software\Microsoft\MMC\SnapIns\{803E14A0-B4FB-11D0-A0D0-00A0C90F574B},,,,%SetupNotCompleteMMC%

 

; Success ful message

[DefFinish]

PostInstallPrompt = %FinishMessage%

 

; Directory Creation area, and where to copy.

[DestinationDirs]

; SCE stuff.

SceDirCopy=25, Security

SceTemplatesCopy = 25, Security\Templates

WinSysCopy=11,

CmdLineCopy=11

InfCopy=25, Inf

AclUiHelpCopy=25,help

 

 

; Install MMC

[RunMMC.NTx86]

IMMC.EXE

 

[RunMMC.NTAlpha]

AMMC.EXE

 

; Secure out directoies and registry keys.

[PostSecureDirectory]

DelReg = DelRegSecEdit

PostRunApp = DeleteSetupSAD

 

[secureDirectory]

FileCheck = %11%\scedll.dll,,%FileNotFound%

FileCheck = %11%\secedit.exe,,%FileNotFound%

PostRunApp = RunSecureDirectory

 

[RunSecureDirectory]

secedit.exe /configure /areas FILESTORE REGKEYS /cfg .\scesetup.inf /db %25%\security\database\scesetup.sdb /overwrite

 

[DeleteSetupSAD]

del /F /Q %25%\security\database\scesetup.sdb

 

[RegisterDLLSection]

%11%\Scedll.dll

%11%\wsecedit.dll

 

; If the register section didn't work, then we'll do this instead.

[PostSetupCmdSection]

regsvr32.exe %11%\scedll.dll /s

regsvr32.exe %11%\wsecedit.dll /s

 

[MMCPostSetupCmdSection]

regsvr32.exe %11%\mmcndmgr.dll /s

regsvr32.exe %11%\hhctrl.ocx /s

regsvr32.exe %11%\itss.dll /s

regsvr32.exe %11%\itircl.dll /s

 

; BEGIN Register section

[MMCreg]

HKCR,.msc,,2,mscfile

HKCR,mscfile\shell\open\command,,,"%11%\MMC.EXE ""%%1"""

HKCR,Clsid\%CLSID_RSHX_NTFS%,,,%DESCRIPTION%

HKCR,Clsid\%CLSID_RSHX_NTFS%\InProcServer32,,,%MODULENAME%

HKCR,Clsid\%CLSID_RSHX_NTFS%\InProcServer32,"ThreadingModel",,Apartment

HKCR,*\%SHEXPS%\%CLSID_RSHX_NTFS%,,,

HKCR,Drive\%SHEXPS%\%CLSID_RSHX_NTFS%,,,

HKCR,Directory\%SHEXPS%\%CLSID_RSHX_NTFS%,,,

HKCR,Clsid\%CLSID_BRIEFCASE%\%SHEXPS%\%CLSID_RSHX_NTFS%,,,

 

[DelRegSecEdit]

HKLM,Software\Microsoft\Windows Nt\CurrentVersion\Secedit,DefaultProfile

HKLM,Software\Microsoft\Windows Nt\CurrentVersion\Secedit,TemplateUsed

; END Registr section

 

; BEGIN Copy Files sections

; Template files to %windir%\security\templates

[AclUiHelpCopy]

Aclui.hlp,,,32

[sceTemplatesCopy]

securws4.inf,,,32

securdc4.inf,,,32

basicwk4.inf,,,32

basicsv4.inf,,,32

basicdc4.inf,,,32

compws4.inf,,,32

compdc4.inf,,,32

hisecws4.inf,,,32

hisecdc4.inf,,,32

off97sr1.inf,,,32

 

; Win sys copy to %windir%\system32

[CmdLineCopy]

; Sec edit.

SeCEdit.exe,,,32

scedll.dll,,,32

Aclui.dll,,,32

Rshx32_5.dll,,,32

; Jet enjine

esent.dll,,,32

esentprf.dll,,,32

esentutl.exe,,,32

; ACL editor dlls.

 

[CmdLineCopyNTAlpha]

; Sec edit.

SeCEdit.exe,,,32

scedll.dll,,,32

; ACL editor dlls.

Aclui.dll,,,32

Rshx32_5.dll,,,32

; Jet enjine

esent.dll,,,32

esentprf.dll,,,32

esentutl.exe,,,32

mfc42u.dll,,,32

 

[WinSysCopy]

; Secedit Executables.

wsecedit.dll,,,32

 

[infCopy]

SCEregvl.inf,,,32

 

; String declartions

[strings]

WrongNTVersion="You must install Microsoft Windows NT 4.0 or greater."

WrongNTServicePack="You must install Microsoft Windows NT 4.0 Service Pack 4."

WrongIEVersion="You must install Microsoft Internet Explorer 3.0 or greater."

LogonAsAdmin="You must be logged on as adminitrator."

SCETITLE="Microsoft Windows NT Security Configuration Manager"

DISKTITLE="Microsoft Windows NT Service Pack 4 CD"

FinishMessage="Setup completed successfully."

InstallCmdLineHelp="Install command line tools only."

InstallMMCOnlyHelp="Install MMC only."

MMCNotInstalled="You must install Microsoft Management."

DefaultInstallHelp="Default installation installs the UI and command line tools."

MODULENAME=rshx32_5.dll

DESCRIPTION=Security Shell Extension

SHEXPS=shellex\PropertySheetHandlers

InstallQuestionDef="Install Microsoft Windows NT Security Configuration Editor - Full install?"

InstallQuestionCmd="Install Microsoft Windows NT Security Configuration Editor - Command line tool only?"

CLSID_RSHX_NTFS={1f2e5c40-9550-11ce-99d2-00aa006e086c}

CLSID_BRIEFCASE={85BBD920-42A0-1069-A2E4-08002B30309D}

InstallMMCQ="Would you like to Install Microsoft Management Console?"

InstallMMCWarn="This portion of setup may request that you reboot your computer. Please reboot the computer and run setup again if you are asked to do so."

SetupNotCompleteFile="MSSCE did not complete successfully. File '%0' not found."

SetupNotComplete="Setup did not complete successfully! Please run setup again"

SetupNotCompleteMMC="Microsoft Management console was not found. Please run setup again and install Microsoft Manage Console."

IncompatibleFileVersion="'%0' is incompatible with Security Configuration Editor. Please install a compatible version before installing Security Configuration Editor. Setup aborting"

Modifié par coolman

  • 3 semaines après...
Posté(e)

:P

 

Le problème semble avoir trouvé sa solution.

 

Ainsi, afin de signaler clairement à ceux qui ont un problème similaire qu’ils ont peut-être une solution toute trouvée (s’ils pensent à utiliser la fonction Recherche en indiquant le mot-clé "résolu" auparavant), et afin de signaler aux autres contributeurs qu’il est inutile de continuer à se creuser la tête sur le problème (à moins d’avoir des suppléments d’informations à apporter pour mieux comprendre ce qui posait problème), un modérateur a préfixé le titre du topic avec la mention [Résolu].

 

Merci, à l’avenir, de bien vouloir prendre à votre charge cette mise à jour quand vous estimez que votre problème a été résolu de manière satisfaisante (et parallèlement, si le problème a disparu "mystérieusement", inutile d’induire les gens en erreur :P)

  • Se positionner sur le 1° message
  • Cliquer sur p_edit.gif et choisir "Edition complète"
  • Aller sur le titre et le préfixer avec le mot [Résolu]

Rejoindre la conversation

Vous publiez en tant qu’invité. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.
Remarque : votre message nécessitera l’approbation d’un modérateur avant de pouvoir être visible.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...