locked
The Expanded package flag must be set if ShareName is specified RRS feed

  • Question

  • Hi.

    I am trying to migrate packages from SCCM 2007 R2 to 2012 R2, but almost all packages fail with "The Expanded package flag must be set if ShareName is specified".

    I don't see any difference between the few packages that migrate successfully and the ones that fail.

    What am I missing?

    Thanks in advance.

    /Michael

    Wednesday, March 11, 2015 7:51 PM

Answers

  • Actually, I see that all the packages, that report the error have a greyed out folder name. The ones, that work, do not.

    If I click 'Share the distribution folder' -> Apply and then delete the folder name, click 'Access the distri...' -> Apply, I am able to migrate the package.

    I don't want to do that for 100+ packages - is there an easier way?

    Thanks in advance.


    • Edited by MGLDK1 Thursday, March 12, 2015 9:08 AM
    • Marked as answer by MGLDK1 Wednesday, March 25, 2015 12:05 PM
    Thursday, March 12, 2015 8:46 AM

All replies

  • Have you specified a custom share in the packages in 2007?

    Jason | http://blog.configmgrftw.com | @jasonsandys

    Thursday, March 12, 2015 3:18 AM
  • Actually, I see that all the packages, that report the error have a greyed out folder name. The ones, that work, do not.

    If I click 'Share the distribution folder' -> Apply and then delete the folder name, click 'Access the distri...' -> Apply, I am able to migrate the package.

    I don't want to do that for 100+ packages - is there an easier way?

    Thanks in advance.


    • Edited by MGLDK1 Thursday, March 12, 2015 9:08 AM
    • Marked as answer by MGLDK1 Wednesday, March 25, 2015 12:05 PM
    Thursday, March 12, 2015 8:46 AM
  • You should be able to script it by updating the SMS_Package instances: https://msdn.microsoft.com/en-us/library/cc144959.aspx

    Jason | http://blog.configmgrftw.com | @jasonsandys

    • Proposed as answer by Daniel JiSun Wednesday, March 25, 2015 8:54 AM
    Thursday, March 12, 2015 3:49 PM