In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will share with you about the permission problems encountered by Jenkins in executing remote Windows batches. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Jenkins may encounter access issues when building Windows batches, resulting in inability to execute, or, although executable, unable to access remote directory files. Here are a few typical errors and their handling.
The execution of the Jenkins task failed with a message: access denied.
Solution:
Modify the Jenkins service properties, change the login identity from the default local system account to the specified account, and restart the service after modification.
The execution of the Jenkins task failed with a message: incorrect username and password.
One phenomenon is that every time the computer is rebooted, the account password that logs into the shared folder on the Internet has to be re-entered.
Solution:
Modify the remote machine to open the guest account and authorize the shared folder.
Run secpol.msc, the local security policy, local policy-"security options -" network access: the sharing and security model of local accounts, changed from the default classic to guest-only.
Run gpedit.msc that is Group Policy, computer configuration-"Windows Settings -" Security Settings-"Local Policy -" Security options-"account: guest account status, changed from disabled by default to started.
Or uncheck the disabled Guest guest account in computer management.
In the user rights assignment of Group Policy, modify the properties of deny Local login and deny access to this computer from the network, and delete the Guest guest user.
The remote machine needs the file path of the share to be shared, and the sharing permission is completely controlled by Everyone.
Add full control of the Guest guest account to the security settings.
Cannot open the shared folder on the LAN machine, prompting that the network path cannot be found
After enabling the above guest users, if the network path is still not found, there may be another reason: do not use the hostname to access the shared path, you should use the IP address to access it.
Thank you for reading! About "what are the permission problems encountered by Jenkins in implementing remote Windows batch processing?" this article ends here. I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.