Answer the question
In order to leave comments, you need to log in
How to set up dual authorization 1C in bat?
Hello. I do 1C compression on the server through a batch file. I'm trying to completely remove my participation in the execution of the script. And the bottom line is this: at the stage of starting processing on the 1C server, it asks you to enter the database admin login (Administrator, in Russian letters), then inside the program it asks you to enter the domain admin account. How to implement it in batch file?
1. With the first authorization, here's the jamb, it is transmitted by the line / N "Administrator" / p "password", but 1251 and 866 encodings become hieroglyphs.
2. With the second authorization, it's generally a golyak. No idea how to transfer a domain account inside the 1C program and thereby start the necessary processing.
Answer the question
In order to leave comments, you need to log in
1) Save the batch file in the correct encoding, or even better, rename the admin account, make it Latin.
2) Why double authorization? If you have system authorization, why do you also need 1c authorization? Leave one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question