Jump to content


mohanad

Established Members
  • Posts

    21
  • Joined

  • Last visited

Posts posted by mohanad


  1. This is the error log file , i am install the sec site from defrent domain but we are in the same forest


    ~===================== << Starting Configuration Manager 2012 Setup >> ===================== Configuration Manager Setup 6/13/2014 10:36:08 AM 2812

    INFO: This is a secondary site push without local media. Configuration Manager Setup 6/13/2014 10:36:16 AM 2812 (0x0AFC)

    INFO: Validating characters in path from Program Files\Microsoft Configuration Manager Configuration Manager Setup 6/13/2014 10:36:16 AM 2812 (0x0AFC)

    The ConfigMgr setup script contains syntax errors. Configuration Manager Setup 6/13/2014 10:36:16 AM 2812 (0x0AFC)

    ERROR: The script file is missing parent serialized encoded certificate key. Configuration Manager Setup 6/13/2014 10:36:16 AM 2812 (0x0AFC)

    The ConfigMgr setup script contains syntax errors. Configuration Manager Setup 6/13/2014 10:36:16 AM 2812 (0x0AFC)

    ~===================== Failed Configuration Manager 2012 Server Setup ===================== Configuration Manager Setup 6/13/2014 10:36:16 AM 2812 (0x0AFC)


  2. I am trying to find a best way to clear the ccm cash folder , i found some script to do that, but i want to share it with you,any idea?

     

    ------------------------------------------------------

    Dim objFSO
    Dim objFolder
    Dim objSubFolder
    Dim winsh
    Dim winenv

    'deletes folders with a date modified of 120 day or older
    Const intDaysOld = 120
    set winsh = CreateObject("WScript.Shell")
    set winenv = winsh.Environment("Process")
    windir = winenv("WINDIR")
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'looks for \system32\ccm\cache for 32bit
    if objFSO.FolderExists (windir & "\system32\ccm\cache") Then
    Set objFolder = objFSO.GetFolder(windir & "\system32\ccm\cache")
    For Each objSubFolder In objFolder.SubFolders
    If objSubFolder.DateLastModified < DateValue(Now() - intDaysOld) Then
    objSubFolder.Delete True
    End If
    Next
    Wscript.quit
    End if
    'looks for \sysWOW64\ccm\cache for 64bit
    if objFSO.FolderExists (windir & "\sysWOW64\ccm\cache") Then
    Set objFolder = objFSO.GetFolder(windir & "\sysWOW64\ccm\cache")
    For Each objSubFolder In objFolder.SubFolders
    If objSubFolder.DateLastModified < DateValue(Now() - intDaysOld) Then
    objSubFolder.Delete True
    End If
    Next
    End if

    -------------------------------------------------

     

    Thanks in advance

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.