nussucommit / docs

NUSSU commIT Technical Cell Documentation
0 stars 0 forks source link

Changing wallpaper requires manually running Delprof #2

Open donjar opened 7 years ago

donjar commented 7 years ago

Usually when you change the wallpaper in the supervisor computer, all computers will have their wallpapers automatically updated. This is reflected in C:\Windows\CommIT\wallpaper.jpg.

However, this is not the case anymore, even though the file is actually changed. This is because the wallpaper is somehow cached in the User directory. (I forgot which file is the cache. You figure it out.)

So what we do these days is we run Delprof in each and every computer, every time we want to change the wallpaper.

Try to figure out a way so that the cache is also busted when we change the wallpaper.

HanamaruSS commented 6 years ago

temporary solution:

  1. change the group policy (gpedit.msc)
  2. in gpedit: User Config > Admin Templates > Desktop > Desktop
  3. in desktop menu, enable the policy for Desktop Wallpaper
  4. edit the policy, in wallpaper name put C:\Windows\commIT\wallpaper.jpg
  5. wallpaper style: Fill

After that, you just need to change the wallpaper.jpg in C:\Windows\commIT and then logoff, login again to change the wallpaper. But need to change for every computer.

Make sure that the wallpaper has the setting of:

HanamaruSS commented 6 years ago

Now, in gpedit.msc put \\YI-1-51K0T92\commIT\wallpaper.jpg instead.

This will force the PCs to fetch the wallpaper file of PC YI-1-51K0T92, which is the PC 01 in YIH, the one on the left on the supervisor table, on every new login

Thus, only need to change the wallpaper.jpg in YIH 01 PC, located in C:\Windows\commIT\wallpaper.jpg

However, there is a catch: Loggin in with local account (e.g. quickprint acc, pcadminxxx, etc.) instead of domain account (e.g. nusstu\xxx, nusstf\xxx) will result in no wallpaper due to different credentials.