Schedule NetWare Restart using Dist Server Policy?

Can anybody tell me the best way to schedule a one-time NetWare server restart? Seems that a Distributed Server Package would be the logical tool. I've used them to schedule restarts on Windows servers, but it's not obvious to me how to do that for a NetWare server.

hnewman said on 8/26/2008,
>But extending the question out, I might want to schedule a weekly
>reboot on a handful of NetWare servers. I could push out a cron job the
>same way, but isn't that the purpose of a Distributed Server policy? It
>certainly is for Windows servers. Isn't there a way to do a 'restart
>server' using that mechanism?
I do not have a setup in front of me at the moment, but the documentation
for the policy object shows that there is a schedule and you can set the
schedule as you please. I haven't actually used the policy just for a
reboot, but this should work just fine.
HOw about these to links
http://www.novell.com/documentation/...4.html#a2oekkc
http://www.novell.com/documentation/...a/a332qh4.html
Jared Jennings - Data Technique, Inc.
Novell Support Forums Sysop
My Blog and Wiki with Tips, Tricks, and Tutorials
http://jaredjennings.org

Similar Messages

  • Schedule to restart a managed server

    Hi
    Is there anyway we can make a managed server restart on a specified day in a
    week.
    I am using the AS/400 as the backend and after we IPL the AS400 during the weekend
    , the application stops working.
    If I restart the server , it will work .
    So i was wondering if I could make it shutdown and restart on a specified day
    Thanks in advance
    K

    Please see:
    http://edocs.bea.com/wls/docs81/adminguide/nodemgr.html
    K wrote:
    Hi
    Thanks for the answer , I am new to WLS .
    Where do I find the node manager settings /configuration
    "Arvind" <[email protected]> wrote:
    K,
    Unfortunately there is no way to do scheduled restarting in WLS.. however
    the
    good news is that you can use NodeManager to auto-start the managed servers.
    check
    the node manager configurations.. in particular node manager could be
    used to
    start a particular managed server after a specified time interval (though
    it might
    defeat yr purpose as u may want scheduled not time delayed restars),
    u can also
    configure to auto-start managed servers upon crash etc.,
    Use AS400 commands to schedule jobs.. i believe the command "wrkjobscde"
    to
    schedule a job in AS400 (Im not an AS400 expert.. only had a few days
    of experience
    with it.. i have to admit AS400 is weird)
    +arvind
    "K" <[email protected]> wrote:
    Hi
    Is there anyway we can make a managed server restart on a specified
    day in a
    week.
    I am using the AS/400 as the backend and after we IPL the AS400 during
    the weekend
    , the application stops working.
    If I restart the server , it will work .
    So i was wondering if I could make it shutdown and restart on a specified
    day
    Thanks in advance
    K

  • How to use HTTPS to retrieve a set of files from a distant server?

    Hi !
    i am interested in some samples or links showing how is it possible to use HTTPS in a java code in a standalone application ( could be swing based or whatever) that allows an HTTPS connection to a distant server ( specefic file repository) so that downloading some data files could be possible.i am also interested to know what conditions should be available to make such connection possible ( specefic port number? specefic authentication? login? password? and does the Operating system on the distant server interfere with that ? etc...)
    thanks!

    in fact i tried to test a sample code by i got this exception :
    Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
         at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
         at HTTPSConnector.main(HTTPSConnector.java:30)
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
         at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
         at sun.security.validator.Validator.validate(Validator.java:218)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)
         ... 12 more
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
         at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
         ... 18 moreand here si the sample code:
    package foo;
    import java.net.URL;
    import java.io.*;
    import javax.net.ssl.HttpsURLConnection;
    public class Test
    public static void main(String[] args)
    throws Exception
    String httpsURL = "https://your.https.url.here/";
    URL myurl = new URL(httpsURL);
    HttpsURLConnection con = (HttpsURLConnection)myurl.openConnection();
    InputStream ins = con.getInputStream();
    InputStreamReader isr=new InputStreamReader(ins);
    BufferedReader in =new BufferedReader(isr);
    String inputLine;
    while ((inputLine = in.readLine()) != null)
    System.out.println(inputLine);
    in.close();
    }so what this error is due to? and how to fix it ?.
    thanks!

  • ACROBAT 8 - HOW TO CONNECT AND USE THE LiveCycle Policy Server?

    Hello everybody!!! I've just bought the ACROBAT 8.0, and I'm trying to use the LiveCycle Policy Server. The point is, I couldn't connect to the server.... is there any especific way to do it? It is the same configuration to connect to a normal web site server, right?
    I need to control a copyrighted PDF over the web restricting the massive copy
    THANK YOU VERY MUCH

    No it's not exactly like connecting to a normal web server. The connection must be made via https, not http. So the app server has to be configured for SSL. Also the connection will not be made in Acrobat if there are ANY warnings about the SSL cert. So if you can't go to https://serverName:serverPort in IE and get there with no warnings then you won't be able to connect via Policy Server. Also, you can't connect to Policy Server via Acrobat using a Policy Server admin user. It must be a user who doesn't have admin privileges.
    Chris
    Adobe Enterprise Developer Support

  • Using Windows Network Policy Server to authenticate Prime Infrastructure 1.4 admin access

    I am using Prime Infrastructure 1.4 and I am needing to set up RADIUS Authencation.  I am using Microsoft Network Policy Server.   I have done all of the setup on both systems.  I have matched up the settings the best I can on both systems.  I am trying to use CHAP.  I keep getting username or passwrod is not valid.  In a effort to test I changed the Authentication type to PAP (I do not want to use this because it is not encrypted) But in a effort of testing I changed the setting on both the NPS and on Prime.  I am now able to log in.  Changing back to CHAP it fails and states the Username or Password is invalid.  SO, PLEASE HELP!!!!

    Ok, I was able to resolve this over the weekend.  The actual fix is a little complicated.  You can find the full explination here: http://technologyordie.com/windows-nps-radius-authentication-of-cisco-prime-infrastructure
    The basics are that Prime (1.3 is the version I am using at this point) expects two AV pairs from radius.  They are as as follows:
    NCS:role0=Admin
    NCS:virtual-domain0=ROOT-DOMAIN
    "Admin" is the name of the group you would like your users to have access at and "ROOT-DOMAIN" is the name of the domain you would like them to have access to.
    For TACACS+ I suspect the AV Pairs are going to be the same but I have not been able to test that.

  • SQL Server Policy Based Management Condition 'conditionname' cannot be used for filtering.

    Using SQL Server 2008 R2, I am trying to create a condition to be used as a filter at the database level.  So for each database, I would like to test the presence of a Database Extended Property using the following code in the Expression/Field:
    ExecuteSql('String', 'SELECT value FROM sys.extended_properties WHERE class_desc = ''Database'' AND name=''somepropertyname''')
    I created the condition using the Database Facet.
    The condition can be evaluated in a policy, but I cannot use the condition as a filter for a policy against the "Database" filter.  If I create a new condition that can be used as a filter and try to edit that condition, I receive the following
    error:
    "Condition 'conditionname' cannot be used for filtering."
    I cannot find any documentation on the limitations of filters.  I am assuming that ANY use of ExecuteSql would not be allowed.  This filter is important because I am testing the @IsEncrypted of Every StoredProcedure, Every Database.  If the
    database extended property is present, I want to skip the test.
    CorkChop

    Hi,  you resolved this issue? If yes, how?
    []'s | Rodrigo Ribeiro Gomes | MCTS/MCITP Dev/DBA

  • OAM : Which identity server is used by Password Policy?

    Hi,
    The OAM setup has two identity servers (ois1, ois2), two webpass (wp1, wp2) on two web servers. wp1 is pointing to ois1 only and wp2 is pointing to ois2.
    We have two sets of Policy manager, Access server and WebGate. wg1 is pointing to aaa1 and wg2 is pointing to aaa2.
    Now, when a user tries to access a OAM webgate protected page and the password policy gets applied, do the identity server comes into picture? if yes, which identity server is used here, ois1 or ois2?
    I want to use ois1 for all the requests coming to webserver with wg1. How do I do it?
    Thanks in advance.

    Hi Colin,
    Thanks for your reply.
    The reason I put this question was - in a scenario when I dont have Access Server (any access component), then also Password Polices work. So, I understand identity server is used here. When we have access side components, what makes OAM not to use identity server at all. Or is it the feature of OAM - when the accessed resource is ptotected by WebGate the Password policies are taken care of by Access Server, otherwise by identity server or is it because of the 'obReadPasswdMode' and 'obWritePasswdMode' in the authentication scheme?
    I stopped my identity server and I saw the password policy working - so I know the behavior; still asking the above question for my better understanding of OAM.
    Thanks for your help!

  • How to use oracle APEX with an distant database located on a distant server

    Hi there,
    I'm a brand new user with Oracle Technologies. I've installed ORACLE 10g XE and updated APEX to 4.0 version on my laptop.
    My Manager has setup a distant server with a Linux Red Hat. He has installed on this server EBS R12 with a 11i database.
    As a training, I'd like to play with the tables located on the server with the APEX 4.0 installed on my laptop.
    As the server is on the same local network and following the description above, is it possible to plug my local APEX to the server database ?
    If not, does it mean I have to install APEX on the 11i server database and then connect to the server to play with those tables ?
    Thanks a lot for your time and support ACEs members.
    Regards,
    Ulrich

    Hi Ulrich,
    yes, you can access other database from your APEX database. The mechanism used to do this is called a "database link". You need to create such a database link in your local database, then you can access the remote database like this:
    SELECT *
      FROM databaselink@EMP
    ;If you want to use such remote objects from within APEX you need to create local views to wrap this (search the forum for apex and database links, you'll find interesting threads).
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Server.policy file

    The ejb I am developing is trying to delete the following file from a local filesystem (Linux SuSE 9.3 Pro) : /path/to/file/delete.me I get the following exception:
    java.security.AccessControlException: access denied (java.io.FilePermission /path/to/file/delete.me delete)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.SecurityManager.checkDelete(SecurityManager.java:990)
    at java.io.File.delete(File.java:869)
    I tried to modify the server.policy file adding the following line:
    permission java.io.FilePermission "/path/to/file/delete.me", "delete";
    but nothing changes, even when I restart the application server (don't know even if it is necessary to restart). I am using Sun Java System Application Server Enterprise Edition 8.1. Any help is welcome...
    Thanks in advance
    null

    I think I solved the problem. At least I managed to delete the file :-)
    First I had to add the following line to JRE's java.policy file:
    permission java.io.FilePermission "/path/to/file/delete.me", "delete";Then I added the following entry to the server's server.policy file:
    grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-apps/MyApp-" {
      permission java.io.FilePermission "/path/to/file/delete.me", "delete";
    };like described here:
    http://docs.sun.com/app/docs/doc/819-3659/6n5s6m58n?a=view#beabz
    I hope this could help to someone with the same problem

  • Using Windows Server 2012 per-User RDS CAL on Server 2008 R2 Session Host

    I have a Remote Desktop Licensing Server setup on my domain controller running Windows Server 2012 R2. I have installed a
    ’Windows Server 2012 Remote Desktop Services per-User CAL’ there and activated the licensing server already.
    Currently I use ONLY Windows Server 2008 R2 machines as RDS Session Hosts (in the future I plan to transition them to 2012 R2, hence the CAL I bought is
    already in the newest version).
    I have already configured my WS 2008 RDS Session Hosts: set
    Per-User licensing mode and specified license server address. The connectivity between my Session Host(s) and my License Server seems to be ok as the
    Remote Desktop Session Host Configuration window on the Session Host correctly lists the 2012 per-user
    license (CAL installed on server) from the license server.
    On the License Server I can also see event logs entries (in
    Microsoft-Windows-TerminalServices-Licensing/Admin), indicating that the user has been issued a license.
    The issue I am having is that the license being issued is
    2008 Per User CAL license (Build-in OverUsed - temporary) and not the 2012 Per User CAL license which is the only license installed on the server. According to the RDS CAL interoperability matrix at
    social.technet.microsoft.com/wiki/contents/articles/14988.rds-and-ts-cal-interoperability-matrix.aspx, I was expecting the 2012 license to be backward-compatible with 2008 client (and that
    in the absence of legacy licenses, the (only) 2012 license would be used for all clients connecting to the licensing server)
    Before I bought my license, I found this document: 
    download.microsoft.com/download/3/D/4/3D42BDC2-6725-4B29-B75A-A5B04179958B/WindowsServerRDS_VLBrief.pdf 
    which says that - "newer version RDS CALs can be used with an older version of the server software" (In section FAQ, Q4), which means to me that
    the 2012 license would work as-is for the 2008 Server and gives me flexibility when upgrading to the new server version.
    How can I make this CAL work in my environment? 
    Note:
    I have already explicitly disabled
    Prevent license upgrade Group Policy setting which I assumed would fix the issue but nothing has changed.
    Then I have enabled License server security group Group Polity setting
    and added computers from my domain to RDS Endpoint Servers AD group. I have also created new AD group called
    Terminal Server Computers and added the computer accounts there, but it changes
    nothing. Reference - technet.microsoft.com/en-us/library/ee791761.aspx , technet.microsoft.com/en-us/library/cc725704.aspx and blogs.msdn.com/b/rds/archive/2009/09/17/control-the-issuance-of-rds-cals.aspx.
    I found one potential ‘workaround’ which involved manually downgrading my CAL license by calling
    Microsoft Clearinghouse. I am very reluctant do to so because, as I upgrade parts of my infrastructure to Server 2012, I’d need to then ask Microsoft to manually upgrade a part of my license back as well.
    Am I missing something? What should I do to get my 2012 CAL to be issued to 2008 R2 server

    Hi, I have tried several other possibilities.
    I change expire date for my temporary assigned license (2008 CAL overused). It can be done, by changing Active Directory user properties – msTSExpireDate. When I restart my Session Host server and logged again, my license was renewed
    for next 60 days (event ID - 4145).
    I also delete information about license for this user (clear msTSExpireDate and msTSLicenseVersion). And the license was successfully removed from License Manager. After another SH restart it gets the same – 2008 overused – license
    (event ID 4143 - license server has successfully issued …)
    I now, that changing info in AD attributes is a little trick, and this is not a real value - only a reference, but it was useful to delete or change expiration date of license. But it didn’t change type of license as I expected.
    Reference -
    http://discussions.citrix.com/topic/243320-windows-2008-licensing-questions/
    To TP:
    I have found your post with information:
    If you have a Server 2012 RD Licensing server you may install your 2012 RDS CALs on it (no downgrade necessary) and then set your Server 2008 R2 RDSH to
    use the 2012 RDL server.  The 2012 RD Licensing server will automatically issue the CALs as 2008. -
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/6046ded1-96bf-4d79-89ce-38aac2a6694e/can-we-use-windows-server-2012-rds-cal-license-in-rds-2008-r2-server?forum=winserverTS
    And it showing my situation in brief. I also found
    similar problems, but the solutions don’t meet my expectations.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dcfb1966-89a8-4b5d-bf5a-ff03ac0b7a66/rds-cal-licenses-not-recognized?forum=winserverTS
    – “sudden all of the CALS were available”
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/f1228599-8452-4a3e-a263-061de14bfcfe/server-2012-rds-builtin-overused-cals-issue?forum=winserverTS
    – “this should go away after a while”
    Is there a way to determine this time you mentioned before? Or should I just wait patiently…

  • After restart Oracle Report Server some reports start automatically to run.

    When our report server is restarted always a number of reports are started automatically.
    I don't know why these are started automatically?
    Is there a avoid starting these reports?

    Hello,
    If you are storing the jobs on the database then please check:
    Using the Reports Server Queue PL/SQL Table and API - RW_SERVER_JOB_QUEUE (Doc ID 72531.1)
    otherwise just rename the report server .dat files
    1- Go to $ORACLE_HOME/reports/server directory
    2- Rename Reports Server dat file.
    Unix example :
    mv reports_server_name.dat reports_server_name.dat.old
    3- Try again to start Reports Server
    Possible causes of the issue are:
    1.scheduled jobs
    or
    2.restart of report server while some jobs were waiting in the queue
    Regards,
    Alex
    If someone's answer is correct or helpful please mark it accordingly.
    Edited by: AlexDiniasi on 02.08.2012 18:49

  • Losing server.policy settings

    Hi,
    I am using Sun ONE 8.1 EE on Solaris.
    My application needs an entry in config/server.policy (a secuirty provider is available). Once added the application works.
    However, stopping and starting the instance will lose the change and go back to the origianl one.
    Any ideas how to deal with this?
    Thanks
    Rakesh

    You have to change server.policy in the DAS (Domain Admin Server) configuation directory and then restart the instances. For example, if your domain is called "domain1" and it is in the directory /var/opt/SUNWappserver/domains, then you should make changes to /var/opt/SUNWappserver/domains/domain1/config/server.policy file
    From 8.1 EE, configuration for all instances is stored in the DAS. At every restart, instances get the latest configuration from DAS and cache it. Making any changes to the configuration files stored in the cache does not help because it is overwritten by the files in DAS the next time instance is restarted.
    For a graphical explanation of this, see figure 4-1 at http://docs.sun.com/source/819-0215/nodeagent.html

  • Server.policy seems to be a problem for many libraries.

    I'm trying to play around with an app written with DWR and Hibernate, and the server.policy is getting in the way. I understand the reasons for it, but there should be (in my opinion) an easy way for one of two things to happen:
    1) Turn off security altogether, assuming that the environment is "trusted." Most of the servers I've worked with that support security have an option for this; see Websphere, for example, which has a checkbox for security to be on or off.
    2) Specify security policies in a server log that would relate the the security exception. For example, on a violation, the server might generate a log that says "for the error at 8/28/2005 @ 10:04 a.m., the security policy 'grant { ... }' would fulfill the requirements."
    For libraries that rely on their own reflection capabilities, etc., this sort of thing would be drastically useful, moreso than requiring admins to find out exactly where in their filesystems a given jar is deployed so they can fiddle with security settings, hoping they got the right ones (and enough of them.)

    For the first part of your post, please see http://docs.sun.com/source/819-0076/jvm.html#wp1031405
    Steps copied from the above link --
    To disable the security manager:
    Go to the JVM Options page of the Admin Console.
    For instructions, see Configuring the JVM Options.
    On the JVM Options page, remove this option:
    -Djava.security.policy
    Click Save.
    Restart the server.
    Hope this helps.

  • Alternatives to PowerShell automation of Excel (Scheduled Task) in a Windows Server 2012 R2 world

    I have a handful of PowerShell scripts that ran as Scheduled Tasks on an old Windows 2008 SP2 server, which output reports as Excel workbooks with multiple worksheets, via a COM object. After migrating these scripts to a new Windows 2012 R2 server,
    these scripts no longer function. The Server 2008 system was running Office 2007, and the new Server 2012 R2 server has Office 2013 installed.
    What is everyone using on their Server 2012 R2 systems to automate generation of multi-sheet reports in Excel via PowerShell and Scheduled Tasks?
    I know that Microsoft has said that automating Office applications server-side in non-interactive mode, but it has worked in the past, until now. (https://support.microsoft.com/kb/257757)
    I've tried the OpenXML PowerTools for PowerShell (https://powertools.codeplex.com/), but Export-OpenXMLSpreadsheet will only export a single worksheet, and they don't support adding worksheets to existing files
    (am I missing something?). I understand the OpenXML PowerTools can be extended in C#, but I don't C#. The PowerShell cmdlets were released in Jan 2012, but don't look to have been updated since then (updates have been the core C# code).
    I've seen recommendations to add C:\Windows\(System32 or SysWOW64)\config\systemprofile\Desktop, but this hasn't worked on Server 2012.
    Has anyone been able to get Excel 2013 to cooperate on Server 2012 R2, or come up with a suitable alternative? I'd rather not start running these scripts from my workstation.
    EDIT:
    I'm not necessarily looking for an Excel answer, since there are OpenXML ways of doing things now without the Excel application.
    Here are some of the errors I'm getting when approaching this from different directions. When I use:
    $excel = New-Object -comobject Excel.Application$workbook = $excel.Workbooks.Add()
    Results in error:
    Exception calling "Add" with "0" argument(s): "Microsoft Excel cannot open or
    save any more documents because there is not enough available memory or disk
    space.
    • To make more memory available, close workbooks or programs you no longer
    need.
    • To free disk space, delete files you no longer need from the disk you are
    saving to."
    At C:\path\to\script.ps1:21 char:2
    + $workbook = $excel.Workbooks.Add()
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation
    The server is definitely not lacking for resources.
    I can copy a blank XLSX file and use .Open($xlFile) instead of .Add(), but then when I go to open a CSV file to copy/paste the content to a worksheet, I get this one:
    Exception calling "Open" with "1" argument(s): "The server threw an exception.
    (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"
    At C:\path\to\script.ps1:65 char:2
    + $tempcsv = $excel.Workbooks.Open($CSVFile)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation
    Things that I've tried so far, with no success:
    I created C:\Windows\System32\config\systemprofile\Desktop and C:\Windows\SysWOW64\config\systemprofile\Desktop as suggested here:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0751119d-84d5-4a77-8240-1c4802f97375/powershell-scheduled-tasks-wont-start-excel?forum=winserverpowershell
    Add Local Launch and Local Activation permissions to the Microsoft Excel Application DCOM Config, Grant "Read & Execute, List folder contents, Read" permissions on the \config\systemprofile\Desktop folder. Grant "Modify, Read & Execute,
    List Folder Content, Read, Write" permissions for the account on the following folders:
    \config\systemprofile\AppData\Roaming\Microsoft
    \config\systemprofile\AppData\Local\Microsoft
    as suggested here:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/aede572b-4c1f-4729-bc9d-899fed5fad02/run-powershell-script-as-scheduled-task-that-uses-excel-com-object?forum=winserverpowershell
    @ jrv - I will try posting a similar question in the Excel 2013 forum, but since I'm looking for a scripting solution to produce an OpenXML spreadsheet, and not something that necessarily uses the Excel application (though such a solution would not be turned
    away), I thought this the more appropriate venue.
    (to reiterate from OP) I have seen and acknowledge Microsoft's statements regarding the unsupported nature of automating Office applications in non-interactive environments, but the truth of the matter is, supported or not, it worked in the past (Server
    2008), it's what I inherited from my predecessor, and I know I'm not the only one who has been using Excel in this way. I'm only asking fellow scripters, some of whom must also be using Excel in this "unsupported" fashion, how they are automating
    creation of their spreadsheet reports after moving to Server 2012. A different system modification to make the Excel comObject continue working as before? Direct manipulation of the OpenXML document? Other solutions that may or may not require launching the
    Excel application?

    #1 - Ask in Excel 2013 forum.
    #2 - Microsoft has repeatedlynoted that this is NOT a supported configuration for Office products.
    #3 - What errors are you getting?
    #4 - What have you done to debug this:
    #5 - No one can be of much help unless you post a very simple example of how this fails.
    ¯\_(ツ)_/¯

  • How to restart single application server(ABAP Stack)without effecting users

    Hi Experts,
    I Want to restart  one application server(ABAP Stack) in my clustered environment with out effecting endusers. I believe can be done it by transfering users request to other application servers. Please let me know the steps to perform this activity.
    Cheers
    DV

    Hi,
    Yes, you need to wait for the users to disconnect from the app server and remove the server from the logon groups.
    You should also remove the batch processes with an operation mode switch.
    Beware also if you have HTTP applications and you use a web dispatcehr for load balancing.
    Regards,
    Olivier

Maybe you are looking for