Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The batch process determines whether the domain user 360 program is installed, and if not, the user name and IP are output.

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Problem: domain strategy deploys 360 enterprise antivirus software, 1. Due to various environmental problems of the following clients, 360 software is not installed on individual terminals. two。 There are more than 700 computers, so it is very troublesome to find them one by one.

Solution: write a batch processing and domain policy push, send the uninstalled users and IP to the specified directory, and solve them freely according to the user or IP. The technology here is limited and there is no writing to judge the software that is running.

Batch logic: 1. Determine whether the software has been installed (detect the exe file under the 360C disk path), no installation output user name and IP address, has been installed and exited.

two。 The output path is a shared path, which each user can write to.

@ echo off

If "% 1" = = "h" goto aaa

Start mshta _ vbscript:createobject ("wscript.shell"). Run (""% ~ nx0 "" h ", 0) (window.close) & & exit

: aaa

If exist "C:\ Program Files (x86)\ 360\ 360Safe\ 360Safe.exe" (

Exit

Rem determines whether the new version is installed, and exits if it is installed

) else (

Goto begin

)

: begin

Netsh interface ip show config >\ 10.10.12.201\ Public sharing\ 360\% username%.txt

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report