Are you attempting to connect to connect to the EDW remotely and having difficulty? If so, continue reading this section. If you log into your computer using your UW NetID credentials in a native UW environment and are looking for instructions on connecting via specific program, please skip to the next section.
If you're trying to connect to the EDW remotely (i.e. from an off-campus computer), you must log on to the UW network using the Husky OnNet VPN software. Note: In general, UW Medicine locations are considered "off-campus" and also require Husky OnNet.
Regardless of what query tool you use with the EDW, you must connect with your UW NetID credentials. If you do not log into your computer in a native UW NetID environment, you will need to use a special command to open your query tool with your NetID credentials.
Windows Instructions
The "RunAs" command allows you to open and operate programs using different credentials than the credentials you use to log in to your computer. Instructions to create your "RunAs" command vary depending on the operating system, the program you want to use, and the program's path. These examples work for standard Managed Workstation Service computers. If your computer is not managed by MWS, check with your department’s IT staff to modify these instructions for your computing environment.
In order to open your query tool using UW NetID credentials via RunAs, you'll follow two steps:
- Build the RunAs command
- Execute the RunAs command
Step 1: Build the RunAs command
In this step, you'll build a RunAs command specific to you and the query tool you will be running.
The "RunAs" command has two basic parts, as shown below:
- First part: RunAs /netonly /user:yournetid@netid.washington.edu – this tells your computer to open the tool using your UW NetID credentials, where you replace yournetid with your UW NetID. The /netonly option of the command maintains your access to your local and network drives and printers.
- Second part: Program path – in other words, the location on your hard drive where the tool program is stored. This can vary based on operating system and tool version.
Example:
RunAs /netonly /user:yournetid@netid.washington.edu "C:\Your\Program\File\Location.exe"
-
The first part of the RunAs command is as follows (replacing yournetid with your UW NetID):
RunAs /netonly /user:yournetid@netid.washington.edu
Note: we suggest you copy and paste this string so you have the included spaces.
- Create the second part of the command by finding the path for the program you want to run:
- Click Start > All Programs, and navigate to the program you want to open
- Right click on the program icon and choose Properties
- If the contents of the Target field resemble the image on the left below, you now have the program path. If the contents resemble the image on the right, skip to Step 3 below.
-
Copy the contents of the Target field on the Shortcut tab, including the double quotes. Add this to the first part of the command, to get a full command that looks similar to this:
RunAs /netonly /user:yournetid@netid.washington.edu "c:\program files\microsoft office\office15\excel.exe"

- (Optional) If the contents of the Target field resemble the "Unusable Target" image on the right above, you will need to create the target by hand by finding the path of the program's .exe file.
- Search your computer for the appropriate file name (see the table for examples)
Program |
File Name |
Access |
msaccess.exe |
Excel |
excel.exe |
Tableau |
tableau.exe |
SQL Data Tools* |
devenv.exe |
SSMS** 2012 |
ssms.exe |
* Formerly known as BIDS – Business Intelligence Development Studio, aka Visual Studio
**SSMS – SQL Server Management Studio
|
- Create the program path to get to the original executable file
Step 2: Execute the RunAs command
Now that you've built your RunAs command, there are two recommended ways to execute it:
- Issue the "RunAs" command through the Run dialog box
- Script the "RunAs" command in a batch file
Option 1: Issue the "RunAs" command through the Run dialog box
- Bring up the Run dialog box by pressing the Windows and R keys together
- To the right of Open: in the Run dialog box, paste the command for your query tool and click OK

- When prompted, enter your UW NetID password
Option 2: Script the "RunAs" command in a batch file
Another way to use the RunAs command is through a batch file with the extension .bat. You can double click the .bat file icon and supply your password to open the tool you would like to use.
To create a .bat file:
- Open Notepad
- Paste in the command that we created above:
- RunAs /netonly /user:yournetid@netid.washington.edu "C:\Your\Program\File\Location.exe"
- Hit Enter, and type in the word pause without quotes
- Click File > Save As and save the batch file
- Change Save as type to All Files
- Name the file with a .bat extension. Do not save the file with a .txt extension. The example below is named Excel.bat
- Repeat the batch file creation process for each tool you use
![Notepad application with a file named "Excel.bat" with two lines of text. The first line is: [RunAs /netonly /user:yournetid@netid.washington.edu "C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"] The second line is: pause](https://it.uw.edu/wp-content/uploads/2024/02/excel_bat_file.jpg)
MacOS Instructions
Note: The EDW team cannot provide detailed technical support on using non-Windows machines to connect directly to the EDW. Mac instructions are provided as a courtesy based on feedback from users.
In order to connect to the EDW using MacOS, you will need to update (or create) your Kerberos configuration file (
krb5.conf). The krb5.conf file contains Kerberos client configuration information that will be necessary to connect to the EDW. This file should be located in your /etc/ directory.
Step 1: Navigate to the /etc/ directory
Navigate to the /etc/ directory on your MacOS machine. Please note that this directory is hidden by default. To navigate to this directory, open
Finder and press
Command + Shift + G. In the popup, enter the path to the folder we want to access:
/etc/.
Step 2: Create your krb5.conf file
Now that you are in the /etc/ directory, you will need to create your Kerberos configuration file (
krb5.conf). Using your preferred text editor, create a new file titled
krb5.conf in the /etc/ directory. Note that you should only need to do this step once. This file consists of information that tells your OS what Kerberos realm it needs to be using. We suggest copying and pasting the below example into your new file:
[libdefaults]
default_realm = NETID.WASHINGTON.EDU
[realms]
NETID.WASHINGTON.EDU = {
admin_server = _kerberos._tcp.netid.washington.edu
kdc = ezra.netid.washington.edu
kdc = ahsoka.netid.washington.edu
kdc = leia.netid.washington.edu
kdc = kanan.netid.washington.edu
kdc = obiwan.netid.washington.edu
default_domain = NETID.WASHINGTON.EDU
}
[domain_realm]
netid.washington.edu = NETID.WASHINGTON.EDU
.netid.washington.edu = NETID.WASHINGTON.EDU
.s.uw.edu = NETID.WASHINGTON.EDU
Step 3: Run the kinit command
In order to run your preferred EDW querying program as your UW NetID, you will need to run the kinit command. Open a
terminal window, and run the following (adjusting
yournetid to be your UW NetID):
kinit yournetid@NETID.WASHINGTON.EDU
Enter your UW NetID password when prompted.
Step 4: Open your Querying Program
Once you have completed creating your
krb5.conf file and you have run the kinit command, you will now be able to use Kerberos authentication for the querying program of your choice. See the
Excel (MacOS) section for an example of this.