Two calc script one group?

So i've done away with budget group vs forecast group and created one group using substitution variables to control when users can load.The works beautifully. Less maintenance as well. However now its budget time and we have a problem: we need the users to be able to run two calc.... bud 14 and fcst 13.
We can't have the users view all the calcs as someone might clear the data by error or run the wrong calc. Any suggestions or do i need to create two groups again?

I'm not totally sure what you mean by "group"?  Do you mean Shared Services group?  Something else?
Why don't you just create two calc scripts?
Alternatively, if you are on 11.1.2.3, you could use command line variable settings: http://www.clearlinegroup.com/steves-tips-tricks-essbase-11-1-2-3-new-features-runtime-substitution-variables/
Or you could simply put the variable changes into a MaxL script and have the users execute that.
Regards,
Cameron Lackpour

Similar Messages

  • Automate the process of changing the subvariables in Essbase calc script?

    Hi Experts,
    I have two calc scripts called HourlyAgPre & HrlyAgPost and in these calcs I am using Subvariables. Like wise i have 4 regions and there are so many calc scripts. during month end close i have to go and change the subvariables manually. is there any way to change the subvaribles at one time using Maxl script?
    Eg:
    In BD9 My subvariable needs to point to Preclose
    In BD-3 my subvaribles need to poit to Postclose.
    Please suggest me if you come across this?
    Thanks in advance.

    Hi,
    Here is example of setting variables through Maxl and passing parameters into the maxl script Re: Update variables
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Difference in these calc scripts

    Hi,
    Is there any difference bet'n these two calc scripts:
    Fix (Yr2011)
    Fix(Feb)
    Fix (@children("ACT"))
    Calc Dim (Accounts, Product, Entity, Channel);
    EndFix
    EndFix
    EndFix
    +&+
    Fix (Yr2011->Feb->@childen("Act"))
    Calc Dim (Accounts, Product, Entity, Channel);
    EndFix

    No, not really (except that the syntax of your second one is incorrect, it would be FIX(Yr2011, Feb, @Children("ACT")) )

  • Calc script for calculating current month data after loading

    Hi,
    I'm trying to write a script to do a calculation to all dimension after load current month data; it ran successfully but current month data is all zero; can someone tell me what i'm doing wrong?
    SET CACHE HIGH;
    SET UPDATECALC OFF;
    SET CALCPARALLEL 4;
    FIX (&CurMon, &CurYr)
    AGG (Sparse2, Sparse3, Sparse 4, Sparse 5, Sparse 6);
    ENDFIX
    Dense1 – Dynamic Calc
    Period: Dense – Dynamic Calc
    Year: Sparse – Dynamic Calc
    Sparse2 – Label Only
    Sparse3 – Label Only
    Sparse 4– Label Only
    Sparse5 – Label Only
    Sparse6 – Label Only
    Thanks!

    Natilie,
    If I understand you correctly, you are loading data, then clearing out the current month->current year, and then aggregating current month->current year? There isn't going to be any data there -- you've cleared it out in your second step.
    I think the order you want is:
    1) Clear out the current month->current year to be sure it's a good load
    2) Load the current month->current year
    3) Aggregate the current month->current year
    This could be done with a single Maxl that controls two calc scripts and one import database (clear, import, agg) or you could do it manually.
    The default calc is (generally) equivalent to CALC ALL using db properties (UPDATECALC, AGGMISSG, etc.). There shouldn't be practical difference between that and the AGG portion of your calc.
    I would again confirm that all of your data is at the lowest level, i.e., you can navigate to leaf level on all dimensions and pull a data value before you aggregate. Perhaps you are loading to upper level members and don't realize it. I often use the Excel add-in's Styles to tell me if I'm at the lowest level of a db or not.
    Regards,
    Cameron Lackpour

  • Calc Script runs slow one day and fast the next?

    We are on Essbase 11.1.2.1. When we run calc scripts to load our actuals and run some allocation scripts, the difference in running time for the same exact script is very different day to day. One day three hours the next 45 minutes. Our servers are just for Essbase. We are on Windows 2008 R2. Has anyone else run into this or have any idea how we could figure out the reason for this. Thanks.

    Thanks.  In that case, I would try to grab the cube statistics - especially number of upper-level and input blocks, compression ratio and fragmentation (in EAS you can only see one of the two fragmentation statistics, 'Average Clustering Ratio', not 'Average Fragmentation Quotient') before each run, just to see if they're varying wildly.  Also, if your calc scripts log summary information (is there a SET MSG command in them?  If not you could try SET MSG SUMMARY) then Essbase will write high-level statistics on how much work was done to the application log.
    You can see which cubes are loaded (and consuming memory) in the EAS treeview - if they have a check (tick) mark they are loaded.  But you can also see current activity by right-clicking on the server in the EAS treeview and selecting Edit | Sessions.   That will show whether there are other operations (loads, calcs, reports, restructures etc) occurring at the same time.
    If none of the above give any clues and this is a virtual box (or you have SAN storage) you really will need someone who understands your infrastructure to help.
    I'm assuming these are BSO cubes, by the way!

  • Need a group by clause for two varibles in one table

    I can't find any way to merge two variables in a group by statement with both vertical and horizobtable output.
    The statement I got for a vertical output is (in 10gR2):
    select to_char(d.begin_interval_time, 'YYYY-MM-DD') as Datenumber,
    w.wait_class as Type,
    round(sum(w.total_waits)/1024/1024, 0) as "Tot-waits"
    from dba_hist_snapshot d, dba_hist_bg_event_summary w
    where d.snap_id = w.snap_id
    group by to_char(d.begin_interval_time, 'YYYY-MM-DD'), w.wait_class
    order by to_char(d.begin_interval_time, 'YYYY-MM-DD');
    2010-02-28 System I/O 234567
    2010-02-28 User I/O 34444
    2010-03-01 System I/0 773777
    But I wanted to have the following summary output in one SQL:
    System I/O User I/O Idle Commit .... and so on
    2010-02-26 3442322 344555 335455 5
    2010-02-27 533222 2233 445455 2334
    2010-02-28 3434444 244444 345555 39
    2010-03-01 34444 55445 3444 534
    Anyone have a idea?

    Do you mean this?
    SQL> select to_char(d.begin_interval_time, 'YYYY-MM-DD') as Datenumber,
      2  round(sum(decode(w.wait_class,'Concurrency', w.total_waits/1024/1024, 0)),0) as "Concurrency",
      3  round(sum(decode(w.wait_class,'System I/O', w.total_waits/1024/1024, 0)),0) as "System I/O",
      4  round(sum(decode(w.wait_class,'User I/O', w.total_waits/1024/1024, 0)),0) as "User I/O",
      5  round(sum(decode(w.wait_class,'Configuration', w.total_waits/1024/1024, 0)),0) as "Configuration",
      6  round(sum(decode(w.wait_class,'Other', w.total_waits/1024/1024, 0)),0) as "Other",
      7  round(sum(decode(w.wait_class,'Commit', w.total_waits/1024/1024, 0)),0) as "Commit",
      8  round(sum(decode(w.wait_class,'Idle', w.total_waits/1024/1024, 0)),0) as "Idle"
      9  from dba_hist_snapshot d, dba_hist_bg_event_summary w
    10  where d.snap_id = w.snap_id
    11  group by to_char(d.begin_interval_time, 'YYYY-MM-DD')
    12  order by to_char(d.begin_interval_time, 'YYYY-MM-DD');
    DATENUMBER Concurrency System I/O   User I/O Configuration      Other     Commit       Idle
    2010-02-22           1        298          0             0          2          0       2107
    2010-02-23           1        299          0             0          2          0       2114
    2010-02-24           1        300          0             0          2          0       2121
    2010-02-25           1        301          0             0          2          0       2129
    2010-02-26           1        303          0             0          2          0       2136
    2010-02-27           1        304          0             0          2          0       2143
    2010-02-28           1        305          0             0          2          0       2150
    2010-03-01           0        140          0             0          1          0        988Max
    http://oracleitalia.wordpress.com

  • Calc script access to groups

    Hi,
    When I try to grant access to run calc script to Native groups through EAS console->Essbase server->Security->Groups section, I am able to drill in till Datavbases option, but after that the Calculatiosn option where we select the Calc script to grant access to, its greyed out. How do I provide this access to the group in this case.

    You can provision the native group in Shared Services.
    If you are in an earlier version than 11.1.2, then you need to refresh security on EAS in order your provisioning to take affect. If you are in 11.1.2.x then you do not need to refresh security on EAS.
    Cheers,
    Mehmet

  • Css is it possible to use two VIPs with one source group?

    I have separate VIPs defined for balancing dns and radius. Both services are being balanced behind the CSS between two servers running both services. Is there a way, using source groups, to have the outbound dns udp lookups go out the associated dns VIP and a client's returning radius udp traffic sourced from the associated radius VIP?
    Just a note for clarity: both services defined for dns and radius have the same ip addresses. I can only define one of the services(i.e. dns) in a single source group which automatically associates the other service (i.e. radius) to that group.

    If I understand your question correctly, you want to have the same real server respond with a different source address based on with VIP was used to get to it.
    You can only put on instance of the server's ip address into a source group. That is you can't add the service name used for one rule into one group, and the service used in the other rule into another group, since the CSS only looks at the source address when it is determining to use the source group based on the service named in it. In order to have the same server use two different source groups, you would need ACL clause with the sourcegroup option, like
    permit any 10.0.0.1 eq 53 dest any sourcegroup
    permit any 10.0.0.1 dest any sourcegroup
    Michael

  • Peculiar problem with Essbase (Calc Script) - substitution variable / UDAs

    This is odd but I have a script like :
    VAR iloop=1,break=0;
    FIX(<required POV>)
    Loop (20,break)
    VAR Country_total1,Country_total2,Country_total3;
    FIX (@UDA(Entity,@ALIAS(@CONCATENATE("&Country",iloop)))) // &Country1, &Country2 - are substitution variables with UDAs stored as strings
    Statements;
    /* +<statements for calculating total values.. for that country and stored against variables>+ */
    Country_total1=Country_total1+ +<Calculation>+
    ENDFIX
    /* Second part : Now again the calculations stored in the variables are to be stored against specific entities */
    FIX (@UDA(Entity,@ALIAS(@CONCATENATE("&Country",iloop))))
    FIX(@ISUDA(Entity,<Check1>)
    ..... Assign to relevant account
    ENDFIX
    ENDFIX
    ENDLOOP
    ENDFIX
    Now the problem is that the first fix statement works just fine, but the FIX statement in the 'second part' throws an error
    Error: 1200354 Error parsing formula for [FIX STATEMENT] (line 66): expected type [STRING] found [EXTVAR] ([iloop]) in function [@CONCATENATE]
    If I hard code the 'second part' FIX statement to the substitution variable directly - it works just fine.
    How can the first statement work and not the second one ? They are exactly the same.

    Glenn, thanks - I hadn't thought of that :).
    But it still does not entirely solve my problem (please see my previous post depicting a requirement similar to ours )
    - We have lots of countries (50-60+ might be much more) and each country can have multiple entities (3-4 on an average - can go unto 7-8)
    - so good guess would be around 200 entities
    - So say I have to do it for 2 countries only (two entity types). Then I need 4 variables - 2 for each country ('country 1 ET1 total', 'Country 1 ET2 Total')
    When the list is 20 counties - variables become 40 :(.
    - Still leaving aside the 40 variables for a bit -
    There are subsequent steps of calculations which needs to be done based on these totals (which are exactly the same for all countries) - just that we need the correct totals to begin with and the rest is already stored in the DB
    So since I have a different variable for each country - I cannot write one single calculation block to use the variables sequentially one by one (can I ?)
    I might have to write a separate calculation block for each of these countries. (20 separate blocks)
    That's what I was trying to avoid and simplify with the substitution variable (but is not working)
    - Create substitution variables - which would store the alias of the required countries (2/10/20 as many required)
    - Loop through these substitution variables - using them one by one
    - So I just need one single block of calculation with all the variable in the calc script being reused after each country calculation is done
    - and the user need not go into the script, as the only thing that will change are the countries. And he can change it easily through the substitution variable.
    Edited by: Ankur on Jun 27, 2012 12:53 PM

  • Essbase 9.3 Calc scripts. Pb with dates. How to convert (string = number) ?

    Hello,
    I've a problem with Essbase(Planning?) Scripts on version 9.3. It looks simple but I do not find any (clean) solution :
    On my Essbase database, I have a member called "Reference_Date" on my axis Indicators. It is a date data type, that is to say, it displays a number corresponding to a YYYYMMDD format. For example : 20091029 for October 29th 2009.
    In calc scripts I often need to compare the month included in that "Reference_Date" with the current Member of my Time Axis (I have 12 Months members based on the format M02 for February for example). The final aim is to calculate a number of complete years since that "Reference_Date".
    But theses two elements are not of the same "type" (one is a number value and the other is a "member" in Time Axis). So I'm forced to convert one of this two elements in order to compare it.
    For example I can extract the month value of the "Reference_Date"' and put an "M" before it to have a Time member equivalent or I can convert the member Name M10 to a number (10))
    in both cases I have the same type problem : I don't know how to convert a string into a number nor how to convert a number into a string.
    (For example @CONCATENATE doesn't work with numbers). and that my only remaining problem.
    I didn't find any Essbase Function which do this (conversion number <=>string).
    Is anyone have an Idea ?
    Thanks for your help
    Best regards

    I don't know any way for you to compare your data against your metadata. Not directly. To me it makes little enough sense to try that I'm not surprised the developers didn't provide for it.
    I've converted member names to strings, manipulated the strings (calc script functions are not good at this), and turned them back into member names, but that's really the only use I've had for string manipulation. I don't think an equivalency operator even exists for string data. And I see no way to begin thinking of a member name, once converted to a string, as a number.
    It makes even less sense to me to try thinking of a data value as a string. Even text values in Sys 11 are stored as numbers. Not encoded characters, but just a number to look up somewhere.
    I think you can do what you want though, with something like this...
    IF (@ISMBR("FY08"))
    vYr = 2008;
    ELSEIF (@ISMBR("FY09"))
    vYr = 2009;
    ENDIF;
    IF (@ISMBR("M01"))
    vMth = 1;
    ELSEIF (@ISMBR("M02"))
    vMth = = 2;
    ENDIF;
    "Years_Since_Reference" = ((vYr * 100) + Mth) - ("Reference_Date" / 12);
    Obviously, the math will need some work, coz that doesn't actually work, but the logic above essentially turns your metadata into numbers, which is what you are after.
    Good luck,
    -- Joe

  • Outline Order, Calc Script Performance, Substitution Variables

    Hi All,
    I am currently looking in to the performance side.
    This is mainly about the calculation script performance.
    There are lot of questions in my mind and as it is said you can get the results only by testing.
    1. Outline order should be from least sparse to most sparse
    (other reason : to accomodate as many sparse members in to calculator cache) correct me if I am wrong
    2. Is Index entry created based on the outline order. For example I have outline order as Scenarios, Products, Markets then does my index entry be like scenario -> Products -> Markets ?
    3. Does this order has to match with the order of members in FIX Statement of calculation script?
    4. I have 3 sparse dimensions. P (150 members), M (8 members), V (20 members).
    I use substitution variables for these three in the calculation script. And these three are the mandotary things in my calculation script. Now when I see the fix statement, these three are the first 3 parameters of the fix statemtn and since I am fixing on a specific member, placing these three members as the first 3 sparse dimensions in the outline, ill it improve performance?
    In one way, I can say that a member from P, M,V becomes my key for the data.
    Theoritically if I think, may be it will...but in practical terms I don't see any of such thing.. Correct me If my thinking is wrong.
    One more thing, I have a calc script with say around 10 FIX statements and this P,M,V is being used in every FIX statemnts. Since my entire calculation will be only on one P, one M, one V. Can I put everything in one FIX at the beginning and exclude it from remaining FIX statememts?
    5. I have a lot of cross dimensional operations in my calc scripts for accounts dimension (500 + ) members.
    Is there a way to reduce these?
    6. My cube statistics..
    Cube size : 80 GB +
    Block Size : 18 KB (Approx)
    Block density : 0.03 . This is what I am more worried about. This really hurts me.
    This is one of the reason why my calculation time is > 7 hours and some times it is horrible when there is huge amount of data (it takes aound 20 + hours) for calculation.
    I would be looking forward for your suggestions.
    It would be really apprecialble if It is Ok to share your contact number so that I can get in touch with you. That could be of great help from your side.

    I have provided some answers below:
    There are lot of questions in my mind and as it is said you can get the results only by testing.
    ----------------------------You are absolutely right here but it helps to understand the underlying principles and best practices as you seem to understand.
    1. Outline order should be from least sparse to most sparse
    (other reason : to accomodate as many sparse members in to calculator cache) correct me if I am wrong
    ----------------------------This is one reason but another is to manage disk I/O during calculations. Especially when performing the intial calculation of a cube, the order of sparse dimensions from smallest to largest will measurably affect your calc times. There is another consideration here though. The smallest to largest (or least to most) sparse dimension argument assumes single threading of the calculations. You can gain improvements in calc time by multi-threading. Essbase will be able to make more effective use of multi-threading if the non-aggregating sparse dimensions are at the end of the outline.
    2. Is Index entry created based on the outline order. For example I have outline order as Scenarios, Products, Markets then does my index entry be like scenario -> Products -> Markets ?
    ----------------------------Index entry or block numbering is indeed based on outline order. However, you do not have to put the members in a cross-dimensional expression in the same order.
    3. Does this order has to match with the order of members in FIX Statement of calculation script?
    ----------------------------No it does not.
    4. I have 3 sparse dimensions. P (150 members), M (8 members), V (20 members).
    I use substitution variables for these three in the calculation script. And these three are the mandotary things in my calculation script. Now when I see the fix statement, these three are the first 3 parameters of the fix statemtn and since I am fixing on a specific member, placing these three members as the first 3 sparse dimensions in the outline, ill it improve performance?
    --------------------------This will not necessarily improve performance in and of itself.
    In one way, I can say that a member from P, M,V becomes my key for the data.
    Theoritically if I think, may be it will...but in practical terms I don't see any of such thing.. Correct me If my thinking is wrong.
    One more thing, I have a calc script with say around 10 FIX statements and this P,M,V is being used in every FIX statemnts. Since my entire calculation will be only on one P, one M, one V. Can I put everything in one FIX at the beginning and exclude it from remaining FIX statememts?
    --------------------------You would be well advised to do this and it would almost certainly improve performance. WARNING: There may be a reason for the multiple fix statements. Each fix statement is one pass on all of the blocks of the cube. If the calculation requires certain operations to happen before others, you may have to live with the multiple fix statements. A common example of this would be calculating totals in one pass and then allocating those totals in another pass. The allocation often cannot properly happen in one pass.
    5. I have a lot of cross dimensional operations in my calc scripts for accounts dimension (500 + ) members.
    Is there a way to reduce these?
    -------------------------Without knowing more about the application, there is no way of knowing. Knowledge is power. You may want to look into taking the Calculate Databases class. It is a two day class that could help you gain a better understanding of the underlying calculation principles of Essbase.
    6. My cube statistics..
    Cube size : 80 GB +
    Block Size : 18 KB (Approx)
    Block density : 0.03 . This is what I am more worried about. This really hurts me.
    This is one of the reason why my calculation time is > 7 hours and some times it is horrible when there is huge amount of data (it takes aound 20 + hours) for calculation.
    ------------------------Your cube size is large and block density is quite low but there are too many other factors to consider to simply say that you should make changes based solely on these parameters. Too often we get focused on block density and ignore other factors. (To use an analogy from current events, this would be like making a decision on which car to buy solely based on gas mileage. You could do that but then how do you fit all four kids into the sub-compact you just bought?)
    Hope this helps.
    Brian

  • Calc Scripts in sequence

    Hi All,
    We have requirment to run some calc scripts in sequence as they are dependent. If we merge all the scripts in one script then due to dependency calculations are not done or not giving proper result.
    Is there any way so that calculation scripts are setup in sequence in one calculation script and Script One provides details to the Script Two and so on. We do not want to use the Business rules due to the considering the security assignment which will be very tedious job.
    Thanks & Regards,
    Sravan Kumar.

    Business rules and sequences would be the correct procedure to use with Planning.
    Though I don't see how running separate calc scripts is going to be different that putting them in one calc script, that doesn't make any sense.
    If you want to run the calc scripts in sequence then you could batch them up using maxl.
    I am not sure what information you want to pass between calc script but you can use subsitution variables that be used in either script.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Calc Scripts

    <p>Hello,  I am new to Essbase and calcscripts as well as this discussion board. I have been reading a calc script in hopes of optimizing itsince it seems to take longer than anticpated.  Someone elsewrote it but I am trying to figure if parts of it are really doinganything except taking up time.  The following snipet is whatexactly I am curious about.</p><p> </p><p>**I have placed comments amongst the calc script to specifyareas that I am unclear about.</p><p> </p><p>Fix(currentyear, financial, CalcMAct)</p><p>SET AGGMISSG OFF;</p><p>Fix (HEL, Init, "NoMfgS", @RELATIVE("TotSellMeth", 0))<br>     DataCopy "HEGS" TO"GoodS@L";<br>     DataCopy "HECS" TO"GoodP";</p><p>     // Why fix here when nothing seems tohappen below and a new fix proceeds it after the last endfix?<br>      Fix ("GoodS@ L","GoodP")  <br>          @IDESCENDANTS(UB88);  // To me this doesn't seem to be doing much<br>      EndFix<br>EndFix<br>SET AGGMISSG ON;</p><p><br>Fix (@RELATIVE (UB88, 0))  //Is this doing anything since anew fix comes right after it?</p><p>//  I understand this fix because it is fixating andcopying but don't understand how the other fix helped get to thispoint.<br>Fix (@RELATIVE ("TotSellMeth", 0), @RELATIVE("TotMan", 0))<br>      DataCopyWorking->Init->"GoodQ" TOAct->Init->"GoodQ";<br>EndFix<br><br>Fix (Act, Init)  //  What is this doing if another fixproceeds right after it?<br><br>Fix (@RELATIVE ("TotSellMeth", 0), @RELATIVE("TotalMan", 0))</p><p>.</p><p>.</p><p>.</p><p>.</p><p>As I stated I am a newbie and I am not sure if those fixes I hadcomments on are indeed necessary or if they are just loadingdatablocks into storage and not being used to really fixate onanything.  I was under the impression from a course I took athyperion that to fixate on a particular datablock you use one fixor nested fixes.  </p>

    The line which you don't think is doing anything is applying the member calcs (from the outline) to the descendants of UB88. When a member name is placed by itself as a statment, it means to use the calculation that is in the outline, basically as a calc of that item at the time it is called, nesting it in the fix as it is simply means that there is a datacopy (probably to create blocks) and then a focus forther in on the two dimesions and recalcing Descendents of UB88.<BR><BR>Nesting fixes like this is not an unusual way of doing things. I might fix on a date in a single fix statement, then nest a couple of other fixes on other dimensions within the first fix, maybe doing sonething different in different regions.

  • Simple subtraction operator not working in essbase calc script

    My Calc Script
    SET UPDATECALC OFF;
    fix (Employee)
    "NoOfBeginners" = "NoOfStayers" - "TerminationCount" ;
    endfix;

    Hello
    you need to bring all data first to the member Employee. It will be loaded on the individual members of Employee. Assuming the accounts dimension is dense (Database > Properties > second tab)
    SET UPDATECALC OFF;
    CALC DIM(Employee);
    FIX (Employee)
    "NoOfBeginners" = "NoOfStayers" - "TerminationCount" ;
    ENDFIX
    Better would likely be to do this at the lowest level, and then aggregate the result to the top. Now at all positions you have data on NoOfStayers or TerminationCount you will see data in NoOfBeginners. We do not discuss what should happen when one of the two is empty...
    SET UPDATECALC OFF;
    "NoOfBeginners" = "NoOfStayers" - "TerminationCount" ;
    CALC DIM(Employee);
    Hope this helps.
    Regards,
    Philip

  • Assign a local logon script using Group Policy

    Is there a way to assign a local logon script using Group Policy? The reason I ask is that I wrote a logon/logoff script that will record the date/time, user, and computer for everyone who logs on to any machine in the domain. Right now it's set on a domain
    GPO, so it works great for domain accounts, but I'd like to extend that functionality to local accounts as well. The only way I know how to do that would be to set my script to run using the local policy. Since I don't want to manually go around to all 400+
    machines in my domain, I would rather find a simpler way of modifying the local policy. Any ideas?

    Martin, thank you for your response. That's exactly the kind of out-of-the-box answer I was looking for, unfortunately, it looks like I can only do that for Logon scripts. I don't see an option for Logoff. (Maybe the took the Logoff functionality out?
    This article says there should be a Logoff item in the GPO, but they're talking about Windows 2000 in that article.)
    Matthias, I started playing around with what you said, and I noticed that the "Scripts" key only seems to show up on my Windows 7 clients. The XP workstations don't have that key. Plus I did some testing, and I think I can do it without having
    to mess with the registry at all.
    So I think I have a workable solution at the moment. I found
    this article that talks about copying Local Polices from one computer to another. I tried manually setting the Logon/Logoff scripts in the Local policy on a fresh machine. From that reference computer I copied the Scripts folder out of the %SYSTEMROOT%\System32\GroupPolicy\User
    directory. It also created a gpt.ini file in the %SYSTEMROOT%\System32\GroupPolicy directory. The gpt.ini file contained an attribute called gPCUserExtensionNames, and one called Version. The gPCUserExtensionNames attribute specified two GUIDs, which
    I assumed to be the GUIDs that identify the Local Policy. I tried manually creating the Local policy on several different machines, with several different Operating Systems, and those GUIDs always seemed to be the same (not sure why). So I copied the gpt.ini
    file off the reference machine as well. When I placed all of the files I copied from the reference machine on to a new machine, everything seemed to work just fine (no registry modification necessary), with one caveat. It seemed to be running the script twice.
    So I went back into the gpt.ini file and deleted one of the GUIDs listed under gPCUserExtensionNames, and now the script runs just once!
    So I think this solution will work ok for me. We don't have any other Local Policies in place, so demolishing all existing Local Policies is perfectly acceptable in my case. I'm just not sure if I'm doing any damage by copying the gpt.ini file from a reference
    machine (if anyone can expand on how that works, I would appreciate the peace of mind that I'm not making things worse by doing this). So all I need now is to write a Startup script, or an SCCM package to deliver the Logon scripts and associated ini files
    to the appropriate location on all the domain PCs. Easy enough to do on my own. If anyone knows of a reason why this method is a bad idea, please post here. I'll be testing it out on a handful of PCs in the mean time.
    Hi Guys,
    Will this solution work for my case? I have a forcereboot batch script that I need to load on the local policy (logoff script through GPEDIT) however I can only load it manually. I need to do it on multiple machines (approx 5000 computers). I am having
    trouble doing it using powershell. Is there any other options to do it? 
    Will I have to use the same GUID's you mentioned on the gpt.ini file? (gPCUserExtensionNames=[{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}] since it refers to the local script and how about the version on the gpt.ini file?
    Thanks in advance.
    Dash
    https://social.technet.microsoft.com/Forums/en-US/1f636042-bcff-498d-93c0-e1aa89f80961/how-to-load-a-script-on-the-local-group-policy-on-multiple-computers?forum=mdopagpm

Maybe you are looking for

  • BI Beans 9.0.4 - How to get it Working

    Hello ... Hoping this is not an old boring issue, i hereby give some advice on how to get the Oracle 9iR2 database with OLAP option and BI Beans to work. I had dificulties with this subject for two weeks now, I asked for help on all forums and I than

  • 2 Pop Accounts - getting duplicates in my inbox?

    Hey everyone. I'm really hoping you can help me with this... I have 2 POP accounts setup on my Mac Mail app. If I receive am email to account #1, a duplicate is sent to my #2 account. They're completely different POP accounts.... Anyone have any idea

  • Help with disappearing photos

    Loaded my twins 3rd B-Day photos, all was going well.   Sorting them when all of the sudden a handful disappeared.  I see them at the bottom and when you look at a complete album on the screen, but when I try to click and just look at a single pictur

  • Archive validation failed: Invalid Signature

    Hi guys, I enounter some weird issue when submit ios application to appstore. invalid Signature - Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code

  • Ovi Suite 2.2.0.245 error code 8004fd02 syncing N9...

    When syncing contacts on my N900 the status bar progresses to about 75% completion and then I get an error (attached) stating that the Contacts did not sync, that I should unplug the USB cable (or Bluetooth) and reconnect and sync again. I have done