怎样让我的u盘插入电脑后能自动播放

2025-03-02 09:04:18
推荐回答(3个)
回答1:

在U盘根目录下用记事本编写个autorun.inf就可以了

这是偶以前遇到的一个u盘病毒的autorun.inf,把下面的lvpwmgh.exe改成你要运行的程序就好咯
[AutoRun]
open=lvpwmgh.exe
shell\open=打开(&O)
shell\open\Command=lvpwmgh.exe
shell\open\Default=1
shell\explore=资源管理器(&X)
shell\explore\Command=lvpwmgh.exe

回答2:

在开始-运行,输入services.msc,找到Shell Hardware Detection这个服务,设置为自动启动即可

回答3:

别开启自动播放了 容易传播病毒