How to copy BGinfo (or non-installer software) into Windows PCs in Domain
Hi, I have been trying to come up with a way to distribute BGinfo to PCs and notebooks in my domain (total 500 units but for Windows 7 only).
We have 95% running on Windows 7, about 10 MACs and misc. For the BGinfo, I will only use on Windows 7.
I hope you can understand that I am very experienced in WinXP and therefore some of my descriptions are WinXP based and do now know if it can be done in Win7.
1. Copy BGinfo into \\%hostname%\%windir%\resource\ (c:\windows\resource)
2. copy "bginfo shortcut" into "all user" startup folder (in WinXP this was "C:\Documents and Settings\user\Start Menu\Programs\Startup"
I do not need this to be automated as I will run this manually but I hope to script can detect if BGinfo was previously copied and stop the copy if it detects it is already there.
I only have the following
- KACE 1000
- domain admin account credentials (Windows 2008R2 AD)
- IP address of PCs and notebooks (obtain via HDCP, IP scanners etc)
Answers (2)
- DirectoryExists(path) or
- FileExists(path) in combination with
- FileVersionEquals(path, version)