Home > OS >  Windows: is there any way to distribute a desktop shortcut or change the task bar icon?
Windows: is there any way to distribute a desktop shortcut or change the task bar icon?

Time:10-08

[b] hello,

Excuse me each great god did a Windows domain environment method (group policy? Can distribute the shortcut icon or change a user computer desk surface? And task bar icon shortcuts can also do it?
I hope you give some valuable advice, I wish you all a happy New Year!!!!!!

CodePudding user response:

In the group policy configuration login script XXX. VBS
 
The Set WshShell=WScript. CreateObject (" WScript. Shell ")
StrDesktop=WshShell. SpecialFolders (" Desktop ") :
The set oUrlLink=WshShell. CreateShortcut (strDesktop & amp; "\ shortcut to the file. LNK")
OUrlLink. TargetPath=\ \ "xxx.xxx.com \ \ xx XXX. Exe"
OUrlLink. WorkingDirectory=\ \ "xxx.xxx.com \ " xx
OUrlLink. Save
The set oUrlLink=WshShell. CreateShortcut (strDesktop & amp; "\ shortcuts to the url. The url")
OUrlLink. TargetPath="http:\\xx.xxx.com"
OUrlLink. Save

The Set WshShell=nothing
The set strDesktop=nothing
The set oUrlLink=nothing
  • Related