Run while logged off of NT server

Is there any way 9iFS (9.0.1.1.0) be run while no one is logged on to the NT server its installed on. Like, as a service or something.
Cheers

1. Use PowerShell as it is more powerful.
2. Win32_UserProfile has a last accessed date that you can use.
3. Win32_UserProfile has a system flag which you can use.
4.  Develop a list of accounts to exclude.
Start by analyzing how this works:
gwmi win32_userprofile -filter 'Special = False' |select SID,lastusetime
it skips all special and builtin accounts. YOu just need to detect teh domain perfix for specisal domain account and then match the list of other excluded accounts.
On our systems we roam the profiles of RDS so they can be removed even if someone still wants to use them.  They will just be reloaded. I also set the intermittent  users to delete the "local" copy on logoff so they take up no space.
¯\_(ツ)_/¯

Similar Messages

  • OC4J shuts down after I log off from the server !!!?

    Hi,
    I have a startup batch file to start OC4J on my customer server. Usually I connect to their server from my office via terminal server (and VPN) and run this batch file as a job via scheduled jobs in WINDOWS to start OC4J. My problem is that the OC4J shuts down as soon as I log off from their server. But it stays running if I disconnect from their server.
    This problem happing on a new installed server but on the old one I have not this problem. Probably it should be some parameter setting that I missed.
    Would appreciate any help on this.

    java -jar oc4j.jar
    This is the most basic form. But the above must always be part of the command for launching OC4J.Avi, this is so not true.
    One can always starts any standalone java problem by specifying the main class, the class whose main method is the entry point:
      java -classpath somePath theMainClass (since some historic time that we should not care anymore.). So it is perfectly ok to
    start oc4j 9.0.4 by, after changing to the directory where oc4j.jar lives,
      java -cp oc4j.jar com.evermind.server.ApplicationServer or start oc4j 10.1.2 by
      java -cp oc4j.jar com.evermind.server.OC4JServer  or start oc4j 10.1.3 by
      java -classpath oc4j.jar oracle.oc4j.loader.boot.BootStrap Here each oc4j.jar must come from an oc4j installation so that other dependent libraries will be found.
    What is nice about "java -jar oc4j.jar" is that it can be used to start any version of oc4j.jar. One does not have to specific the main class, which might change over time as shown above. That is the reason why it is overwhelmingly widely seen. Avi, I would agree if you just meant to recommend that "java -jar oc4j.jar" be used instead of the above.

  • AppLocker prevents DWM.exe running at log off

    Hi All,
    We are testing Windows 8.1 for release at our site, and have come across an AppLocker issue with DWM.exe being denied access to run at log off - this results in a black screen whenever a users chooses to log off of a PC and nobody being able to logon again
    until the PC is restarted.
    Event Logs on the PC indicate this as Event ID 8004 under "Application and Services Logs\Microsoft\Windows\AppLocker\EXE and DLL" and specifically states that AppLocker is preventing it. DWM.exe continuously tries to run and keeps logging errors
    for a period of time before giving up.
    Applocker is configured as:
    Executeable Rules:
    DOMAIN\Domain Users - Signed by O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US
    DOMAIN\Staff - Allow anything for staff members
    DOMAIN\special.user - Allow anything for a specific user.
    DOMAIN\Domain Users - C:\programdata\* (This allows AppV Packages)
    DOMAIN\Domain Users - C:\Program Files (x86)\*
    DOMAIN\Domain Users - All Files located in program files folder
    DOMAIN\Domain Users - All files located in the Windows folder
    BUILTIN\Administrators - (Default Rule) All Files
    Packaged app Rules, Windows Installer Rules and Script Rules all have the default rule values enabled (Though, none of these rules are set to Enforced in the base AppLocker setup - I did find that 8.1 Modern UI apps would not function without the default
    rules enabled for Packaged app Rules).
    These rules appear to allow everything else to function happily, with the only error showing in the Event viewer logs being the DWM.exe issue.
    I have attempted to specifically allow DWM.exe via direct file, publisher, path rules for all users as above and even NT AUTHORITY\System - all with no effect on the situation.
    Has anyone else encountered this issue with AppLocker and Windows 8.1 before?
    Regards,
    /Glaic

    Hi,
    Could you please paste the complete Event 8004 here so we can better know what happened?
    Are there any domain or OU level group policies applied?  Local group policy will be overriden by higher lever gpos which might cause this issue.
    Does this issue happen on a local user account?
    Yolanda Zhu
    TechNet Community Support

  • Getting issue while log in to Essbase server

    Hi All,
    Am getting network issue while log in to Essbase sever in console :
    Below is error :
    Network error 10061 : Unable to connect server .the client timed out waiting to connect the essbase agent TCP/IP. Check your network connections Also make sure Server and port values are correct.
    i have recycled all services and pinged from one server to another server every thing is working fine. but am getting above error.
    Please help me out. Required all your suggestion and appreciated if anybody provides solution.
    Thanks in advance
    SM

    Hi All,
    Currently am on 11.1.2.1 version.
    I have checked essbase .log file below is the error
    [Mon Nov 04 22:07:11 2013]Local/ESSBASE0///Info(1056704)
    Received OPMN Ping Request
    [Mon Nov 04 22:07:11 2013]Local/ESSBASE0///Info(1056705)
    Sent the Response to OPMN Ping
    [Mon Nov 04 22:07:27 2013]Local/ESSBASE0///Info(1051001)
    Received client request: MaxL: Execute (from user [msad://OBJECTGUID=\0f\cf\16\80\7d\4a\84\43\8c\3b\f4\d7\32\a9\2d\e0?USER])
    [Mon Nov 04 22:07:27 2013]Local/ESSBASE0///Info(1008106)
    Exception error log [E:\Oracle\Middleware\user_projects\epmsystem1\diagnostics\logs\essbase\essbase_0\log00022.xcp] is being created...
    [Mon Nov 04 22:07:27 2013]Local/ESSBASE0///Info(1008107)
    Exception error log completed E:\Oracle\Middleware\user_projects\epmsystem1\diagnostics\logs\essbase\essbase_0\log00022.xcp please contact technical support and provide them with this file
    [Mon Nov 04 22:07:32 2013]Local/ESSBASE0///Info(1056704)
    Received OPMN Ping Request
    [Mon Nov 04 22:07:32 2013]Local/ESSBASE0///Info(1056705)
    Sent the Response to OPMN Ping
    [Mon Nov 04 22:07:37 2013]Local/ESSBASE0///Info(1054018)
    RECEIVED ABNORMAL SHUTDOWN COMMAND - ESSBASE TERMINATING
    i think essbase has been crashed  please let me know your inputs and procedure further.
    thanks in advance
    SM

  • Black and white squares while logging off

    when I log off and the "turning square" animation starts, the desktop background turns into rectangular black and white squares... has anyone else seen this? any ideas? this does not happen every time. it is purely random.
    jamin

    Yep. That's what they call "artifacts." In fact, it seems a textboox case of an overheating GPU:
    "A common form of serious GPU artifact is a checkerboard pattern which covers the entire screen." (http://www.playtool.com/pages/artifacts/artifacts.html)
    Do you hear the fan running? Try downloading an app like smcFanControl to speed up the fan. The noise you heard the first time could have been the fan going full speed OR the fan breaking --which in turn could have caused the logic board to overheat.
    Placing the mini on a metal surface or on a laptop stand --preferably one with a fan-- may also help, at least for now.
    Ideally, though, you should take the mini to the Genius Bar or an Apple certified technician.

  • Problem is need to log off computer to go from one web site to another with message that program still running. Logging off to go from email to something else is very time consuming and annoying.

    Troublesome need to log off between switching from Yahoo to another website with message that program is still running.

    Terminate Firefox from the "Processes" tab of the Windows Task Manager not the "Applications" tab. Then select firefox.exc and use the right-click context menu to "End Process" or use the "End Process" button on the selected process.
    Windows 7 keyboard shortcut "Ctrl+Shift+Esc" will go directly to the Windows Task Manager and reopen the last tab that you had open.
    See item #38 Closing Firefox Properly -- use File -> '''Exit'''
    *http://dmcritchie.mvps.org/firefox/firefox-problems.htm#close_firefox
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>
    I don't see why you feel you have to exit Firefox to get out of one website to immediately use another website. Very impractical. Does this have anything to do with desktop icons or not using tabs?
    Completely unrelated to your question or your reason. Your flash plug-in is out of date.
    Check for Flash updates to see if you really are current
    * http://www.adobe.com/software/flash/about/
    After the download,
    #bring up the download manager ("Ctrl+J") and start your installs. As soon as the install comes up,
    #close Firefox with File > Exit or "Firefox" button > Exit. Give Firefox some time to close and check that it finished via the Windows Task Manager -- if it is still running then terminate it by selecting the use "End Process" button or from context menu.
    #proceed with the install
    '''Warning''': this is the Adobe site and they have chosen to to provide crapware along with their own product. Only install the product you were planning to install. Do not install additional products: including -- "Free! McAfee Security Scan Plus" or "Google Chrome". Installing Google Chrome on your own and installing it because it is offered on the Adobe site are two different things.
    Find updates for your installed plugins at http://www.mozilla.com/plugincheck/ mozilla.com/plugincheck
    -- best to use Adobe's site to really see if their plug-ins are up to date.

  • Staying connected to Wi-Fi while logged-off?

    Is it possible to have my Mac stay connected to the wireless network even when I'm logged off?
    My goal is to run the VNC service all of the time such that I can login remotely. However, my wife and I share this machine. We each have our own accounts, so I don't want to leave it logged-in all of the time.
    Possible?
    If so, how?

    Hi Matt, have a look at this thread, I know its discussing 10.4 and I haven't had time to test it yet with 10.5 but it's worth a try
    http://discussions.apple.com/thread.jspa?messageID=1241784&#1241784
    let me kow how it goes
    Cheers

  • Transaction logs off on  MSSQL Server-2008

    Hi,
      I want to off the transaction logs in mssql server-2008 like archive mode off in oracle,auto over write on in maxdb database.
    Thanku

    You cannot stop.!
    Please read sql Architecture.
    The transaction log of the SAP database records all changes made to the database. It may never be deleted and must be backed up separately. Transaction log backups save the log files. They are mandatory when you use the Full or Bulk-Logged Recovery Model since they are needed.
    Read this link.
    [http://help.sap.com/saphelp_nwmobile71/helpdata/en/f2/31ad41810c11d288ec0000e8200722/content.htm]
    Thanks,
    Siva

  • Log Off of Leopard Server

    Client = 10.5.1
    Leopard Server 10.5.1
    I am logged on to the client as user1. How do I disconnect from the server so that even if I "Connect to Server" I can login as a different user?
    Thanks, -Barry

    I suggest posting to the server forum http://discussions.apple.com/category.jspa?categoryID=96

  • LOCK the screen or LOG OFF?

    Hello All,
    OS: SLES 9
    What is the difference between LOCK the screen or LOG OFF?
    From the server I run command (rwserver.sh server=repserver90 batch=yes &) to run my report server up or running.
    Pl note: If its down I am not able to run my reports.
    After that I have lock the screen.
    Now I am able to use any client (windows machine) to run reports from my Oracle AS url.
    I wonder if I LOG OFF from the server,
    is my report server still running?
    Regards,
    DN

    What is the difference between LOCK the screen and LOG OFF from the server?
    Well, lock screen keeps all the processes running,
    whereas log off from the session, would kill most processes
    (not the oracle server, but most others that are still associated
    with the X session).Something I want to add to that: Locking the screen also prevents other users from using that terminal session, but it depends on where you're locking the screen. If you are not running an X session and you lock the screen via flock or some similar console locking mechanism then users can't use that terminal session, but can use other terminal sessions on the same machine.
    If you are running an X session and you lock the terminal via xlock or xscreensaver, you prevent users from using that computer station entirely. Also, if you're running an X session, utilities like flock become quite meaningless because they don't stop the user from opening a new terminal window.
    From the server I ran command to run my report server up.
    rwserver.sh server=repserver90 batch=yes &
    I think if you use the command with nohup instead,
    it would detach from the controlling terminal, so it
    wouldn't matter whether you only lock the screen,
    or log out completely.The ampersand "&" at the end of the command line throws the process into the background. Most of the time this is enough to dissociate the process from the controlling terminal enough that logging out will not kill the process, so logging out after starting the server that way should leave the server running.
    Nohup's behavior changes with the environment you're using. In tcsh, it simply causes the process to ignore hangups, though it can itself be overridden by the process. In Bash, nohup will will also change the scheduling priority of the process and redirect output and error messages to "nohup.out", either in the local directory or in the $HOME directory (and if it can't write to nohup.out for some reason, it refuses to run the process).
    Another method is to use the GNU "screen" command.But if you use screen, make sure that the screen command is ABSOLUTELY NOT setuid root. I know most sane distributions nowadays don't install it with setuid root anymore, but paranoia never hurt the admin.

  • Hold Data after logging off

    How do I Hold Data after logging off and back on again.
    The data that I hold works fine when originally set in the user profile but once the user logs off and back on again the data resets
    any quick fix's that anybody knows about?
    This data will be entered on a service order if this makes any difference,
    Thanks
    Liam

    Hi liam,
    while logging off u r system , the system will ask  like if u want save unsaved data or not,
    that time u go through with YES.
    i feel that is only option to save unsaved data .
    Bestregards ,
    bhaskar

  • Computer hangs on log-off

    When I log off, the computer hangs on the splash scree--the screen picture that is behind the log on dialogue box-- and needs to be manually shut down. The box to log back in does not appear.

    Hi William,
    my PBG4 shows similar behaviour at about half of my logg-offs / shut down / restart.
    I have tried nearly every kind of diagnosis and repair tools (RAM, HD, file system, rights, extensions, different accounts ...) with no result. I doubt if log files would provide useful information after a forced power down because cached information may not have been flushed to disk and log files not been closed properly.
    I have been following similar discussions from time to time but never found a durable solution.
    The only hint I picked up was the following workaround:
    Have the dock showing up while logging off.
    (set permanently visible in dock preferences or unhide dock by mouse just before confirming log-off via return key)
    I know it sounds strange - but it works for me!
    Since I follow this advice (and don't fail to invoke the dock) there are NO more hangings during log-off / shut down / restart.
    The root cause must be something about a hanging process but I have no knowledge about BSD and other things behind the Mac OS X Aqua interface.
    Sorry, it's no real solution, only a workaround but could you try if this also helps on your computer?

  • Logging off from HTML template

    Hello!
       What command do I need to issue to log off the WAS server from an HTML template?  Is it possible to modify the push-button logic below to do that?  We are on 6.40, integrated ITS.
    <input type=submit name=<what do I put here?> value="  EXIT   ">
    Thanks!
    John

    Hi Raja;
       Thanks for the response!  I tried your suggestion, but I get the dreaded error "The following error text was processed in the system W07 : Templateinterpretation abgebrochen, Template nicht vorhanden".  Any suggestions?
    Thanks!
    John

  • Remote panels- server running applicatio​n in log-off locked mode

    I have not used remote panels before and was pondering if they would work if the server (Win Xp) running the application goes into workstation locked mode.
    Company IT policy dictates that all PC's must go into locked screensaver mode after 15 minutes of inactivity. To reactivate, the user must log back in. Of course any applications continue to execute normally while in locked mode.
    Would another user at another PC be able to view/control the front panel of a LabVIEW exe remotely while the server running the application is in locked mode?
    Thanks
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    The remote panel should continue to run while in locked mode.  If another user wanted to open the remote panel and view it, that should be ok too.  Remember that there are limits to the number of users that can be viewing a remote panel.  The limit depends on how many licenses you have.  info here
    Because only one user can take control of the vi.  If the second user wanted to take control (and the first user had control) then the second user would not be able to take control.  The solution to this is to set time limits on how long a user can have control.  This is a configuration setting.
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC

  • Run time error occured while clicking the Log off

    Hello Experts,
    I have customized masthead file. In the masthead, when i click the log off link, the pop-up window will showing the Runtime error message. Its not working properly. I didnt make any changes in log off method. I traced the error,
    <%if (!isPreview){%>
              if (EPCM.getUAType() == EPCM.MSIE)
                   if(EPCM.getGlobalDirty())
                         // unsaved data on the page, display modified dialog
                        var val = window.showModalDialog('<%=GetLogoffConfirmUnsavedMsgURL(componentRequest)%>', '', '<%=LOGOFF_CONFIRM_MSG_ARGS_IE%>');
                        if (val == 'logoff')
                             disableWorkProtectCheck = true;
                             logoff();
                   else //no unsaved data
                        // data saved, nothing get lost on the page, display normal dialog
                      var val = window.showModalDialog('<%=GetLogoffConfirmMsgURL(componentRequest)%>', '', '<%=LOGOFF_CONFIRM_MSG_ARGS_IE%>');
                      if (val == 'logoff')
                          logoff();
              else
                   if(EPCM.getGlobalDirty())
                      window.open('<%=GetLogoffConfirmUnsavedMsgURL(componentRequest)%>', '<%=LOGOFF_CONFIRM_WINDOW_NAME%>', '<%=LOGOFF_CONFIRM_MSG_ARGS_NS%>');
                   else
                      window.open('<%=GetLogoffConfirmMsgURL(componentRequest)%>', '<%=LOGOFF_CONFIRM_WINDOW_NAME%>', '<%=LOGOFF_CONFIRM_MSG_ARGS_NS%>');
         <%}%>
    In this code having if condition if(EPCM.getGlobalDirty()) is set as true means, then only properly executed and it shows the Log off message. In my part it goes to the else part. Then it shows run time error message.
    I cannt able to find out the solution.Pls help me in this regarding.
    Regards
    Prakash T

    Hi,
    see if running SFC /Scannow helps. This basically restores missing/corrupt system files.
    Click Start/Run and type CMD
    Type SFC /Scannow
    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe):
    http://support.microsoft.com/kb/310747/EN-US/
    Please Reward Points if Helpful.
    Kind Regards,
    Vamsi.

Maybe you are looking for