cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
247
Views
0
Helpful
1
Replies

batch file for logging into Unity

rossporubski
Level 4
Level 4

Good morning, I'm trying to set up a batch file to automatically log me into unity when run everything works fine up until I get the logon authentication prompt. Does anybody know if there is a way to automatically add the logon info through a batch? Here's my example

@BigR off

echo Hello %1 Subscriber

start /max http://xxx.xx.x.xx/Web/SA

setlocal

set Yes=N

:again

endlocal

http://xxx.xx.x.xx\username:password@http://xxx.xx.x.xx/Web/SA

1 Reply 1

rossporubski
Level 4
Level 4

Wierd, The aforementioned will work fine if I enter the username and password the first time. Anytime after that, the batch works great.

But.....

When I run the batch script for ccmadmin, the password gets knocked off and you can only use one or the other [ccmadmin or unity] at once.