# 端口占用

netstat -ano | 
taskkill /f /p 23344
1
2

# ping不通

入站规则 wenjianhe

# wget/下载工具

  1. 下载网址:

https://eternallybored.org/misc/wget/

  1. 将wget.exe放至 C:\Windows\System32

  2. 控制台输入命令下载到当前目录

wget https://eternallybored.org/misc/wget/1.21.3/64/wget.exe
1

# Outlook文件路径修改

在Outlook 2016中移动OST文件位置后,创建符号链接

mklink C:\Users\Administrator\AppData\Local\Microsoft\Outlook\lixt133606@hanslaser.com.ost D:\Users\Administrator\AppData\Local\Microsoft\Outlook\lixt133606@hanslaser.com.ost
# cmd命令支持
mklink /D dir1 tadir
1
2
3

# Windows服务

# Jenkins服务添加

sc create Jenkins binpath=E:\www\Jenkins\windowsJenkins\jenkins.exe
sc config Jenkins start=auto
sc start Jenkins #
1
2
3

# windows下环境变量未生效

  • 重启电脑

  • cmd 查看 where java

  • 重启资源管理器

taskkill /f /im explorer.exe && explorer.exe (没起作用)

  • 刷新注册表
  • 重启资源管理器2
explorer.exe重启
# explorerRestart.bat

@echo off
taskkill /im explorer.exe /f
ping -n 2 127.0.0.1 > nul
start c:\windows\explorer.exe
1
2
3
4
5
6
7

#

# 自启动路径

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

# Git图标覆盖问题

因为覆盖图标的最多只能显示15个,只需要调整顺序把这些放入到前面即可

image-20220808105036592

# 80端口被占用

netsh http show servicestate # 使用命令查看
1

根据查询到的进行id或控制器进程id进行服务停止或taskkill

image-20220812094227629

可能是IIS服务器占用