In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Head office branch
Network environment:
The total branch company (Shenzhen / Huizhou) is connected through × × network, which is the same internal network, and the network segment of the head office is 192.168.X.X.
The branch network is 10.1.X.X.
Business requirements: the head office needs to push WeCom to various clients, some of which are installed and some are not installed. The transmission speed through × × × private network is probably less than 1m, if the copy instruction is sent through the domain. Will affect the company's overall bandwidth solution: Shenzhen / Huizhou (head office) each put a file server, Shenzhen can directly use the domain server, and put all the files in the WeCom installation directory into the Shenzhen / Huizhou server, such as\ lee.net\ server. ;\ 10.1.9.9\ wxwork add GPO to the domain and set the user login script directive as follows: @ echo off
Rem WeCom installation (because WeCom uses it directly, so directly judge whether the file exists or not, do not copy and generate a shortcut to the current user's desktop)
Rem judges whether the client computer is in Shenzhen or Huizhou (10.1. Segment IP), and then copy data from the local server to reduce the consumption of AD server network resources
Ipconfig | findstr "192.168."
If errorlevel 1 goto hz
If errorlevel 0 goto sz
Exit
Exit
: sz
If not exist "C:\ Program Files (x86)\ WXWork\ WXWork.exe" (
Xcopy "\ lee.net\ SysVol\ absen.com\ Policies {E4DA57A7-E4CC-4F61-9AA1-3F43B4F2D113}\ User\ Scripts\ Logon\ WXWork"C:\ WXWork\" / E / C / Q / Y
Copy "C:\ WXWork\ WeCom .lnk"% USERPROFILE%/desktop"
) else (
Exit
)
: hz
If not exist "C:\ Program Files (x86)\ WXWork\ WXWork.exe" (
Xcopy "\ 10.1.9.9\ wxwok"C:\ WXWork\" / E / C / Q / Y
Copy "C:\ WXWork\ WeCom .lnk"% USERPROFILE%/desktop"
) else (
Exit
)
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.