Non malheureusement il ne s'est pas crée malgré ce panneau:Est-ce que le fichier pagefile.sys s'est créé ?

Je vs remercie
Code : Tout sélectionner
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
For Each objCS in objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem")
on Error Resume Next
' Wscript.Echo "AutomaiticManagedPagefile: " & objCS.AutomaticManagedPagefile
If (objCS.AutomaticManagedPagefile) Then
Wscript.Echo "Setting AutomaticManagedPagefile to False"
objCS.AutomaticManagedPageFile=False
objCS.Put_
Else
Wscript.Echo "AutomaticManagedPagefile was already False. Just leaving"
End If
' Wscript.Echo "AutomaiticManagedPagefile: " & objCS.AutomaticManagedPagefile
Next