对于Windows Server 2008,有没有一种简单的方法把服务器名称放在背景墙纸中?
我想它显示SERVER-A,SERVER-B等…
我不想买任何东西或生成图像。
是的,BGInfo可能是最好的select。
你也可以让它显示有用的信息,如IP,MAC,域名等。你可以设置它在login时自动更新,甜美的新任务调度程序只需将其设置为“Atlogin”的触发器和“C:\ Bginfo .exe bginfo.bgi / timer:0“,其中”C:\ BGinfo.exe“是您拥有BGInfo.exe的path,”bginfo.bgi“是您保存的完整path。 BGI。
您可以通过Googlesearch获得bginfo,或点击此处 。
你有一个简单的select:把它吸了起来,并创build一个简单的壁纸上只有它的服务器的名字。 另一个select是sysinternal的bginfo 。 两者都是免费的。
为了完全诚实(简单),我总是将桌面上的我的电脑图标重命名为服务器名称。
BGInfo是我害怕的答案! 我使用了一个时髦的VBScript脚本,允许您select正确的壁纸分辨率,然后使用configuration文件运行BGInfo,将信息放在正确的位置。 脚本在下面,您可以根据您的要求进行修改:
Set objFSO = CreateObject("Scripting.FileSystemObject") Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colItems = objWMIService.ExecQuery ("Select * From Win32_DisplayConfiguration") Const OverwriteExisting = TRUE ' Determine the size of the desktop For Each objItem in colItems X = objItem.PelsWidth Y = objItem.PelsHeight Next WScript.Echo "X:" & X WScript.Echo "Y:" & Y StrPath = "c:\bginfo\" strRightSizeBMP = StrPath & "wallpaper" & X & "x" & Y & ".bmp" WScript.Echo strRightSizeBMP ' Location and Name of Wallpaper WinPath = "c:\bginfo\wallpaper.bmp" ' Copy Wallpaper for correct Screen Resolution to correct location objFSO.CopyFile strRightSizeBMP, "c:\bginfo\wallpaper.bmp", OverwriteExisting ' Check for a temp file. If it exists, this script has run before on this PC, therefore we quit. Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colFiles = objWMIService.ExecQuery("SELECT * FROM CIM_DataFile WHERE Path = '\\bginfo\\' AND Drive = 'C:' AND FileName = 'wallpaper' AND Extension = 'bmp'") If colFiles.Count =1 Then WScript.Echo "c:\bginfo\wallpaper.bmp exists" If colFiles.Count < 0 Then objFSO.CopyFile strRightSizeBMP, "c:\bginfo\wallpaper.bmp", OverwriteExisting End If Set objShell = CreateObject("Wscript.Shell") objShell.Run("c:\comet\bginfo.exe c:\bginfo\bginfo-cfg.bgi /TIMER:0 /SILENT /NOLICPROMPT"), 1, TRUE
您应该将脚本保存到c:\ bginfo \中,并将以下文件转储到此目录中:
bginfo.exe bginfo-cfg.bgi(使用您的特定configuration使用bginfo创build)wallpaperYYYYxZZZZ.bmp(其中Y和Z是分辨率 – 例如wallpaper800x600.bmp)
您需要为您想要支持的每个分辨率创build一个wallpaperYYYYxZZZZ.bmp。
最后,只需将脚本的完整path添加到login脚本或RUNregistry项中即可。