Contacting workgroup server requires run program-activity?

Dear Technet-group
I am currently working on runbooks within our environment.
The current setup is that we have several Domain-joined servers and some Workgroup servers. The runbookserver is domain joined.
When contacting workgroup servers, I encountered an issue where I need to add the "Run Program" activity and fill in the local credentials in the "Run As" tab instead of filling in the security tab to make the runbook run succesfully.
Has anybody encoutered this bug before or does anyone have a possible fix for this?
KR,
Mitch

Hello Stefan,
Thank you for replying.
I think I might have formed my question incorrectly. Let me explain my problem in detail.
My situation is as followed.
1 workgroup server as testpurpose.
My Orchestrator-environment in a domain.
As a form of testing, I created a very simpel runbook with the local admin credentials in the security tab, so that account has more than enough permissions.
The runbook contains 2 activities. 1 intialize data, which only contains the input of the server's IP to connect to and 1 get Disk Space Status, which gets data from the testpurpose-server. Inside the "Get Disk Space Status" I filled in the local
admin's account under the security tab, enabling him all permissions.
When I run this runbook, it fails giving me the message: "Failed to connect to disk"
However, I found out that when I add the "Run Program"-activity infront of the "Get Disk Space Status", clear out the security tabs and fill the account in under the Run As-tab and add a simpel "date" command to be executed,
I do manage to get a success.
This is however a workaround for the issue we are having. Have you ever encountered something like this?
Thank you for your time.
Kr,
Mitch

Similar Messages

  • Need help in using [RUN PROGRAM] Activity against a server in another domain

    Hi Experts,
    We have two domains with two way trust enabled. Orch server exists in DomainA and target server exists in DomainB.
    We are trying to execute some scripts(g:IPCONFIG) from orch server to target server using RUN PROGRAM activity. This is  running fine and give expected results, if I give Built-in Administrator credentials in Security Tab. But I'm getting some
    strange values like chinese/japanese language strings, If I use a DomainB/DomainA user (Part of local admin of the target server) in security tab as well as Advanced tab-->Runas.
    Things I tried:
    - DomainA/DomainB user in Security Tab as well as RunAs tab  ---> Strange Strings
    - DomainA/DomainB user in Security Tab and BuiltIn Administrator in RunAs tab  ---> Strange Strings
    - BuiltIn Administrator in Security Tab ---> Expected result
    - BuiltIn Administrator in Security Tab and DomainA/DomainB user in RunAs tab  --> ProgramExitCode = -10xxxxxx
    But our requirement is to run the script on the target server as Domain User(Part of local admin).
    Thanks in Advance
    Thanks and Regards, Narayana Babu

    Hi Experts,
    We have two domains with two way trust enabled. Orch server exists in DomainA and target server exists in DomainB.
    We are trying to execute some scripts(g:IPCONFIG) from orch server to target server using RUN PROGRAM activity. This is  running fine and give expected results, if I give Built-in Administrator credentials in Security Tab. But I'm getting some
    strange values like chinese/japanese language strings, If I use a DomainB/DomainA user (Part of local admin of the target server) in security tab as well as Advanced tab-->Runas.
    Things I tried:
    - DomainA/DomainB user in Security Tab as well as RunAs tab  ---> Strange Strings
    - DomainA/DomainB user in Security Tab and BuiltIn Administrator in RunAs tab  ---> Strange Strings
    - BuiltIn Administrator in Security Tab ---> Expected result
    - BuiltIn Administrator in Security Tab and DomainA/DomainB user in RunAs tab  --> ProgramExitCode = -10xxxxxx
    But our requirement is to run the script on the target server as Domain User(Part of local admin).
    Thanks in Advance
    Thanks and Regards, Narayana Babu

  • Run Program activity not exiting

    I'm running SCOrch 2012 R2 and am having trouble with a runbook hanging. Here are the facts
    My runbook executes a script (the code for which, I have included below) that gets a list of AD users and exports that list to a .csv file. 
    When run manually, from a Powershell window, the script executes and returns the expected file, before returning to the prompt.
    When run through the SCOrch, the script runs fine, with the output file created and the Powershell process exiting.
    The commands I'm using to execute the script manually and through the runbook, are the same (see below) and the run-as accounts are the same.
    The runbook never gets past the step that runs the Powershell script.
    The activity looks like this: 
    Command execution
    Command: cmd.exe /c | C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe –c "C:\it\getADUserProperties-Parameterized.ps1 -SearchPath 'ou=customer,dc=domain,dc=tld' -DomainName domain.tld | Export-Csv C:\it\userList.csv -NoTypeInformation"
    Run as account credentials specified
    The rest of the options are set to the default values
    The question is, why doesn't the Run Program activity close when powershell.exe exits? I know it won't matter, but here is the script anyway:
    <#
    .Synopsis
    Get Active Directory user list with a user-specified set of properties
    .DESCRIPTION
    Get a list of Active Directory users from a user-specified list of containers (or the root of the domain) and return a user-specified set of attributes.
    This script can connect to non-native domains (domains that the executing computer is not a member of) if DNS is configured properly. If accessing a
    non-native domain, the script will prompt for credentials.
    .NOTES
    Author: Mike Hashemi
    V1 date: 15 August 14
    .LINK
    .PARAMETER DomainName
    Defines which DNS domain to connect to.
    .PARAMETER SearchPath
    Default value = cn=users,dc=domain,dc=tld. This parameter represents the AD to search and can contain multiple values.
    .PARAMETER OutputProperties
    Default value = Name,Enabled. This parameter represents a comma-spearated list of AD attributes to return.
    .EXAMPLE
    .\getADUserProperties-Parameterized.ps1 -DomainName domain.tld
    This example will output the name and enabled status of all users in "cn=users,DC=domain,DC=tld" and below.
    .EXAMPLE
    .\getADUserProperties-Parameterized.ps1 -OutputProperties name,telephoneNumber | Export-Csv C:\userList.csv -NoTypeInformation
    This example will output the name and telephone number of all users in "cn=users,DC=domain,DC=tld" and below. Output will be sent to c:\userList.csv.
    #>
    [CmdletBinding()]
    param(
    [Parameter(Mandatory=$True)]
    [string]$DomainName,
    [string[]]$SearchPath = 'cn=users,DC=domain,DC=tld',
    [string]$OutputProperties = 'Name,Enabled'
    Import-Module ActiveDirectory
    If ((Get-Module ActiveDirectory -ErrorAction SilentlyContinue) –eq $null) {
    Write-Error "This script requires the Powershell Module: 'ActiveDirectory'. Please make sure you've got the correct tools installed."
    Exit
    Else {
    Foreach ($ou in $SearchPath) {
    Try {
    Write-Verbose ("Getting users from {0}." -f $ou)
    Get-ADUser -Filter * -SearchBase $ou -Properties $OutputProperties.Split(",") -Server $DomainName | Select $OutputProperties.Split(",")
    Catch [System.Security.Authentication.AuthenticationException] {
    Write-Output ("Connection failed. Prompting for credentials to {0}" -f $DomainName)
    $cred = Get-Credential -Message "Enter credentials for $DomainName."
    Write-Verbose ("Getting users from {0}. with user: {1}" -f $ou, $cred.Username)
    Get-ADUser -Filter * -SearchBase $ou -Properties $OutputProperties.Split(",") -Server $DomainName -Credential $cred | Select $OutputProperties.Split(",")
    Thanks.

    mhashemi,
    I had a simliar issue as you did where my runbook would run until it got to the "Run .Net Script" Activity and then the Runbook would just stop. What I found was you can not have the command "Exit" in your script. The command "Exit"
    will force the Activity to close and will not output any variables.
    I am not the only one to find this issue.
    Check out the article labeled
    "Run .Net Script (powershell), "exit" and published data" on technet under
    System Center Orchestrator > System Center Orchestrator - General
    (not able to post the link, I am restricted)
    Doesn't sound like there is going to be a fix anytime soon
    Hope this helps
    -Ozarkclay

  • Winscp in Run Program activity

    Hi,
    The Run Program activity never ends when running winscp.com using these parameters; /command "option batch abort" "option confirm off" "open ftp_test_account" "put d:\data\* /VPT/*.TMP" "exit". The log file
    shows the program ran and ended but the Run Program Activity stays active. < 2014-07-24 02:54:19.751 200 Command PORT okay.
    > 2014-07-24 02:54:19.751 STOR test.001.TMP
    < 2014-07-24 02:54:19.767 150 File status okay; about to open data connection.
    < 2014-07-24 02:54:19.970 226 Transfer complete.
    > 2014-07-24 02:54:19.970 MFMT 20140724005400 test.001.TMP
    < 2014-07-24 02:54:19.986 213 ModifyTime=20140724005400; test.001.TMP
    . 2014-07-24 02:54:19.986 Upload successful
    . 2014-07-24 02:54:19.986 Got reply 1 to the command 4
    . 2014-07-24 02:54:19.986 Session upkeep
    > 2014-07-24 02:54:19.986 Script: exit
    . 2014-07-24 02:54:19.986 Session upkeep
    . 2014-07-24 02:54:19.986 Script: Exit code: 0
    . 2014-07-24 02:54:19.986 Got reply 1004 to the command 4
    . 2014-07-24 02:54:19.986 Disconnected from server

    Hello Abdul Karim,
    You need TCP 445 for the installation of the service (which seems to work fine),
    TCP 135 for communication with the endpoint mapper and after that comunication switches over
    to the highport that was assigned by the endpoint mapper
    for communication with the service manager (for controlling the Orchestrator Run Program Service).
    By default the dynamic port range on Windows Server 2008 is 49152 to 65535
    (refer to: The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008:
    http://support.microsoft.com/kb/929851).
    But since there is no firewall I doubt that to be the problem...
    Oh, by the way: Is the "RPC Endpoint Mapper" Service running on your target server (and what about "Remote Procedure Call (RPC)")?
    Regarding my question about the OS: There was a (meanwhile fixed) problem some time before with Win2003 but on that occasion the service was not installed at all.
    Are you using Orchestrator SP1 or R2?
    Regards,
    PIfM

  • Telnet with Run Program Activity

    Hello Experts,
    I have a quick question with respect to the Run Program Activity. Is it possible to have a telnet session with the run program activity without loosing the connection ? 
    So my first activity will be the telnet connection. Once the connection is established I will then execute a command to get the output. 
    However, when I execute the runbook it establishes the connection and closes it immediately. As a result the next command does not get executed. When I throw the output to a text file, it says invalid command which means that the telnet session gets closed.
    Is there any other way to do this ? 
    Regards,
    Abdul Karim. (http://sites.google.com/site/scomblogs Twitter:@Abdul_SCOM)

    Hello, 
    Yes I tried the same with SSH and the activity still fails.
    I also tried pwershell script, however the .Net Activity fails saying telnet is unrecognized command.
    So how are we to achieve telnet commands using SSH or Run Program Activity.
    Is it supported in the first place ? If I only have a run program activity to telnet and I try to capture the output in a text file, I see that the telnet session itself fails and the exit code is -1.
    If I use something like dir or ipconfig/flushdns etc they all return exit code of 0.
    Moreover, for telnet sessions since it will be based on a unique process ID, how can we configure the next set of command using the same ID  ? 
    Regards,
    Abdul Karim. (http://sites.google.com/site/scomblogs Twitter:@Abdul_SCOM)

  • Is dns server required to install active directory

    i have a confusion here.... i have to install active directory on win 2k or 2k3 server.... Can i install it with the help of WINS but not DNS .... is it possible to install AD with WINS installed/configured on server but at same time not any kind
    of DNS (Third party Server/Service) is installed/configured there????..... thanx

    AD rely on DNS name resolution. So DNS name resolution is a requirement for AD installation. 
    DNS requirements for installing Active Directory:
    http://technet.microsoft.com/en-us/library/cc739159(WS.10).aspx
     http://technet.microsoft.com/en-us/library/cc759550(WS.10).aspx
    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX http://blogs.sivarajan.com/ http://publications.sivarajan.com/ This posting is provided "AS IS" with no warranties, and confers no rights.

  • Powershell Hang when using Run Program (2012 R2)

    I've seen a couple posts about this in the past but nothing recent. I am calling a powershell and passing through some variables to run program activity in orchestrator. The program runs (in this case the DB is created) and the script finishes, however the
    activity does not. I've tried two solutions:
    http://blog.coretech.dk/jgs/sco-2012-running-powershell-scripts-via-run-program-activity/
    and
    http://www.sc-orchestrator.eu/index.php/scoblog/67-running-powershell-with-the-run-program-activity-from-orchestrator
    Neither of which seem to do the trick. Here is my command
    Note: The script runs fine when called on the machine locally. For sake of cleanliness I've removed my <Nul 2>&1 attempts. 

    I have found in these situations that having a non-stop error seems to get it from freezing (along with <Nul 2>&1).  I use 'Get-Content "C:\Farce.txt"' as my last line.

  • Server requires authentication - How do I program for this?

    Hello,
    I'm testing out a webpage I have created that will be used to send email. I have DSL service...just recently subscribed. Previously I had Dial up. The server at that time didn't require authentication, but now that I have DSL it does. I'm a bit lost as to how to update my program (I've included the snippet in the post), so that it will run correctly. I am having some difficulty.
    My program looked like this :
    String POP3 = "pop.windstream.net";
    String SMTP = "smtp.windstream.net";
    // Specify the SMTP host
    Properties props = new Properties();                                           
    props.put(POP3, SMTP);
    // Create a mail session
    Session ssn = Session.getInstance(props, null);
    ssn.setDebug(true);                  
    //...html to make up the body of the message
    // set the from information
    InternetAddress from = new InternetAddress(emailaddress, fromName);
    // Set the to information
    InternetAddress to = new InternetAddress(EmailAddress2, toName);
    // Create the message
    Message msg = new MimeMessage(ssn);
    msg.setFrom(from);
    msg.addRecipient(Message.RecipientType.TO, to);
    msg.setSubject(emailsubject);
    msg.setContent(body, "text/html");                      
    Transport.send(msg);     
    //....                        I did some research already, and have looked at some other forum posts. The one thing I have noted when I run my program is that the dos prompt for tomcat is showing this:
    *DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smpt,com.sun.mail.smtp.SMTPTransport,Sun Microsystem, Inc]*
    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG: SMTPTransport trying to connect to hose "localhost", port 25
    My ISP provider, Windstream, assures me that port 25 is NOT blocked. Also, I've noticed that useAuth is set to false, whereas the posts I have been looking at say true. It would make sense to me for it to be set to true in my case, since my server requires authentication. But how do I do that?
    I found this bit of information from another person's post :
    props.setProperty("mail.smtp.auth", "true");
    you also need an Authenticator like this
    Authenticator auth = new Authenticator() {
    private PasswordAuthentication pwdAuth = new PasswordAuthentication("myaccount", "mypassword");
    protected PasswordAuthentication getPasswordAuthentication() {
    pwdAuth;
    Session session = Session.getDefaultInstance(props, auth);*
    Post located at http://forums.sun.com/thread.jspa?forumID=43&threadID=537461
    From the FAQ section of JavaMail
    Q: When I try to send a message I get an error like SMTPSendFailedException: 530, Address requires authentication.
    A: You need to authenticate to your SMTP server. The package javadocs for the com.sun.mail.smtp package describe several methods to do this. The easiest is often to replace the call Transport.send(msg); with
    String protocol = "smtp";
    props.put("mail." + protocol + ".auth", "true");
    Transport t = session.getTransport(protocol);
    try {
    t.connect(username, password);
    t.sendMessage(msg, msg.getAllRecipients());
    } finally {
    t.close();
    You'll have to supply the appropriate username and password needed by your mail server. Note that you can change the protocol to "smtps" to make a secure connection over SSL.
    One thing I have noticed in the majority of the posts is that useAuth in the tomcat dos prompt should be set to true, and not false. Mine is coming up as false. Also, I think it should be set to true because the ISP's server requires authentication for sending and receiving email.
    Can you please provide me with some input on how to update my program so it will run?
    Thank you in advance:)

    Thank you for replying.
    Per your advice, I made these changes to my code:
    Properties props = new Properties();                                           
    props.setProperty("mail.smtp.auth", "true");               
    props.put("mail.pop3.host", POP3);
    props.put("mail.smtp.host", SMTP);
    Session ssn = Session.getInstance(props, null); The props.setProperty("mail.smtp.auth","true"); is something I found previously to posting my question. I'm assuming this is the line of code that has changed useAuth from false to true...is that correct?
    I'm most pleased to report that with the changes made above, my program works! But is my code good? As soon as I start taking on clients, I will need my code to be reliable, and it needs to work with Dial Up and DSL connections.
    With regards to your question about how I had found the authentication code but hadn't used it. Well, I did try it, again, this was previous to posting my question, and the compiler couldn't compile the program because of this statement - pwdAuth;
    I also tried this code I had found in the JavaMail FAQ section -
    String protocol = "smtp";
    props.put("mail." + protocol + ".auth", "true");
    Transport t = session.getTransport(protocol);
    try {
    t.connect(username, password);
    t.sendMessage(msg, msg.getAllRecipients());
    } finally {
    t.close();
    }But according to the compiler, t.connect(username,password); was not an available method. I checked the documentation and found that to be true. Do you have any suggestions? Looking into the documentation I find that there are 3 methods called connect that are inherited by the Transport class from javax.mail.Service.
    connect()
    connect(java.lang.String host, int port, java.lang.String user, java.lang.String password)
    connect(java.lang.String host, java.lang.String user, java.lang.String password)
    I would opt to try the third connect method, but what would I put for host?
    Thank you for helping me with this issue, I'm not an expert on using the JavaMail package, at least not yet, and I appreciate the help you have provided.

  • Installing Orchestrator Run Program Service requires administrative privileges on the target computer.

    We have a simple runbook that runs an .exe program local on a remote server.
    When I run the runbook within the Runbook Designer and the Runbook Tester it runs succesfully.
    When I run the runbook within the Orchestration Console (http://server4:82) I get the error message "Access is denied. Installing Orchestrator Run Program Service requires administrative privileges on the target computer."
    Orchestrator hierarchy:
    server1 Management Server
    server2 Runbook Designer
    server3 Runbook Server
    server4 Web Server

    Already solved it!
    Even after making the Service Account a Domain Admin it didn't work after restarting the two services on server1. But I forgot the service on server3! Apparently when you use the Web Server it runs the runbook through the Runbook Server and when you
    use Runbook Designer it runs locally within the Runbook Tester?

  • The specified forest functional level is invalid. "Lync Server" requires forests running in Windows 2003 mode or higher.

    Dear Support Team,
    i am having the error ''The specified forest functional level is invalid. "Lync Server" requires forests running in Windows 2003 mode or higher'' from lync 2013 during the schema master prepare on windows server 2008r2 and my forest functional
    level are 2008r2.. so can you help me please...?

    Dear Support Team,
    in my network there are one forest and two domain controller (primary and secondary).. my domain functional
    level is windows server 2008r2.. but i am still receiving error.. when i hit the run button for schema prepare its says:
    ServerSchemaPrepareTask execution failed on an unrecoverable error.
    and when i open log it sasys: 
    Error: The specified forest functional level is invalid. "Lync Server" requires forests running in Windows 2003 mode or higher.
    kindly help me

  • Why does the advisory for downloading update 28.0 run but never contact the server or download anything for my Mac Firefox 27.0.1?

    I'm running OS X 10.9.2 on an iMac with a 2.66 GHz Intel Core 2 Duo processor and 4 GB 1067 MHz DDR3 memory. All previous updates have downloaded and installed flawlessly, but every time it arrives -- and that's been several times so far -- this one has simply shown that blue-and-white striped busy bar, says it's contacting the server, and does nothing, no matter how long I leave it running.

    That's weird but you should be able to manually install the update like this:
    #Download a fresh copy from [http://www.mozilla.org/en-US/firefox/all/ here] - direct link (https://download.mozilla.org/?product=firefox-28.0-SSL&os=osx&lang=en-US)
    #Install the new version. For details, see [[How to download and install Firefox on Mac]]
    Usually this fixes this issue with automatic updates. There will be new version available starting next Tuesday. The automatic update will happen sometime over the following week or so.
    Let me know how it goes.<br>
    Thanks,<br>
    Michael

  • Directory Security Strange Permissions Issues (Windows Server 2003 running Active Directory)

    I have a user that all of a sudden was not able to open 70% of her files located on a file server, Windows Server 2003 running Active Directory, from her laptop. The same user can access all the same files from a different machine, logging on with the same
    credentials. Just looking for a point in the right direction and a possible theory as what could cause this problem, an why all of a sudden. I did go back through the logs but nothing sticks out. For the most part the logs on the server and the laptop are
    pretty clean. 
    Both machines are Latitude E5420s running Windows 7 Enterprise Service Pack 1. Both machines are 64bit and connect to the network via hard-wire, not wireless.
    Thanks in advanced.
    Grajek

    I would recommend proceeding that way:
    Check that your DCs are in a healthy state and AD replication is fine: It might be that the user is member of security groups and the membership is not getting replicated properly which can cause this random behavior. You can use
    dcdiag and repadmin for checks and you can refer to my recommendations here: http://social.technet.microsoft.com/wiki/contents/articles/18513.active-directory-replication-issues-basic-troubleshooting-steps-single-ad-domain-in-a-single-ad-forest.aspx
    Make  sure that the file server is reachable from the user client computer. Start with
    ping and nslookup. Also, you need to make sure that the traffic between the client and the server is not blocked or filtered. You might want to temporary disable security software for testing
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Running program details on Application server

    Hello Experts,
    How to know details of currently running program details on SAP application server ?
    who executed , by which transaction , what is screen number .... etc
    regards
    Amy

    For Current Transaction SM04 particular apps and al08 for global
    Application serverwise STAD
    ST03N is good tcode u can view tcode list individual application serverwise.
    for all apps server select "Business Transaction analysis"
    Surendra Jain

  • How to find the SQL Server Instances running across the given activer directory domain?

    How to find the SQL Server Instances running across the given activer directory domain?
    I have though of OSQL -L , Microsoft Assessment and Planning ( MAP ) tool and SQLPing3 (SQLSecurity) might help me.
    I would appreciate if there any other way of finding the SQL Servers / Instances running across the given active directory domain.
    Sivaprasad S
    http://sivasql.blogspot.com
    Please click the Mark as Answer button if a post solves your problem!

    Dear ,
    Very simple u find all instances through the customized sp which is get all details about inventory. Like i put the sp bellow. This is without any tool. 
    USE [master]
    GO
    /****** Object:  StoredProcedure [dbo].[DBStatus]    Script Date: 08-01-2015 19:46:11 By Damodar Patle Sr. DBA Mumbai India ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[DBStatus] 
    AS
    SELECT 
    SERVERPROPERTY('servername') AS ServerName,
    ConnectionProperty('local_net_address') AS 'local_net_address',
    ConnectionProperty('local_tcp_port') AS 'local_tcp_port',
    CONVERT(VARCHAR(25), @@VERSION) as  VERSIONSQL,
    SERVERPROPERTY('ErrorLogFileName') AS ErrorLogFilePath,
    database_id,
    CONVERT(VARCHAR(25), DB.name) AS DBName,
    CONVERT(VARCHAR(10), DATABASEPROPERTYEX(name, 'status')) AS [Status],
    CONVERT(VARCHAR(10), DATABASEPROPERTYEX(name, 'Recovery')) AS [Recovery_Model],
    create_date as DBCreate_Date, --physical_device_name,
     (SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS DataFiles,
     (SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS [Data MB],
     (SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS LogFiles,
     (SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS [Log MB],
     (SELECT physical_name FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS MDF_File_Location,
     (SELECT physical_name FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS  LDF_File_Location,
       user_access_desc
       FROM sys.databases DB
       ORDER BY dbName, [Log MB] DESC, NAME

  • My MAC Mini requires reentering password after an unspecified time and running programs are interrupted

    My MAC Mini at unspecified times switches to require reentering the password  and running programs are interrupted.
    I do not find a way in Preferences to correct this.  Software  OS X 10.9.5 (13F34)

    From the menu bar, select
               ▹ System Preferences... ▹ Security & Privacy
    If there's a closed padlock icon in the lower left corner of the preference pane, click it and enter your login password when prompted.
    Click the Advanced button and, in the sheet that opens, uncheck the box marked
              Log out after … minutes of inactivity

Maybe you are looking for