"Add registry key to VHD to run VmRemoteTool on boot" task fails on SRIOVBasicVerification test

Hi,
I am running SRIOVBasicVerification test. I see below subtask "Add registry key to VHD to run VmRemoteTool on boot" is failing and does not produce any log.
I have passed below parameters to the test.
VMName    :Test
VHDName  : 2012R2.vhd
VHDPath    : c:\VHDs
I have placed 2012R2.vhd in c:\VHDs of test machine.
PS C:\VHDs> get-netadaptersriov
Name                 : Ethernet 3
InterfaceDescription : Network Adapter
Enabled              : True
SriovSupport         : Supported
SwitchName           : Default Switch
NumVFs               : 32
Name                 : Ethernet 4
InterfaceDescription :Network Adapter #2
Enabled              : True
SriovSupport         : Supported
SwitchName           : Default Switch
NumVFs               : 32
Thanks, Krishna

I use this vbscript at the end of my SCCM TS which writes the following to a regkey in HKLM\Software\SCCM_OSD
It doesn't populate all the values but it does most of them and has been very helpful to me.
This is what it writes to the key:
Date Installed
TaskSequenceName
AdvertisementID
Organization
TaskSequence ID
TSVersion
SMSClientGUID (This is the original SMSClient Guid before OSD)
On error resume next
dim osd
dim strkeypath
set env = CreateObject("Microsoft.SMS.TSEnvironment")
const HKEY_LOCAL_MACHINE = &H80000002
'variables
TaskSequenceName = env("_SMSTSPackageName")
AdvertisementID = env("_SMSTSAdvertID")
Organization = env("_SMSTSOrgName")
TaskSequenceID = env("_SMSTSPackageID")
Packagename = env("_SMSTSPackageName")
MediaType = env("_SMSTSMediaType")
TSVersion = env("TSVersion")
SMSClientGUID = env("_SMSTSClientGUID")
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
'----------- Write to registry ---------------
strKeyPath = "SOFTWARE\SCCM_OSD"
oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath
strValueName ="Installed Date"
strValue = formatdatetime(date,2) & " " & formatdatetime(time,3)
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue
strValueName = "TaskSequenceName"
strvalue = TaskSequenceName
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,TaskSequenceName
strValueName = "AdvertisementID"
strvalue = AdvertisementID
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,AdvertisementID
strValueName = "Organization"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,Organization
strValueName = "TaskSequence ID"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,TaskSequenceID
strValueName = "TSVersion"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,TSVersion
strValueName = "SMSClientGUID"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,SMSClientGUID

Similar Messages

  • Modify / Add registry keys through GPO

    Hi
    How can we add / modify registry key through GPO (we are using Windows 2003 AD). Our requirement is to add / modify below key
    HKEY LOCAL MACHINE\Software\Microsoft\Ole , Name: EnableDCOM, Type: REG_SZ, Data: Y
    Thanks in advance 
    LMS

    Hi,
    In addition to the above suggestions, Registry GPP is another alternative method to achieve your goal.
    You do not need to upgrade to Windows Server 2008 or Windows Server 2008 R2 to use Group Policy Preference policies. You can configure a Group
    Policy preference item in a Windows Server 2003 environment from either a Windows Server 2008/R2 server or a Windows Vista with Service Pack 1/Windows 7 client with RSAT update installed. If you do not have Windows Server 2008/R2 server, you can download
    and install Remote Server Administration Tools on a Windows Vista or Windows 7 client to manage and configure them.
    Microsoft Remote Server Administration Tools for Windows Vista 
    http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&displaylang=en
    Remote Server Administration Tools for Windows 7 
    http://www.microsoft.com/downloads/details.aspx?FamilyID=7D2F6AD7-656B-4313-A005-4E344E43997D&displaylang=en
    The CSEs for the new Group Policy preference functionality are required in Windows XP Service Pack 2 (SP2), Windows Server 2003 Service Pack 1 (SP1), and Windows Vista to process the new preference items. To download and install CSEs, please refer to the following
    link:
    Information about new Group Policy preferences in Windows Server 2008
    http://support.microsoft.com/kb/943729
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Test cases runs correctly on IDE but fails on the test runner

    Hi Guys,
    I have a test case here that works fine on my Mars IDE with RCPTT but fails when I run it via the Maven plugin on the same machine.
    The summary of the test case here is that it auto-generates some java files based on changes done to a DSL type language. You will see that there is a Generator project there that does this. Any changes to the type file will trigger the java file to be regenerated with whatever was defined in the Generator project. On the IDE it all works but when it's run via the test runner, it always fails for some reason.
    One interesting thing to note there is if that test case is run first, it does not fail. I initially suspected that the previous test case might have done something to the AUT workspace/environment but it's difficult to prove. The test case in question does have contexts to clear the workspace and to add projects as well as a context for setting the preferences. I did try removing all the contexts except for the workspace context that contains the project that it needs but the execution result is still the same. If I manually ran the same AUT (extracted somewhere else) with the generated test-runner aut workspace right after and made some changes to the type file, the java files are generated correctly.
    So the problem now is, we're not sure what the test runner is doing differently with the RCPTT IDE in this case. It would seem like the test runner is preventing the AUT from generating the files or there might be an error that prevents the generation from happening.
    I've attached the results folder from the test runner execution and the log file from the from the runner-workspace folder.
    cheers!
    Joseph

    Hi Folks,
    We've found out the cause of the problem and have found out that this is not entirely RCPTT related. Apologies for the disturbance. Marking this as a non-issue.
    cheers!
    Joseph

  • SCCM 2012 Installation Directory Registry Key chaning automatically to Old Installation Path

    Hi Guys,
    I have recently recovered SCCM 2012 SP1 CAS Site from Primary Site by reinstalling CAS site and database was replicating with Primary sites properly after CAS recovery. But we noticed that after approx. 2 hours of CAS site recovery database replication stopped.
    After long digging into SCCM log files we found that SCCM installation directory was pointing to old CAS Site Installation Directory (Which was before recovery) instead of NEW Installation Directory so we changed SCCM CAS Site Installation Directory manually
    to new installation path in below registry key and everything was running fine again on CAS Site.
    HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Identification
    But again when we restarted SMS_EXEUTIVE Service, SCCM Installation Directory again changed to old installation patch under above registry location and all is bad again. We are unable to figure out what is causing this and even we formatted our HDD before
    installation CAS Site.
    Can anyone please help to get rid of this issue. Our while CAS site is down due to this issue.
    Thanks.

    I think that you have to use the same installation directory in a site recovery scenario.
    Torsten Meringer | http://www.mssccmfaq.de

  • VBScript, check to see if registry keys exist before running script

    Hi there, 
    I am trying to run the following script in my environment and want to ensure that once it's run once and the registry keys are in place, it does not execute again/ run again as this causes issues. I am going
    to set it up to run when users log into their machine via group policy so really need to make sure once run it won't execute again. Can anyone advise what I need to add to it to make sure it checks first for the keys in the registry before running again? e8cb48869c395445ade13e3c1c80d154
    and 5cb93b24ff710741b7d83b9cb6317992 
    '-=-=-=-=-=-=-=-=-=-=-=-=-=-
    'Written By James McWhinney
    'Vancouver BC, Canada
    'www.importfanatik.com
    'April 26th, 2006
    '-=-=-=-=-=-=-=-=-=-=-=-=-=-
    const HKEY_CURRENT_USER = &H80000001
    strComputer = "."
    Set oReg=GetObject( "winmgmts:{impersonationLevel=impersonate}!\\" _
        & strComputer & "\root\default:StdRegProv")
    RegistryFolder = "Software\Microsoft\Windows NT\" & _ 
      "CurrentVersion\Windows Messaging Subsystem\Profiles\OutlookProfile\"
    LDAPdisplayname = "Domino Directory"
    LDAPserver = "dominodirectory.company.co.uk"
    LDAPport = "389"
    LDAPsearchbase = "o=company.co.uk"
    'Add Ldap Type Key
    sKeyPath = RegistryFolder & "e8cb48869c395445ade13e3c1c80d154\"
    oReg.CreateKey HKEY_CURRENT_USER, sKeyPath 
    oReg.SetBinaryValue HKEY_CURRENT_USER, _
         sKeyPath, "00033009", Array(0,0,0,0)
    oReg.SetBinaryValue HKEY_CURRENT_USER, _
         sKeyPath, "00033e03", Array(&H23,0,0,0)
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , _
         "001e3001", "Microsoft LDAP Directory"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , _
         "001e3006", "Microsoft LDAP Directory"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , _
         "001e300a", "EMABLT.DLL"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , _
         "001e3d09", "EMABLT"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , _
         "001e3d13", "{6485D268-C2AC-11D1-AD3E-10A0C911C9C0}"
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, _
        "01023d0c", Array(&H5c,&Hb9,&H3b,&H24, _
        &Hff,&H71,&H07,&H41,&Hb7,&Hd8,_
        &H3b,&H9c,&Hb6,&H31,&H79,&H92)
    'Add Ldap connection settings key
    sKeyPath = RegistryFolder & "5cb93b24ff710741b7d83b9cb6317992\"
    oReg.CreateKey HKEY_CURRENT_USER, sKeyPath
    oReg.SetBinaryValue HKEY_CURRENT_USER, _
         sKeyPath, "00033009", Array(&H20,0,0,0)
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "000b6613", Array(0,0)
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "000b6615", Array(0,0)
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e3001", LDAPdisplayname
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e3d09", "EMABLT"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e3d0a", "BJABLR.DLL"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e3d0b", "ServiceEntry"
    oReg.SetStringValue HKEY_CURRENT_USER, _
         sKeyPath , "001e3d13", "{6485D268-C2AC-11D1-AD3E-10A0C911C9C0}"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6600", LDAPserver
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6601", LDAPport
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6602", ""
    oReg.SetStringValue HKEY_CURRENT_USER, _
         sKeyPath , "001e6603", LDAPsearchbase
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , _
         "001e6604", "(&(mail=*)(|(mail=%s*)" & _ 
         "(|(cn=%s*)(|(sn=%s*)(givenName=%s*)))))"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6605", "SMTP"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6606", "mail"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6607", "60"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6608", "100"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6609", "120"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e660a", "15"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e660b", ""
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e660c", "OFF"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e660d", "OFF"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e660e", "NONE"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e660f", "OFF"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6610", "postalAddress"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6611", "cn"
    oReg.SetStringValue HKEY_CURRENT_USER, sKeyPath , "001e6612", "1"
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "001e67f1", Array(&H0a)
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "01023615", _
         Array(&H50,&Ha7,&H0a,&H61,&H55,&Hde,_
         &Hd3,&H11,&H9d,&H60,&H00,_
         &Hc0,&H4f,&H4c,&H8e,&Hfa)
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "01023d01", _
         Array(&He8,&Hcb,&H48,&H86,&H9c,&H39,_
         &H54,&H45,&Had,&He1,&H3e,&H3c,_
         &H1c,&H80,&Hd1,&H54)
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "01026631", _
         Array(&H98,&H17,&H82,&H92,&H5b,&H43,_
         &H03,&H4b,&H99,&H5d,&H5c,_
         &Hc6,&H74,&H88,&H7b,&H34)
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "101e3d0f", _
         Array(&H02,&H00,&H00,&H00,&H0c,&H00,_
         &H00,&H00,&H17,&H00,&H00,&H00,_
         &H45,&H4d,&H41,&H42,&H4c,&H54,_
         &H2e,&H44,&H4c,&H4c,&H00,&H42,_
         &H4a,&H41,&H42,&H4c,&H52,&H2e,_
         &H44,&Hc,&H4c,&H00)
    'Append to Backup Key for ldap types
    sKeyPath = RegistryFolder & "9207f3e0a3b11019908b08002b2a56c2\"
    oReg.getBinaryValue HKEY_CURRENT_USER,sKeyPath, "01023d01",Backup
    Dim oldLength
    oldLength = UBound(Backup)
    ReDim Preserve Backup(oldLength+16)
    Backup(oldLength+1) = &He8
    Backup(oldLength+2) = &Hcb
    Backup(oldLength+3) = &H48
    Backup(oldLength+4) = &H86
    Backup(oldLength+5) = &H9c
    Backup(oldLength+6) = &H39
    Backup(oldLength+7) = &H54
    Backup(oldLength+8) = &H45
    Backup(oldLength+9) = &Had
    Backup(oldLength+10) = &He1
    Backup(oldLength+11) = &H3e
    Backup(oldLength+12) = &H3c
    Backup(oldLength+13) = &H1c
    Backup(oldLength+14) = &H80
    Backup(oldLength+15) = &Hd1
    Backup(oldLength+16) = &H54
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "01023d01", Backup
    'Append to Backup Key for ldap connection settings
    sKeyPath = RegistryFolder & "9207f3e0a3b11019908b08002b2a56c2\"
    oReg.getBinaryValue HKEY_CURRENT_USER,sKeyPath, "01023d0e",Backup
    oldLength = UBound(Backup)
    ReDim Preserve Backup(oldLength+16)
    Backup(oldLength+1) = &H5c
    Backup(oldLength+2) = &Hb9
    Backup(oldLength+3) = &H3b
    Backup(oldLength+4) = &H24
    Backup(oldLength+5) = &Hff
    Backup(oldLength+6) = &H71
    Backup(oldLength+7) = &H07
    Backup(oldLength+8) = &H41
    Backup(oldLength+9) = &Hb7
    Backup(oldLength+10) = &Hd8
    Backup(oldLength+11) = &H3b
    Backup(oldLength+12) = &H9c
    Backup(oldLength+13) = &Hb6
    Backup(oldLength+14) = &H31
    Backup(oldLength+15) = &H79
    Backup(oldLength+16) = &H92
    oReg.SetBinaryValue HKEY_CURRENT_USER, sKeyPath, "01023d0e", Backup
    'Delete Active Books List Key
    sKeyPath = RegistryFolder & "9375CFF0413111d3B88A001" & _ 
               "04B2A6676\{ED475419-B0D6-11D2-8C3B-00104B2A6676}"
    oReg.DeleteKey HKEY_CURRENT_USER, sKeyPath

    this will help to read computer names from c:\computerlist.txt and connect to each computer and check if the registry exists or not. you need to make sure you run with user that has access to all the computer. this script only checks if the regkey exists
    or not. you will have to include logic from your script as to what actually should happen when registry key not found.  as always please use this as example and use it at your own risk. 
    Const HKEY_CURRENT_USER = &H80000001
    Const FORREADING = 1
    strComputer = "."
    inFilename = "c:\Computerlist.txt"
    Set fsoIn = CreateObject("scripting.filesystemobject")
    Set inFile = fsoIn.OpenTextFile(inFilename, ForReading, True)
    While Not inFile.AtEndOfStream
    arrComputerNames = Split(inFile.Readline,",")
    ' arrComputerNames(0) contains the computer name
    strComputer = arrComputerNames(0)
    StrRegExistFlage = "No"
    Set oReg=GetObject( "winmgmts:{impersonationLevel=impersonate}!\\" _
    & strComputer & "\root\default:StdRegProv")
    strKeyPath = "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\EvOutlookDeploymentProfile"
    oReg.EnumKey HKEY_CURRENT_USER, strKeyPath, arrSubKeys
    If isarray(arrSubKeys) then
    For Each subkey In arrSubKeys
    If subkey = "e8cb48869c395445ade13e3c1c80d154" Then
    StrRegExistFlage = "Yes"
    ElseIf subkey = "5cb93b24ff710741b7d83b9cb6317992" Then
    StrRegExistFlage = "Yes"
    End If
    Next
    Else
    Wscript.echo "Reg folder not found on computer " & strComputer
    End If
    If StrRegExistFlage = "Yes" Then
    Wscript.echo "exit script on computer " & strComputer
    Else
    Wscript.echo "execute script on comptuer " & strComputer
    End If
    Wend
    inFile.close

  • I can not re-install/ update apple iTunes on my HP PC running Win7-64.  I get a registry key error when installing and am asked to make sure I have access.  IT is a home PC with one user and I have admin priveledges.

    When the updater notified me of an iTunes update, I selected the update option.  The update failed and killed the version I was running.  I have tried for a year to fix the problem without sucess.  I can't completely remove all Apple products.  I can not install any apple products especially iTunes which is the only one I am interested in.
    When I install iTunes now I get a registry key error similar to this:
    I am using a machine where I am the only user and am the Admin.   I have looked at the security settings on this key and see nothing wrond with it or the parent keys.  I tried removing all apple products but ran into similar problems.  At this time I still have Bonjour. Mobile Device Support, Software Update, and Application Support installed.

    These ones are tricky. But the following instructions are worth a try.
    First do a complete uninstall of iTunes and related components (but don't reinstall just yet), as per the following document:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    a. Launch regedit (Start >> Search Programs and Files >> type Regedit and open the regedit that comes up.)
    b. Access the following Location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData \S-1-5-18\Components
    c. Perform the following actions
    i. Right Click on Components Folder
    ii. Select Permissions
    iii. Select Full Control and Read Permissions options
    iv. Select Advanced Button
    v. Select Owner Tab
    vi. Select to Change Owner to the Administrators
    vii. Check the option “Replace owner on subcontainers and objects”
    viii. Select OK when prompted that it may not change all.
    ix. Select Apply
    x. Select Apply again
    xi. Exit the Registry Editor
    Now try reinstalling iTunes again. Does it go in properly this time?

  • Open Registry Key VI. Error -604. But just under Run Time Engine (RTE) when no admin rights

    Hi,
    When I run my code under RTE I'm getting -604 error saying remote access to registry denied.
    To make it work I have to grant admin rights to the user, and then I can run my code under RTE.
    The problem doesn't exist under Development Environment. The user can have no admin rights to be able access the registry.
    OS: Win7 x32
    Any suggestions?

    Well in the RTE it's an executable so I expect UAC has a look at what the exe tries to do. Also...are you running the development environment on an account with administrator privileges / UAC turned off? (I do development on a PC with local admin rights....and/or when LV installs it requests to always run with elevated privleges).
    I think there is a way to get an application to declare it needs elevated privileges at install/run-time somehow but I never really figured out how to do this.
    (Because to install the software you need admin rights so while installing it can do other things...which is why you can set registry keys in your installer)
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Failed to set security on SQL Server registry key. Error: 2

    Hi,
    I have a Primary site (mixed mode) running SCCM 2007 SP1 for many months now with no issues.
    This site is made up of two Win 2008 sp2 servers sharing the SCCM roles:-
    SCCM01 - Site server, DP, RP, PXE and SQL2005 hosting the SCCM database
    SCCM02 – SUP, MP, FSP, SLP
    The SQL2005 on SCCM01 is running under a domain service account called
    domain\service_sccm which is also a sysadmin in SQL as is the SCCM02 server.
    In an effort to resolve the isse I have made this account a Domain Admin.
    I have also used this account to log onto SEC01 to run the Secondary Site installation and to be the SQL Service account.
    I'm now trying to add a Secondary Site on a Domain Controller called SEC01 (also Win2008 sp2) and on the same LAN as the SCCM01/02.
    This is where I get problems.
    I run the installation locally on the Sec Site server (DC) as a Domain Admin and the installation completes OK (all green ticks),
    the ComponentSetup.log and Pre-Reqs are all good as well however when I check the ConfigMgrSetup.log I see the below -
    Failed to set security on SQL Server registry key. Error: 2.
    <11-09-2010 22:46:59> SMS Setup full version is 4.00.6221.1000
    <11-09-2010 22:46:59> Successfully set security on Setup registry key.
    <11-09-2010 22:46:59> Failed to set security on SQL Server registry key. Error: 2
    <11-09-2010 22:46:59> Successfully set security on Identification registry key.
    <11-09-2010 22:46:59> Creating SMS Inbox Source registry key ...
    <11-09-2010 22:46:59> Installing SMS Site Component Manager ...
    <11-09-2010 22:46:59> Installing Site Component Manager under acct <NT AUTHORITY\SYSTEM> path <C:\Program Files (x86)\Microsoft
    Configuration Manager\bin\i386\sitecomp.exe>
    <11-09-2010 22:47:01> Started Site Component Manager service
    <11-09-2010 22:47:01> SMS Site Component Manager installation completed.
    <11-09-2010 22:47:01> Done with service installation
    Adding the PMP role to SEC01 also fails to install and no MPSetup or MPControl logs are created.
    WebDav and win2008 roles, features all added and server fully patched.
    Despooler.log on SCCM01 seems good and passing keys.
    Tried installing to default path and to shortened path such as C:\SCCM
    The new secondary site is listed in the console and an address can be added for the Secondary Site
    BITS Server Extensions and Remote Differential Compression Features are enabled.
    The Group memberships all appear ok:-
    SCCM01
    Local Admins    
    contains the sec site server SEC01, SCCM01, installation accounts
    SMS_SiteToSiteConnection_001              
    SEC01 (the sec site server)
    SMS_SiteSystemToSiteServerConnection_001                 
    SCCM02
    SEC01
    No Local Admins as a DC
    SMS_SiteToSiteConnection_002              
    SCCM01
    SMS_SiteSystemToSiteServerConnection_002     
    empty
    SQL 2005
    This has the account logged in during installation as a sysadmin
    SCCM02 is also sysadmin
    The fundamental issue appears to be that the SEC01$ server account is not being added to SQL Logins (and therefore SCCM database Roles)
    therefore the installation cannot complete.
    I have tried to manually add the SEC01 account to SQL Logins before installation of Sec Site but this did not work.
    Not sure if the fact that SEC01 is a DC may be a factor.
    Appreciate any help if anyone has seen this before or can suggest a resolution.
    Thanks

    After a lot of digging around and head scratching I eventually found the resolution.
    The original thread title Error turned out to be a bit of a red herring in that my failure to deploy Sec Sites came down to two separate issues seemingly unrelated to the error message of the thread title.
    The first part of the resolution was to manually create the SQL Server accounts for the Sec Site Servers and assign them to the smsdbrole_MP DB role to
    let the SQL side of the SCCM install complete a s these were not being created automatically.
    This then left the fact that that the installation of the Sec Site completed successfully according to the install logs in C:\ however the DP and MP would
    never install.
    The big clue was eventually contained in the mpfdm.log errors relating to
    **ERROR: Cannot find path for destination inbox SMS_AMT_PROXY_COMPONENT on server REGISTRY SMS_MP_FILE_DISPATCH_MANAGER 
    and
    **ERROR: Cannot find path for destination inbox Asset Intelligence KB Manager on server REGISTRY SMS_MP_FILE_DISPATCH_MANAGER 
    Thankfully the errors led me to these two blogs:
    http://myitforum.com/cs2/blogs/scassells/archive/2009/07/20/error-cannot-find-path-for-destination-inbox-sms-amt-proxy-component-on-server-registry.aspx
    and
    http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/5fcc53d4-8629-4b34-9eaa-6cb020eedc13/
    As it turned out the SCCM installation registry and folder creation does not complete and I had to manually enter the reg settings as detailed in the
    links above to complete the installation. Once I did as described everything worked a treat – all my MPs and DPs are 100% now.
    Solutions
    Add the following reg keys to each of your effected secondary sites.
    Inbox Fix
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\MPFDM\Inboxes]
    "Asset Intelligence KB Manager"="E:\\Program Files\\Microsoft Configuration Manager\\inboxes\\AIKbMgr.box"
    "SMS_AMT_PROXY_COMPONENT"="E:\\Program Files\\Microsoft Configuration Manager\\inboxes\\amtproxy.box" 
     Asset Intelligence fix:
     Note: you will need to identify the next largest key value. 
    In my example it was key 49
     Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Inbox Source\Inbox Definitions\49]
    "Inbox Name"="Asset Intelligence KB Manager"
    "Relative Path"="inboxes\\AIKbMgr.box"
    "NAL Path"=""
    "User Rights"=dword:00000000
    "Service Rights"=dword:00000004
    "Monitoring Enabled"=dword:00000001
    "Location Type"=dword:00000001
    "Guest Rights"=dword:00000001
    AMT registry Fix.
      Note: you will need to identify the next largest key value. 
    In my example it was key 50
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Inbox Source\Inbox Definitions\50]
    "Inbox Name"="SMS_AMT_PROXY_COMPONENT"
    "Relative Path"="inboxes\\amtproxy.box"
    "NAL Path"=""
    "User Rights"=dword:00000000
    "Service Rights"=dword:00000004
    "Monitoring Enabled"=dword:00000001
    "Location Type"=dword:00000001
    "Guest Rights"=dword:00000001
    Big thanks to Shaun Cassells and John Marcum for these blogs

  • SharePoint 2010 with SQL Reporting Services 2012 "Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key"

    i have a small sharepoint farm "2 servers" (WFE) and SQL Server 2012 ,
    i installed rsSharePoint for reporting services , as a read the Reporting services is Application Service  with SQL 2012 not as SQL 2008 R2 with SharePoint integrated mode, so after installation when am trying to configure the  SQL Server
    Reporting Services Application services i got the below error :
    "Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key"
    any kind of help would be much appreciated .

    I'm having the same issue, but to me it seems like the instructions I've seen are all over the place.  I already have SP 2013 and SQL 2012 SP 1 installed.  I already added the features for Reporting Services - Sharepoint and Reporting Services
    Add-in for SharePoint Products.  I didn't see the Reporting Service service in CA, so I ran the powershell scripts to add SPRSService and SPRSServiceProxy. 
    My initial quest, was to get the BI features enabled, which took me on the journey of adding the Report Services, then I got the error.
    Then when I read this about installing the BI features
    http://blogs.msdn.com/b/querysimon/archive/2012/11/26/installing-the-bi-features-of-sharepoint-2013.aspx, which I already had SQL and SP installed.  Do I have to rerun and selct the SQL Server PowerPoint for SharePoint option?  I have the PowerPoint
    Configuration Tool on my SQL server, I run it and I get PowerPivot for SP 2013 Configuranoi is missing prerequisits:  SP 2013 EE is required.  Which I have EE.
    Is Reporting Services different or in addition to the BI Feature (PowerPivot)? 
    Have I missed a step?
    Thanks for you help.
    Kim
    Kim.Williams

  • Exchange BPA Errors (Exchange server is a virtual machine but the additional tools are not installed and The 'Services' string type value located in 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup\Services' registry key is missing)

    Hi,
    I am running BPA on My Exchange 2010 VM (Server 2008 R2 VM on Hyper-V) and get the following errors:
    The 'Services' string type value located in 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup\Services' registry key is missing or inaccessible. The Microsoft Exchange Information Store service won't start. As a result, all services that depend
    on this service won't be able to start
    Exchange server [Exchange Server FQDN] is a virtual machine but the additional tools are not installed. This configuration is not supported. Install Virtual Machine Additions for this guest.
    Problem is that, for the first, that Key exists and the service is actually running fine. And for the second my VM tools are already installed.
    Hopefully someone out there has had the same issue and can assist.
    Pete

    Hi Pete,
    For the first error message, please try the following steps:
    Make sure the Information Store service is in Starting status,
    Automatic startup type and works well, as a test we can try to
    restart the Infroamtion Store service and verify the service works well.
    Start
    Registry Editor, find the registry key “Services” under “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup”, its value is “C:\Program
    files\Microsoft\Exchange Server\v14”(default install location), please check your registry, make sure the key “Services” exist and value is the Exchange Server install location and the
    location is accessible;
    Start
    Registry Editor, and locate the following registry key:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\Setup
    Use the
    Permission option under the Security tab to check the permission setting on this key. Make sure
    System is in the list with Full Control permissions if the service account is Local System. If you are not using Local System as the service account, check the existence of the corresponding account in the list and ensure that
    it has Full Control permissions. Please refer to this article:
    Title: Exchange Store Does Not Start: Errors 7024, 1026, 9542, and 5000
    Link:
    http://support.microsoft.com/kb/285116
    Start
    ADSI Edit, and then browse to the following location:
    Domain.com/Configuration/Services/Microsoft Exchange/Org/Administrative Groups/AdminGroup/Servers/Server Name
    Right-click the
    server name, and then click Properties.
    Click the
    Security tab, make sure this own server’s server object have
    full control permission on its own server.
    If not or the object is missing, please modify the permission or click
    Add, locate the computer account for the Exchange Server computer, add it to the Permissions list with full control.
    Click OK, and then close ADSI Edit.
    Use
    Active Directory Users and Computers to add the current affected
    Exchange Server computer account to the Exchange Servers(previous version should be “Exchange Domain Servers”) group in the
    Microsoft Exchange Security Groups( or Users) OU. Refer to this article:
    http://support.microsoft.com/kb/297295.
    Restart the Exchange Server computer, then rerun the ExBPA.
    For the second error message, Microsoft don’t recommend to install Exchange Server on virtual machine without additional tools, so the error message occurs. We can just ignore
    this message, it will not affect the Exchange servers.
    Regards, Eric Zou

  • Reportings Services in a 2-Tier Architecture / (Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key. )

    Hello,
    we want to install Reporting Services in a 2-Tier Architecture. The Servers are the following:
    SERVER1: Windows Server 2012 and SQL Server 2012
    SERVER2: SharePoint 2013 (WFE)
    Reporting Server is installed on SERVER1 and running. On SERVER2 the registration of the service through Powershell was done but it does not start. An Error when starting the Service on the server occurs with the message:
    "Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key."
    I have found the following in msdn stating that a minimal of the same SharePoint Installation must exist on the Reporting Server. The article is for SQL Server 2008 R2 and SharePoint 2010. Is this the case also for SQL Server 2012 and SharePoint 2013 and
    the root of the problem? http://msdn.microsoft.com/en-us/library/bb510781%28v=sql.105%29.aspx
    If so does this mean that I require for the installation another License?!?!
    Thank you in advance!

    Hi,
    According to your post, my understanding is that you wanted to install Reporting Services in a 2-Tier Architecture.
    As the article
    say, if you use Two-Computer Deployment, the first computer hosts an instance of a SharePoint product. The Reporting Services Add-in is installed on this computer. The second computer hosts SQL Server Reporting Services and the Database Engine.
    The steps to install in a  two-tier environment are very similar to a standalone environment hence you can go to refer to the ' Install Reporting Services SharePoint Mode for SharePoint 2013' article at http://msdn.microsoft.com/en-us/library/jj219068(v=sql.110).aspx
    To install in a  two-tier environment, you can refer to:
    How to setup, configure and test
    SQL 2012 SP1 SSRS with SharePoint 2013 SP1
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Adding a Registry Key via Group Policy on Windows server 2008 R2

    Hi all;
    I need to add the following Registry Key and values to several PCs across the network, I tried doing so via a logon script and via Registry Preferences through GP but it didn't work!
    Method 1: Logon script:
    regedit.exe /S \\bbk-files\BBK Templates\slxbasic.reg
    The slxbasic.reg contains the following:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\SalesLogix\ADOLogin\Connection1]
    "Alias"="BBKSLX_PRODUCTION"
    "Provider"="SLXOLEDB.1"
    "Initial Catalog"="BBKSLX_PRODUCTION"
    "Data Source"="BBK-SLX1"
    "DBUser"=""
    "Extended Properties"="PORT=1706;LOG=ON"
    Method 2: GP Preference:
    I add the above mentioned values via the GP Preference for the Registry and still didn't work, I also tried the Registry wizard and imported the required Registry info from another PC and still didn't work.
    When I check the GP result for the required PCs, I see that the GP is applied, but when I check the registry, I don't find the required values their!
    Please help.

    Hi,
    >>When I'm processing a GP results report, I'm processing it for a certain PC and a certain user, and I look at the User's applied policies and I can find the policy
    there.
    How is the issue going? Are we still unable to see the value in the Registry?
    >>Users have permissions on the shred drive and can navigate to the location and run the .reg file manually.
    After we ran the script manually, did we check the Registry to see if the value had been changed?
    Best regards,
    Frank Shen

  • ForceLargerFonts Registry Key - where does it go on WIN2K8?

    SysAdmin used the ForceLargerFonts registry key on my Windows 2003 server with success
    but have had no luck with Win2008 Server.
    Using Crystal 11.0.0.1282
    Registry Key originally installed when Crystal installed on the Win2008 64 Bit server:
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Business Objects\Suite
    12.0\Crystal Reports\Export\PDF
    Class Name: <NO CLASS>
    Last Write Time: 8/22/2011 - 3:51 PM
    Value 0
    Name: ForceLargerFonts
    Type: REG_SZ
    Data: 1
    Also tried it under:
    Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal
    Reports\Export\PDF
    Class Name: <NO CLASS>
    Last Write Time: 8/30/2011 - 11:15 AM
    Value 0
    Name: ForceLargerFonts
    Type: REG_SZ
    Data: 1

    Hello,
    First upgrade to CR XI R2 ( version 11.5 ) for free and use your XI keycode, make sure you have it, we can't give you a new one.
    And install both patches before running crystal reports.
    https://smpdl.sap-ag.de/~sapidp/012002523100009114712011E/crxir2sp4_fullbuild.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100009114412011E/crxir2sp6_incremental.exe
    Then add the key to this path:
    HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\Export\PDF
    Those keys you pasted in are for Crystal Reports 2008 ( version 12 )
    Don
    Edited by: Don Williams on Aug 30, 2011 1:59 PM

  • MaxNBrowseValue Registry Key

    Hello,
    We have a report with a parameter with dynamic prompt. This read entries from Item Master Table from the database. When running the report, only 500 or so item records are displayed in the prompt, though there are around 1500 records.
    Upon searching on internet, I came across some posts for older versions that there is a registry key which controls the number of records being displayed. I changed this value to 1000, but there was no effect. In fact, after restarting, I realised that Crystal has changed the value back to 500.
    Is there any other way to control this??
    We are using Crystal Reports 2008 for SAP Business One.
    Thanks & Regards,
    Rahul Jain

    the registry key changes are as follows
    Crystal Reports 2008
    1.     Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12\Crystal Reports\DatabaseOptions\LOV.
    NOTE     Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 12\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12\Crystal Reports\DatabaseOptions\LOV key.
    2.     Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter.
    NOTE: The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI R3 or Crystal Reports Server XI R3, you must specify another value.
    NOTE     The higher the number of values is, the longer it will take the Enter Values dialog box to populate with values.
    3.      After making changes to the registry, restart the affected service or application as required.
    regards,
    Raghavendra

  • Registry keys after SharePoint Upgrade from 2007 to 2010

    Hi,
    I'm working on a SharePoint Server 2010 Farm, where it has been upgraded from 2007, actually I don't have enough information about the history of this upgrade, but
    it seems it was an in-place upgrade, and the 12 Hive folder is still there.
    Looking at the Windows Registry, I found that Registry Entries for 2007 version is still there: ([HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared
    Tools\Web Server Extensions\12.0] ), one of those entries is named "SharePoint" and its value is "Installed".
    Is this a normal situation?
    We are trying to install an antivirus for SharePoint but the installation is keep failing the vendor is claiming that this is the issue (2007 registry entries), and
    that the upgrade have not been done successfully.
    The SharePoint 2010 farm is running perfectly, and I have ran a "LocalUpgradeStatus" command on one of the servers, the output is with no issues.
    I have checked below pages and everything is normal:
    Check product and patch installation status
    Review database status
    Check upgrade status
    Any thoughts? is it normal to have such old registry entries in place? shall I just clean them?
    What do you recommend in such situation?
    Hamza AlSughier

    Hi Hamza,
    It should be in-place upgrade for your environment, here is a workaround per the following similar post, please confirm with antivirus vendor if the 12 registry files and 12 hive cause this issue, if yes, then backup the 12 registry files and 12 hive, then
    after you installed the antivirus successfully you can add the keys back.
    Note, Please fully test in your testing environment firstly before touching the production, and production also needs to be fully backed up.
    https://social.technet.microsoft.com/Forums/en-US/0a3f0b25-49be-488c-ac11-0bfab0f3cbe1/do-you-recommend-remove-sharepoint-2007-after-upgrade-in-place-to-sharepoint-2010?forum=sharepointadminprevious
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for

  • Part number for hp officejet 8600 feed roller

    I have a  HP OfficeJet pro 8600 . What is the part number for the cassette feed roller ? Mine has ripped apart.

  • All of .Mac Mail is gone, BUT I have a 24hr old Backup, need help!

    I've been reading here for the past few hours about Mail disappearing and whatnot. This is my .Mac Mail that just vanished, the inbox is empty, although the sent items is still all there. I make daily backups of the hard drive using Super Duper. One

  • Send Message to Session via SQL?

    Hello, I see some of the oracle tools touting the ability to send lan messages to oracle sessions/users. Can anyone describe how to do this with SQL? I've looked and looked and cannot find a solution to this. Thanks!

  • Business Objects in Solution Mgr for TREX

    I am rather new to Solution Mgr and am looking to use TREX to do text searches on documents located within the SOLAR01 transaction. Can any point me in the direction of where to look for the BUSOBJs that are needed to do this?  I haven't found any do

  • How do I remove a purchase that I didn't make

    Some downloads are showing up on my account that I didn't purchase.  How do I resolve this?