Skip to content

AugustoDeveloper/runit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RunIt - It's a simple way to run Windows Applications with configured Windows Authentication

Releases Notes

Releases

Features

RunIt automate the process of 'Run as' Authentication with simple settings:

Create a enviroment

"Env": {
  
}

Set a new application in enviroment

"Applications": [{
            "Name": "Application name",
            "Alias": "Application alias",
            "Filename": "Application path with file name"
        }]
  • Alias: this required attribute allows to RunIt run without directory and identify the application
  • Filename: this required attribute is a full filename with directory is locate de application
  • Name: this attribute describe the application.

Exemple Usage:

"Env": {
  "Applications": [{
          "Name": "Visual Studio 2019",
          "Alias": "vs",
          "Filename": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\devenv.exe"
      }]
}

Set a new domain in enviroment

"Domains" : [{
          "Name": "Domain name",
          "Username": "Username to authentication on domain",
          "Password": "Password to authentication on domain",
          "Alias": "Unique identification of domain"
      }],
  • name: this required attribute identify a credential
  • username: this required attribute is a username to authentication on Windows 'Run as'
  • password: this required attribute is a password to authentication on Windows 'Run as'
  • domain: this required attribute is a domain to authentication on Windows 'Run as'

Example Usage:

"Env": {
        "Domains" : [{
            "Name": "test",
            "Username": "test",
            "Password": "teste",
            "Alias": "tt"
        }],
}

This way we have a configuration

{
    "Env": {
        "Domains" : [{
            "Name": "test",
            "Username": "test",
            "Password": "teste",
            "Alias": "tt"
        }],
        "Applications": [{
            "Name": "Visual Studio 2019",
            "Alias": "vs",
            "Filename": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\devenv.exe"
        },{
            "Name": "SQL Management",
            "Alias": "sql",
            "Filename": "C:\\Program Files (x86)\\Microsoft SQL Server Management Studio 18\\Common7\\IDE\\Ssms.exe"
        }]
    }
}

Finally, Run It!

Open the 'CMD' and go to RunIt assmbly folder, execute a command:

bin > RunIt.exe -d tt -a sql

If need see log of the app use verbose arg -v:

bin > RunIt.exe -v -d tt -a sql
trce: RunIt.Program[0]
      Domain St0n3.123123Zxcasqw...
trce: RunIt.Program[0]
      Aplication Visual Studio 2019...
trce: RunIt.Program[0]
      Authenticating the Visual Studio 2019 with NPADSTONE\augusto.mesquita...
File: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe...
trce: RunIt.Program[0]
      Executing ...C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe

About

RunIt - It's simple way to run with authentication on 'Run as'

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages