Jump to content


Paul Andrews

Established Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Paul Andrews

  1. Hi,

    I've ran into a bit of an issue which I hope someone can assist (or point me in the right direction)

    My building had SCCM installed and was the only site in the company. We recently acquired another company and they had the newest SCCM environment so the decision was made to have them as the main site and set us up as a DP.

    The DP was setup here and everything was setup and was looking great, I ran the below script (with the correct site name) and it worked fine, the machines picked up the new site code and were showing in "new" Configuration Manager Console.

    On Error Resume Next
    set oSMSClient = CreateObject ("Microsoft.SMS.Client")
    if Err.Number <>0 then
    wscript.echo "Could not create SMS Client Object - quitting"
    end if
    'Assign client to Servername
    oSMSClient.SetAssignedSite "SITECODE",0
    set oSMSClient=nothing

    The last couple of days, when i add machines, they are no longer being picked up by the new Configuration Manager Console. They pick up the site code and the assigned management point but are not being seen in the new Configuration Manager Console.

    Below is the log from exermgr.log

    Raising event:
    [SMS_CodePage(850), SMS_LocaleID(2057)]
    instance of SoftDistProgramCompletedSuccessfullyEvent
    {
    	AdvertisementId = "XXX200AC";
    	ClientID = "GUID:XXX";
    	DateTime = "20170504115048.531000+000";
    	MachineName = "XXX";
    	PackageName = "XXX002DC";
    	ProcessID = 4864;
    	ProgramName = "SiteCode_Change";
    	SiteCode = "XXX";
    	ThreadID = 1712;
    	UserContext = "NT AUTHORITY\\SYSTEM";
    };
    	execmgr	04/05/2017 12:50:48	1712 (0x06B0)
    Raised Program Success Event for Ad:XXX200AC, Package:XXX002DC, Program: SiteCode_Change	execmgr	04/05/2017 12:50:48	1712 (0x06B0)
    Execution is complete for program SiteCode_Change. The exit code is 0, the execution status is Success	execmgr	04/05/2017 12:50:48	1712 (0x06B0)

    I have checked boundrys and the network team have said they haven't changed anything so I'm a bit perplexed.

    Any help appreciated.

    Paul

  2. Hi Samson,

    I had to do the same thing as you, but had Office 2010 x64, Lync 2013 x64 and I needed to go to Office 2016 x86.

    I'm sure there are easier ways to do this, but this is how I achieved what I needed (in caveman terms):

     

    I created 4 applications:

    1. Office 2016 ProPlus x86 (With OD and Pub)
    2. Uninstall Office 2013 x64
    3. Uninstall Office 2010 x64
    4. Kill Office Processes

    and made each dependant on the proceededing number (1 dependant on 2, 2 dependant on 3 etc.) which means when I deployed the first one it will actually install backwards and uninstall everything and then install Office last.

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

    4. Kill Office Processes
    Function: Kills all open instances of Office apps

    Installation Program: "KillOfficeProceses.bat"
    Detection Method: 
    Type: Folder
    Path: C:\Temp
    Folder Name: OfficeKilled

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

    3. Uninstall Office 2010 x64
    Function: Uninstalls Office 2010 x64

    Installation Program: uninstall.bat
    Detection Method: 
    Type: Folder
    Path: C:\Temp
    Folder Name: Office2010Uninstalled

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

    2. Uninstall Office 2013 x64
    Function: Uninstalls Office 2013 & Lync 2013 x64

    Installation Program: cscript.exe OffScrub13.vbs ALL /q /NoCancel
    Detection Method: 
    Type: Folder
    Path: C:\Temp
    Folder Name: Office2013Uninstalled

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

    1. Office 2016 Proplus x86 Install
    Function: Installs Office 2016 ProPlus x86 w/ Outlook, Word, Excel, PowerPoint, OneDrive, Publisher & Skype for Business

    Installation Program: setup.exe /configure configuration.xml
    Uninstallation Program: setup.exe /configure uninstall.xml
    Detection Method: 
    Type: Windows Installer
    Product Code: {90160000-008F-0000-1000-0000000FF1CE}

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

    I have added the script I used (Apologies if that isn't allowed here, please remove it they are and I can give them to whoever needs them)

    I realise this might not make sense so if it doesnt please feel free to ask for a bit more clarity, I wrote this on a busy train and kind of rushed it.

     

     

     

  3. Hi Skoban,

    Is this being installed on a machine that doesn't have any version of Office already, or is it upgrading an already installed version?

    I persnoally install it as an application, with a couple of tasks running afterwards for "tidying up"

    I ran into an issue in where the content location was wrong and SCCM wasn't able to find the installer and it exited with that error.

    Double check your content location to see if SCCM is able to find the install files, and if its correct, delete the application and start again - sometimes there is something somewhere that is wrong and re-creating the application from scratch sorts that.

     

  4. Hi guys,

     

    Thanks for the responses (apoloiges I didnt get back to you before, its been a tad hectic)

     

    In the end we took a more manual approach to it (management choice...) and had someone go around and uninstall the old one and install the new one.

     

    To answer your question Jorgen, the VPN software we use isn't fantastic and when uninstalled, it deletes the NIC. The company have a script they advise running afterwards called "RestoreNIC" which tells me they arent confident in their software.

     

    Thread can be locked, thanks again for the reponses.

  5. Hi all,

     

    Hoping someone can assist with my question.

     

    I have a VPN client that needs upgrading from an out of date (by 2 years) version to the new shiny one. Because of how out of date it is, I can't use the newest version as a direct upgrade as its not supported on the version I'm upgrading from so I need to do the following:

     

    Uninstall VPN

    Reboot
    Install new version

    Reboot

     

    I tried this in a task sequence but it didnt work, it uninstalled but didnt reinstall the new one.

     

    Has anyone got a different way of doing this?

     

    I should also add that uninstalling the VPN client disables the NIC (which is helpful) so i have copied the client locally and am using it that way.

     

    Any help appriciated.

     

    Thanks,

×
×
  • 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.