Config Manager 2012 setup w/ SQL DB in a different domain and Forest

Hi all I'm hoping these are easy questions.  The SQL admins in my environment are pushing for me to have the DB hosted on the managed SQL servers vs on the PSS.  The only potential problem is that the SQL servers currently are in a different domain/forest. 
There is a two trust between forests. The managed workstations will be in the same domain as the SCCM infrastructure.  There will not be any managed workstations in domain where the SQL server resides.  Eventually all SQL servers will be moved to
a different domain, but it will not be the same domain as the SCCM infrastructure.  My questions are below
Will I need to have another PSS in the same domain as the SQL Server?  If yes then i assume I'll need a CAS as well to manage both PSS.
Since the SQL servers will eventually be moved to another domain/forest, which will have a two was trust as well, what are the potential issues that can arise from this?
Thanks

Technically what you're asking for will work.  THat said:  you should be willing to demonstrate to your SQL team that SCCM will be fully capable of overwriting, dismounting and otherwise destroying every database on that shared SQL server due to
the ridiculously elevated permissions required on said said SQL system.
To clarify:
SCCM will require local administrator permissions to every node in the cluster.  When it connects, it will immediately install a server role on said cluster.  It will also require full administrative access to the instance the database will reside
in.  By the time all this fun stuff is open, anyone who knows how to open up a command prompt under the system context of your SCCM server will be able to to all sorts of fun stuff that really REALLY won't make your SQL team very happy.
I'd fight the desire tooth and nail.  If they threaten to not support the SQL instance I'd be OK with that even.  Microsoft won't even support you if you make any edits/changes to the SQL database directly anyway.

Similar Messages

  • Config Manager 2012 R2 Update Failed - Now What?

    Starting Environment:
    Windows Server 2012 VM
    Configuration Manager 2012 CU1
    SQL Server 2012 Enterprise SP1 installed on a separate 2 node cluster 
    We have been running this setup for Config Manager 2012 CU1 for about a year now with no issues at all.  In an effort to deploy Windows 8.1 I ran the Configuration Manager 2012 R2 Update.  The update failed halfway through.  From the ConfigMgrSetup.log
    it looks like it wasn't able to connect to the database and this is why the update failed. Problem is after the install failed I am no longer able to connect to the database when opening the CM console.  I get the "Configuration Manager cannot connect
    to the site" message.  Here is the error from the SMSAdminUI.log:
    [02/24/2014 19:10:21] :Transport error; failed to connect, message: 'The SMS Provider reported an error.'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException\r\nThe SMS Provider reported an error.\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
       at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nConfigMgr Error Object:
    instance of __ExtendedStatus
    Operation = "ExecQuery";
    ParameterInfo = "SELECT * FROM SMS_Site WHERE SiteCode = 'EPS'";
    ProviderName = "WinMgmt";
    Error Code:
    ProviderLoadFailure
    \r\nSystem.Management.ManagementException\r\nProvider load failure \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()\r\nManagementException details:
    instance of __ExtendedStatus
    Operation = "ExecQuery";
    ParameterInfo = "SELECT * FROM SMS_Site WHERE SiteCode = 'EPS'";
    ProviderName = "WinMgmt";
    \r\n
    [10, PID:6140][02/24/2014 19:10:21] :System.Management.ManagementException\r\nProvider load failure \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\nManagementException details:
    I have tried running the R2 update again but am now faced with the following 2 failures during run check:
    Current SUM configuration uses virtual locations for some of the active SUPs. Please remove any virtual locations from the existing SUM configuration.
    There is an active source hierarchy configured for migration. Please stop data gathering for each source site in the source hierarchy.
    I do not know how I can fix these errors without being able to connect through the console.  
    Does anyone have any ideas on how I can reconnect the console to the database and eventually successfully run the R2 update?
    Database itself seems fine. No errors.  Database mounts fine.   
    Thanks in advance for any input.  

    Hi,
    I saw a similar problem with yours. It should be helpful.
    http://social.technet.microsoft.com/Forums/en-US/dda03cc4-e78e-409b-a9dd-f6d8a4f96774/upgrade-to-system-center-2012-sp1-prerequisite-check-failed-with-error-software-update-points-in?forum=configmgrsum
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Is there a way to trick MS Service Manager 2012 to use SQL Server 2014 when installing it?

     I recently set up a virtual Lab on my laptop. I dont have much resources on my laptop and can only have around 5 servers. the problem is that i already set up SQL Server 2014 standalone and configured all of my services to use that server which works
    fine. however when i try to install MS Service Manager 2012 it throws "SQL has to be either 2012 or 2008" error ..
    is there a way for me to trick the Registry so Service Manager will install?
    Thank you

    I don't know a trick to install SCSM 2012 on a SQL Server 2014. But maybe you can use a SQL Server 2012 for installation temporary and move the db after installation is done to your SQL Server 2014?
    Moving the Service Manager and DW Databases
    Might be worth a try. But it's definitely not recommended for a productive environment!
    Andreas Baumgarten | H&D International Group

  • Planning System Center Operation Manager 2012 R2 on SQL 2012 Active/Passive Cluster

    Dears,
    I'm planning to deploy System Center Operation Manager 2012 R2 on SQL 2012 Active/Passive Cluster which have other sql instances running for other applications. And i'm planning to create a new instance for SCOM, kindly provide me recommendation
    whether i can install all sql databases for SCOM on same sql instance or does it require separate instances for opsmanger database , dw database and ACS database?
    Thanks in advance..

    Hi,
    Yes, all SCOM SQL databases can run on the same instance of SQL server.
    As well, look at some helpful posts for the topic:
    http://technet.microsoft.com/library/dn281933.aspx
    http://blogs.technet.com/b/kevinholman/archive/2013/10/18/opsmgr-2012-r2-quickstart-deployment-guide.aspx
    Natalya
    ### If my post helped you, please take a moment to Vote as Helpful and\or Mark as an Answer

  • Config Manager 2012 not working on Windows 7

    I am having a problem pusing out the config Manager 2012 r2 console with The App-V Management infrastructure.
    I have built the package based on the basic guidence in this article. blogs.technet.com/b/appv/archive/2013/01/08/ how-to-sequence-the-microsoft-system-center-2012-configuration-manager-admin-console-with-microsoft-app-v.aspx
    My problem is that this package works great on windows 8 and 2008r2 rds. It just won't launch on windows 7. It looks like it is trying to but the screen never appears. it does show it as being running in the task manager but it never shows on the screen.
    Has anyone seen this issue and if so what can i do to resolve. I am not seeing any errors in the event logs either. I tried running a procmon and saw nothing standing out as the culprit. all the prereqs are installed.

    Any chance you have installed KB2984972?
    https://social.technet.microsoft.com/Forums/en-US/c90212b0-b32c-4488-9753-fb952112828c/warning-kb2984972-and-appv-4-and-appv-5-packages?forum=mdopappv
    Falko
    Twitter
    @kirk_tn   |   Blog
    kirxblog   |   Web
    kirx.org   |   Fireside
    appvbook.com

  • WMF 3.0+ supported on server 2008 r2 SP1 with Config Manager 2012 R2

    Hi guys
    Is WMF (PowerShell) 3.0+ supported on server 2008 r2 SP1 with Config Manager 2012 R2.
    Thanks
    NN

    Yes supported since SP1 release
    Cheers
    Paul | sccmentor.wordpress.com

  • Credentials needed to raise domain and forest level from 2003 to 2012 R2.

    I migrated our environment from a single DC server 2003 to a single DC server 2012 R2.  I followed the migration process that is documented by Microsoft and others.
    However, I forgot to assign my account Enterprise Admin and Schema Admin before raising the domain and forest levels from 2003 to 2012 R2.  My account did have domain admin.  The GUI interface did not complain when I raised the level of the domain
    and then the forest.
    So I am thinking everything is OK.
    My question is am I going to have problems down the road with the AD environment?
    Thanks for any help or opinions.

    Using snapshot for a domain controller is not recommended, as usn rollback can occur. Allthough in server 2012 using snapshot for dc's has been improved and made 'safer', but I wouldnt use it as a backup solution.
    But back to your problem, Beaulieu, is it a single domain/single forest design? And the issue is that you have no membership in schema- and enterprise admins, but you do have an domain admin?
    Best Regards,
    Jesper Vindum, Denmark
    Systems Administrator
    Help the forum: Monitor(alert) your threads and vote helpful replies or mark them as answer, if it helps solving your problem.

  • PCs not showing in Collection/Queries Config Manager 2012 R2 - Direct Rule

    Hello,
    I have been creating some collections and queries using a direct rule or manual entry of the device and the PC is not showing in the collection. 
    Example:  Created collection for a .NET 4.5.2 install that I rolled out.  Manually added the devices that need the application and of the 40 PCs 2 or 3 will not appear in the collection, thus they are not getting the software push.  The PCs
    that are not showing up are pinging able and I can RDP into them just fine.  Config Manager shows they have the Client, are active and getting policy requests.  
    I thought maybe it there was an issue with the collection I was creating but I tried adding the same PCs to other collections and they do not appear in those collections either.
    I did a manual query as well with the same results, the same PCs I try to add to the collections are not showing in my query even though they are hard coded in.   
    Thanks
    Rich

    I deleted the collection for our "Insurance Department" which the suspect PCs were in.  I no longer needed the Insurance collection so I deleted that just to see if that was limiting the .NET collection.  Now those PCs are showing in
    the ".NET 4.5.2" collection.   
    That is good and everything but going forward I will need to have a collection for the "Insurance Department" that will be based on a query that looks for our Insurance Application in Installed Applications64.  How can I prevent this new collection
    from limiting any PC in that collection from being put into other Software Install collections?
    Thanks for the help thus far.

  • Need to create a new fresh installation of Config Manager 2012 R2 without downtime...

    Hi!
    Here is our problem...
    We installed a Configuration Manager 2012 R2 on our domain for testing purposes and behold, it is now in production ;). Now the problem is that we didn't install the test version as recommended, everything is installed onto the systemdrive
    and space is running out slowly but surely. All Site System Roles are activated on this one and same server and we are starting to get nervous... An additional DP is on its way but we NEED to install the Site Server and other Site System roles onto new hardware
    ASAP. What is the best practice for doing this so that we have so little downtime as possible? We have new computers that need OSD and software that need deploying and updating every week... How should we attempt to do this so that it goes as smoothly as possible?
    Any help would be greatly appreciated!
    Thank You!

    Or you could simply backup and restore to another server
    https://technet.microsoft.com/en-us/library/gg712697.aspx?f=255&MSPPError=-2147217396
    And how does that solve this problem: "everything is installed onto the systemdrive"
    Torsten Meringer | http://www.mssccmfaq.de

  • Login failed when i login to a SQL server in a different domain

    Hi Experts,
    I have a this issue. When i try to connect to a SQL server located in another domain (Domain A) with a management studio of the same version in another domain (Domain B) It is not allowing me. I am getting the below error.
    Error content details:
    ===================================
    Cannot connect to Server_sql.E2K.AD.GE.COM.
    ===================================
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
    Error Number: 53
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    When i connect to the SQL server which is in Domain A using its IP (SQL Server in Domain A's IP) in the SQL management studio with my Domain B account as below then it is able to connect and showing the database and everything.
    There is totally a 2 ways Forest trust between Domain A and Domain B.
    Can any one help please.
    Gautam.75801

    Hi 
    I think the Network Admin should create an account in Active Directory as well and then adding it to the host server... Otherwise , connect with SQL Authentication.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • User State Migration using SMP with config manager 2012 R2

    Hi , 
    I have SMP at primary site and need to migrate XP and 7 machines using this SMP (using USMT), 
    what are the steps do i need to define in TS so that usmt can use State migration point for user setting\data backup?
    Another challenge i see it with XP since we are deciding to take 2 phase approach, that means we will backup data using 1 TS (3 step TS) and then restore data as part of another TS that will install windows 8.1 also with user state restore. 
    Any pointers if we need to define anything special in TS (migration store etc.) or since its SMP, TS should able to take care of finding it automatically and backup\restore user state? 
    We have MDT based TS, just wondering if we need to define anything inside CS.ini file related to SMP? 
    Any pointers will be appreciated. Thanks
    Regards,

    Hi,
    Please refer to the link below:
    How to migrate user data from Windows XP to Windows 8.1 with System Center 2012 R2 Configuration Manager
    http://blogs.technet.com/b/configmgrteam/archive/2013/09/12/how-to-migrate-user-data-from-win-xp-to-win-8-1-with-system-center-2012-r2-configmgr.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Config Manager 2012 client upgrade (via package with batch commands)

    Hello all,
    I would like to kindly ask for your help with my question regarding a SCCM 2012 R2 client upgrade (from RTM to R2)
    Recently, we have upgraded from RTM version of SCCM2012 to R2 (with the PXE hotfix applied)
    During the process, I have choose not to upgrade clients when the SP1 was applied and go straight for the R2, which is not a problem I believe. 
    My question is regarding the pre-created packages, that are showing up in the console. I believe, that they are the easiest way to upgrade clients via packages in SCCM. (we can't push the installation due network policy)
    This hotfix is stored here: \\"FQDN_site_server"\SMS_TSP\hotfix\KB2905002\Client\x64    (in case of x64 version, x86 is the same but x86 in the end)
    The executed file from this path is this with this command following: 
    msiexec.exe /p configmgr2012ac-r2-kb2905002-x64.msp /L*v %TEMP%\configmgr2012ac-r2-kb2905002-x64.msp.LOG /q REINSTALL=ALL REINSTALLMODE=mous
    Anyway, when we install the clients when we deploy it for the first on a machine, that has no client or we reinstall it, we do it with help of this batch command:
    set curdir=%~dp0
    %curdir%ccmsetup.exe SMSSITECODE=TSP /NoCRLCheck /UsePKIcert /forceinstall SMSMP=HTTPS://CML.LTSPRAGUE.CZ CCMHOSTNAME=CML.LTSPRAGUE.CZ
    I just need to know, if I can use the prepared package from the console in our case and if it will keep the settings when the package is deployed.
    I belive I have found a similar questin here on the forums:
    http://social.technet.microsoft.com/Forums/en-US/c9b40687-1843-44c7-b61b-fd26d53ab90b/cumulative-update-3-and-agent-upgrade?forum=configmanagerdeployment
    The second answer might the answer I'm looking for, but can you explain that to me like I'm five years old? :)
    Please, let me know.
    The IT guys from LukOIL

    I'm not sure, because of my short time at  the company, but there are historical security reasons for setting the push installation off. 
    Second reason are strict firewall rules used here. SCCM Agent may contact site server through HTTPS - that is a one way communication, so push installation isn't possible.
    Don't mix "client push" and "automatic client update". See
    http://blogs.technet.com/b/configmgr_geek_speak/archive/2013/09/09/using-configuration-manager-automatic-client-upgrade-to-upgrade-to-the-latest-system-center-endpoint-protection-client.aspx for further details. (And yes, the article talks about SCEP, but
    it also tells details about the entire process)
    Torsten Meringer | http://www.mssccmfaq.de
    Thank you for the article and your, but I find it easier to deploy packages right now.
    I have found out, that there is a folder named "ClientUpgrade" in ConfigMgr installation folder.
    I used this and made a package out of it. Deployment went fine as well as the installation of the upgrade for the client, but there is a problem now, that I don't see any software in the "Software Center" in "Available Software" - and there should be, since
    I have may SW pointed to me and the list was populated before I have done the upgrade to the new version.
    This may be a simple problem, but I really don't know what's wrong.
    The IT guys from LukOIL

  • Cscript.exe for running a program in config manager 2012 R2

    Hi,
    I have packages and have program in it to install software. I have created a .wsf script to install a software with switch. Ts downloads the package but fails to execute the program to install software using cscript.exe filename.wsf.
    I am giving command line as cscript.exe filename.wsf while creating program in Package.
    Just wondering if command line is fine with cscript?
    Just to add, I am using the same procedure while deploying software in MDT 2013 and works fine. any suggestions?
    Regards,

    hi 
    Option Explicit 
    Dim iRetVal 
    'On Error Resume Next
    iRetVal = ZTIProcess
    ProcessResults iRetVal
    On Error Goto 0 
    '// Function: ZTIProcess()
    Function ZTIProcess() 
           iRetVal = Success 
           ZTIProcess = iRetval 
           Dim sInstallName, sInstaller, sSourceDir, sInstallerPath
           sInstallName = "INSTALL - Oracle Java Runtime"
        ' Look for a file with the pattern jre*.exe
           Dim oFolder, files, folderIdx
           Dim oRegExp
           Set oRegExp = CreateObject("VBScript.RegExp")
           oRegExp.Pattern = "jre(.*)\.exe"
           oRegExp.IgnoreCase = True
            '## check if 64-bit platform
        if oEnvironment.item("Architecture") = "X64" then 
               sSourceDir = oUtility.ScriptDir & "\Source\x64"
               sInstaller = ""
               Set oFolder = oFSO.GetFolder(sSourceDir)
               Set files = oFolder.Files    
               For Each folderIdx In files
                Wscript.echo "FolderIdx: " & folderIdx
                      If oRegExp.Test(folderIdx.Name) Then 
                             sInstaller = folderIdx.Name
                             Exit For
                      End If 
               Next
               If sInstaller = "" Then
                      oLogging.CreateEntry sInstallName & ": file was not found, unable to install.", LogTypeError
                      ZTIProcess = Failure
                      Exit Function
               End If
        End If
        ' ## - check if 32-bit platform...
        if oEnvironment.item("Architecture") = "X86" then
            sSourceDir = oUtility.ScriptDir & "\Source\x86"
            sInstaller = ""
               Set oFolder = oFSO.GetFolder(sSourceDir)
               Set files = oFolder.Files    
               For Each folderIdx In files
                      If oRegExp.Test(folderIdx.Name) Then 
                             sInstaller = folderIdx.Name
                             Exit For
                      End If 
               Next
               If sInstaller = "" Then
                      oLogging.CreateEntry sInstallName & ": file was not found, unable to install.", LogTypeError
                      ZTIProcess = Failure
                      Exit Function
               End If
        End if
           ' Create full path filename
           sInstallerPath = sSourceDir & "\" & sInstaller
           oLogging.CreateEntry sInstallName & ": Starting installation", LogTypeInfo 
           '// Check for file
           If not oFSO.FileExists(sInstallerPath) then
                  oLogging.CreateEntry sInstallName & ": Oracle Java Runtime source files not found, unable to install Oracle Java Runtime", LogTypeError
                  ZTIProcess = Failure
                  Exit Function
           End if
           '// Disable Zone Checks
           oEnv("SEE_MASK_NOZONECHECKS") = 1 
           '// Install
           iRetVal = oUtility.RunWithHeartbeat("cmd /c """ & sInstallerPath & """ /s IEXPLORER=1 REBOOT=Suppress")
           '// Configure
           if oEnvironment.item("Architecture") = "X64" then 
                  iRetVal = oShell.run("REG ADD ""HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy"" /v EnableJavaUpdate /t REG_DWORD /d 0 /f", 0, True)
                  iRetVal = oShell.run("REG ADD ""HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy"" /v EnableAutoUpdateCheck /t REG_DWORD /d 0 /f", 0, True)
                  iRetVal = oShell.run("REG ADD ""HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy"" /v NotifyDownload /t REG_DWORD /d 0 /f", 0, True)
                  iRetVal = oShell.run("REG ADD ""HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy"" /v NotifyInstall /t REG_DWORD /d 0 /f", 0, True)
                  iRetVal = oShell.run("REG DELETE ""HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Run"" /v SunJavaUpdateSched /f ", 0, True)
           Elseif oEnvironment.item("Architecture") = "X86" then
                  iRetVal = oShell.run("REG ADD ""HKLM\SOFTWARE\JavaSoft\Java Update\Policy"" /v EnableJavaUpdate /t REG_DWORD /d 0 /f", 0, True)
                  iRetVal = oShell.run("REG ADD ""HKLM\SOFTWARE\JavaSoft\Java Update\Policy"" /v EnableAutoUpdateCheck /t REG_DWORD /d 0 /f", 0, True)
                  iRetVal = oShell.run("REG ADD ""HKLM\SOFTWARE\JavaSoft\Java Update\Policy"" /v NotifyDownload /t REG_DWORD /d 0 /f", 0, True)
                  iRetVal = oShell.run("REG ADD ""HKLM\SOFTWARE\JavaSoft\Java Update\Policy"" /v NotifyInstall /t REG_DWORD /d 0 /f", 0, True)
                  iRetVal = oShell.run("REG DELETE ""HKLM\Software\Microsoft\Windows\CurrentVersion\Run"" /v SunJavaUpdateSched /f", 0, True)
           End if
           '// Add check for successful installtion.
           oLogging.CreateEntry sInstallName & ": Finished installation.", LogTypeInfo 
           '/// Enable Zone Checks
           oEnv.Remove("SEE_MASK_NOZONECHECKS")
    End Function 
    </script>
    </job>
    Script checks source folder\ x86 or x64 and run the jre-7u51-windows-i586 setup with switch
    its .wsf script file
    Regards

  • File Server Resource Manager 2012 - Fails to generate storage report - Event ID: 8242 and 602

    Installed file server resource manager roll on new 2012 file server.   When I attempt to run a dup report on the local volume, I received an error message: "the report generation task failed with the following errors: Error generating report
    job with task name".  "
    Event ID 8242 and 602 are logged in the event viewer.
    Log Name:      Application
    Source:        SRMSVC
    Date:          6/24/2013 11:11:03 AM
    Event ID:      8242
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      xxxxxxxxxxxxxxxxx
    Description:
    Reporting or classification consumer '' has failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SRMSVC" />
        <EventID Qualifiers="32772">8242</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-06-24T16:11:03.000000000Z" />
        <EventRecordID>1276</EventRecordID>
        <Channel>Application</Channel>
        <Computer>xxxxxxxxxx</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
        </Data>
        <Data>
    Error-specific details:
       Error: (0x80131501) Unknown error</Data>
        <Binary>2D20436F64653A20434E534D4D4F444330303030303234332D2043616C6C3A20434E534D4D4F444330303030303231322D205049443A202030303030333036302D205449443A202030303030333734382D20434D443A2020433A5C57696E646F77735C73797374656D33325C73726D686F73742E657865202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SRMREPORTS
    Date:          6/24/2013 11:11:03 AM
    Event ID:      602
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      xxxxxxxxxxxxxxxxxxxx
    Description:
    Error generating report job with the task name ''.
    Context:
     - Exception encountered = System error.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SRMREPORTS" />
        <EventID Qualifiers="0">602</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-06-24T16:11:03.000000000Z" />
        <EventRecordID>1277</EventRecordID>
        <Channel>Application</Channel>
        <Computer>xxxxxx</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Error generating report job with the task name ''.
    Context:
     - Exception encountered = System error.
    </Data>
      </EventData>
    </Event>
    When I click on schedule a new report task, I get an error "Class not registered".
    nada

    Hi,
    When we schedule a new job, we add a scheduled task to the c:\windows\tasks folder.
    The scheduled task will contain the following command line
    "c:\WINDOWS\system32\storrept.exe reports generate /scheduled /Task:"FSRM_Report_Task{GUID.......}"
    There is also a folder on the system drive
    C:\StorageReports\Scheduled
    We Also store information in the system volume information folder in the following files:
    c:\system Volume Information\SRM\Settings\ReportSettings.xml (we use .old and .alt extentions}
    c:\system Volume Information\SRM\reports\reportX.xml (where X = an incrementing number set, in writing to these files, we also use .old and .alt extentions}
    When experiencing issues relating to scheduled report jobs, you will want to examine these files and check for NTFS permissions issues on these locations also.
    Make sure you check the volume that you will be running the report on.
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]

  • Config Manager Agent - after Hardware Inventory High CPU Usage with WMIPRSVE and very fast empty Battery

    Hi there,
    since a few days there is on some machines (40-60) a high cpu usage on one core (quad core cpu machines) with the WMIPRSVE.EXE if the HARDWARE INVENTORY CYCLE started.
    i try out some tests, read some forum articles and troubleshooting the WMI management but a real problem i doesn´t see.
    in some articles i read that hardware inventory runs about minutes up to more hours but some machines runs longer, someone more as 1 day.
    here an example of mine PC:
    at 8:07 i started Hardware Inventory Cycle, in the InventoryAgent.log i can see that some Collection Namespace are captured.
    after a few minutes there stopped and does nothing round about 5.9 hours or better, after 21436.097 Seconds.
    For any hints i am grateful. :)
    Inventory: *********************** Start of message processing. ***********************
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Message type is InventoryAction InventoryAgent
    18.03.2015 08:09:56 11088 (0x2B50)
    Inventory: Temp directory = C:\WINDOWS\CCM\Inventory\Temp\
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Clearing old collected files. InventoryAgent
    18.03.2015 08:09:56 11088 (0x2B50)
    Inventory: Opening store for action {00000000-0000-0000-0000-000000000001} ...
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    CInvState::VerifyInventoryVersionNumber: Mismatch found for '{00000000-0000-0000-0000-000000000001}': 4.2 vs. 0.0
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Version number mismatch; will do a Full report.
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Action=Hardware, ReportType=ReSync, MajorVersion=5, MinorVersion=0
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Inventory: Initialization completed in 0.141 seconds
    InventoryAgent 18.03.2015 08:09:56
    11088 (0x2B50)
    Collection: Namespace = \\localhost\root\Microsoft\appvirt\client; Query = SELECT __CLASS, __PATH, __RELPATH, CachedLaunchSize, CachedPercentage, CachedSize, LaunchSize, Name, PackageGUID, TotalSize, Version, VersionGUID FROM Package; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:09:56
    7836 (0x1E9C)
    Failed to get IWbemService Ptr for \\localhost\root\vm\VirtualServer Namespace: 8004100E
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Failed to enumerate instances of VirtualMachine: 8004100E
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AddressWidth, BrandID, CPUHash, CPUKey, DataWidth, DeviceID, Family, Is64Bit, IsHyperthreadCapable, IsMobile, IsTrustedExecutionCapable, IsVitualizationCapable, Manufacturer,
    MaxClockSpeed, Name, NormSpeed, NumberOfCores, NumberOfLogicalProcessors, PCache, ProcessorId, ProcessorType, Revision, SocketDesignation, Status, SystemName, Version FROM SMS_Processor; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\CCM\powermanagementagent; Query = SELECT __CLASS, __PATH, __RELPATH, Requester, RequesterInfo, RequesterType, RequestType, Time, UnknownRequester FROM CCM_PwrMgmtLastSuspendError; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, Manufacturer, Name, Status FROM Win32_IDEController; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, Description, ExecutableName, FilePropertiesHash, FilePropertiesHashEx, FileSize, FileVersion, HasPatchAdded, InstalledFilePath, IsSystemFile,
    IsVitalFile, Language, Product, ProductCode, ProductVersion, Publisher FROM SMS_InstalledExecutable; Timeout = 600 secs.
    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout
    = 600 secs. InventoryAgent
    18.03.2015 14:06:43 7836 (0x1E9C)
    Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AdditionalProductCodes, CompanyName, ExplorerFileName, FileDescription, FilePropertiesHash, FileSize, FileVersion, FolderPath, LastUsedTime, LastUserName, msiDisplayName,
    msiPublisher, msiVersion, OriginalFileName, ProductCode, ProductLanguage, ProductName, ProductVersion, SoftwarePropertiesHash FROM CCM_RecentlyUsedApps; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, BankLabel, Capacity, Caption, CreationClassName, DataWidth, Description, DeviceLocator, FormFactor, HotSwappable, InstallDate, InterleaveDataDepth, InterleavePosition, Manufacturer,
    MemoryType, Model, Name, OtherIdentifyingInfo, PartNumber, PositionInRow, PoweredOn, Removable, Replaceable, SerialNumber, SKU, Speed, Status, Tag, TotalWidth, TypeDetail, Version FROM Win32_PhysicalMemory; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, InstallDate, Manufacturer, Name, PNPDeviceID, ProductName, Status FROM Win32_SoundDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:02
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName,
    SystemName FROM Win32_USBDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Collection: 62/74 inventory data items successfully inventoried.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Collection Task completed in 21436.097 seconds
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: 12 Collection Task(s) failed. InventoryAgent
    18.03.2015 14:07:12 7836 (0x1E9C)
    Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Starting reporting task. InventoryAgent
    18.03.2015 14:07:12 7552 (0x1D80)
    Reporting: 4381 report entries created. InventoryAgent
    18.03.2015 14:07:13 7552 (0x1D80)
    Inventory: Reporting Task completed in 1.030 seconds
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Cycle completed in 21453.570 seconds
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Inventory: Action completed. InventoryAgent
    18.03.2015 14:07:30 7552 (0x1D80)
    Inventory: ************************ End of message processing. ************************
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName,
    SystemName FROM Win32_USBDevice; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Collection: 62/74 inventory data items successfully inventoried.
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Collection Task completed in 21436.097 seconds
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: 12 Collection Task(s) failed. InventoryAgent
    18.03.2015 14:07:12 7836 (0x1E9C)
    Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml
    InventoryAgent 18.03.2015 14:07:12
    7836 (0x1E9C)
    Inventory: Starting reporting task. InventoryAgent
    18.03.2015 14:07:12 7552 (0x1D80)
    Reporting: 4381 report entries created. InventoryAgent
    18.03.2015 14:07:13 7552 (0x1D80)
    Inventory: Reporting Task completed in 1.030 seconds
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted
    InventoryAgent 18.03.2015 14:07:13
    7552 (0x1D80)
    Inventory: Cycle completed in 21453.570 seconds
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)
    Inventory: Action completed. InventoryAgent
    18.03.2015 14:07:30 7552 (0x1D80)
    Inventory: ************************ End of message processing. ************************
    InventoryAgent 18.03.2015 14:07:30
    7552 (0x1D80)

    InventoryAgent 18.03.2015 08:10:03
    7836 (0x1E9C)
    Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout
    = 600 secs. InventoryAgent
    18.03.2015 14:06:43 7836 (0x1E9C)
    Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs.
    InventoryAgent 18.03.2015 14:06:43
    7836 (0x1E9C)
    Looks like something in one or both of those wmi queries.  it goes from 8:10:03 to 14:06:43 right around there.  6 hours to do that... 
    try running those queries from wbemtest manually; and see which one just never finishes.
    Standardize. Simplify. Automate.

Maybe you are looking for

  • How to  work with java in linux system

    Hi, java 1.5.0_04 program is not running in linux o.s.But the same program is working fine windows . can any body let me know what environment should i set to run it in linux system. test.java:19: error:Cannot find class "JLabel" [JLS 8] thanks.

  • Query not using remote table primary key.

    Hello all, My following query is not using the PK of remote database. vem_business_event_attribute is having a PK on ATTRIBUTE_TYPE_ID and business_event_id. The table is last analyzed on 04-dec-2010. It has around 5 milloin rows. select /*+ DRIVING_

  • Dinamically change the name of a field.

    Dear all, Here is my problem. I have a 3 text fields wraped in a subform. I have also created a button so I can add new instance of this sub form at runtime. All that works nice. However, I also have a HTML subbmit button, and when I submit the form

  • Creating an infinity effect

    I'm trying to create an infinity effect with my background layers and have no idea how to do it. My animation is reasonably simple...a camera tracks into a text layer. I have placed two gradient layers in the background as a floor and a wall. The flo

  • SAP BI issues.

    Hi Experts, I am a novice candidate pursuing for SAP BW/BI opportunities and  appearing for different interviews in SAP BW/BI. Following are some of the questions that I was fired by the interviewers. I appreciate your time and consideration for answ