Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

Domain Policy: Force network wallpaper

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Goto page 1, 2  Next
Post new topic   Reply to topic   Printer-friendly version    Security Forums Index -> Exchange 2000 // 2003 // 2007 & Active Directory

Special offer!

TechGenix and SolarWinds have partnered to provide a fully-functional, free 21-day trial version of SolarWinds ipMonitor, the WindowsNetworking.com Readers' Choice Award Winner for monitoring applications, servers, and network devices to all visitors who join Security Forums. Sign up to Security Forums and get your copy today! Existing members can pick up a copy from the Members Area.

View previous topic :: View next topic  
Author Message
canadaka
Lurker
Lurker


Joined: 30 Nov 2004
Posts: 18


Offline

PostPosted: Fri Dec 03, 2004 9:53 pm    Post subject: Domain Policy: Force network wallpaper Reply with quote

I can't figure out a way to force a company wallpaper on all workstations.
Our new server is SBS2003 and all users are logging into the domain.

I can only find in the domain security policy the option to disable users from setting or changing there wallpaper.

I know there is a way to do this, my previous school did this, and another school did this and changed the wallpaper weekly to show current school events.

If i can't find a way to do this fmor the server is there a way on the local workstations to set a default windows wallpaper that is used by whatever account logs in.
Back to top
View user's profile Send private message
wshamroukh
Forum Addict
Forum Addict


Joined: 21 Sep 2004
Posts: 471
Location: Palestine

Offline

PostPosted: Sat Dec 04, 2004 9:21 am    Post subject: Reply with quote

to force a fixed wallpaper on all clients using the GPO go to the GPO>user Configuration>Administrative Templates>DeskTop>Active Desktop>Active Desktop Wallpaper and enable this and determine the place the wallpaper and it is done man!!
Back to top
View user's profile Send private message
elshehri
Regular Member
Regular Member


Joined: 08 Aug 2004
Posts: 89
Location: United Arab Emirates

Offline

PostPosted: Sat Dec 04, 2004 6:21 pm    Post subject: Reply with quote

Hi,
in the location C:\Documents and Settings\"username", change the extension of the file ntuser.dat to ntuser.man after u make ur desktop wallpaper
Thanx
Back to top
View user's profile Send private message Send e-mail MSN Messenger
IanR
Lurker
Lurker


Joined: 02 Dec 2004
Posts: 10


Offline

PostPosted: Sat Dec 04, 2004 9:46 pm    Post subject: Reply with quote

An alternative approach: Create a text file containing:

----------------
REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]
"Wallpaper"="C:\\WINDOWS\\logo.bmp"
-----------------

and save it as "wallpaper.reg" in the windows folder (or wherever you prefer)

In the server's logon script, add these two lines

regedit /s c:\windows\wallpaper.reg
if exist logo.bmp xcopy /y /d logo.bmp c:\windows\

Now, if you put a replacement logo into the NETLOGON share, it will be copied to each machine that logs-on. (The /d switch prevents repeat-copying of the same file from wasting bandwidth)

You might need to adjust the values I've given to suit your network.
Back to top
View user's profile Send private message Visit poster's website
Techie-Micheal
Lurker
Lurker


Joined: 18 May 2004
Posts: 18


Offline

PostPosted: Sun Dec 05, 2004 4:24 am    Post subject: Reply with quote

Are you working off of profiles in AD, or just having users logging in? Profiles would be the way to go, in my opinion. Then you can set mandatory profiles, and if users make a change, as soon as they reboot, everything is back to normal.
Back to top
View user's profile Send private message
IanR
Lurker
Lurker


Joined: 02 Dec 2004
Posts: 10


Offline

PostPosted: Sun Dec 05, 2004 3:41 pm    Post subject: Reply with quote

Techie-Micheal wrote:
Then you can set mandatory profiles


That has ramifications far beyond setting the wallpaper, however. Before making such a decision the effects would need to be carefully evaluated.
Back to top
View user's profile Send private message Visit poster's website
Techie-Micheal
Lurker
Lurker


Joined: 18 May 2004
Posts: 18


Offline

PostPosted: Sun Dec 05, 2004 7:04 pm    Post subject: Reply with quote

IanR wrote:
Techie-Micheal wrote:
Then you can set mandatory profiles


That has ramifications far beyond setting the wallpaper, however. Before making such a decision the effects would need to be carefully evaluated.
True. However, it would also prevent users from changing various things on the system such as homepage and so on. But, just a suggestion as that is what we use at work. Well, for the students anyway. Professors and staff are not on mandatory profiles.
Back to top
View user's profile Send private message
AdamV
SF Mod
SF Mod


Joined: 06 Oct 2004
Posts: 4585
Location: Leeds, UK

Offline

PostPosted: Sun Dec 05, 2004 8:24 pm    Post subject: Reply with quote

IanR wrote:
----------------
REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]
"Wallpaper"="C:\\WINDOWS\\logo.bmp"
-----------------
<snip>

if exist logo.bmp xcopy /y /d logo.bmp c:\windows\


Two things:
if you add this to your reg file as well:
Code:

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"Pattern"="(None)"
"WallpaperStyle"="2"
"TileWallpaper"="0"
"Wallpaper"="c:\\windows\startup.bmp"

this will make the wallpaper the default user wallpaper as well, which is the screen shown during startup before logon (on 2k and XP at least). This means you can have eg company logo and "this belongs to us, phone this number if found" etc. or a user message like "don't attempt to log on if you do not accept the computer use policy".
The extra two lines make it stretched to fill screen, that's all.

Also, you don't need the "if exist" part - just use the /u switch for xcopy and it will only copy a file which already exists anyway (although to be honest I would have thought for this use you want to copy it regardless, so just lose the "if exist" and keep the /y /d (maybe add /q /c))
_________________
"Due to global warming, eskimos now have 20 words for water" John O'Farrell
Meteor IT - Technical Consulting Services and Software Training Courses, Leeds, UK
Back to top
View user's profile Send private message Visit poster's website
canadaka
Lurker
Lurker


Joined: 30 Nov 2004
Posts: 18


Offline

PostPosted: Mon Dec 06, 2004 10:56 pm    Post subject: Reply with quote

I tried out these sugestions, seems to be mostly working so far.

one issue is that some clients are win2000 some are XP so the windows folder is "winnt" or "windows". How can I make it so it will reconize which?
or can I use a variable?

also changed the if exist too it NOT exist

the wallpaper is being set for when the login promt is displayed, so when a user is logged off. but soon as they login it changes to no wallpaper (blue background)

In the desktop display settings, it lists the .bmp wallpaper as selected and displays the preview... but is not displaying on the desktop.
Back to top
View user's profile Send private message
AdamV
SF Mod
SF Mod


Joined: 06 Oct 2004
Posts: 4585
Location: Leeds, UK

Offline

PostPosted: Tue Dec 07, 2004 1:08 am    Post subject: Reply with quote

Note my "as well" - use the reg entry provided by IanR to set the user wallpaper and use mine to set the pre-login.
You can put the bitmap anywhere and point the reg key at it, so this gets round the windows / winnt issue (we actually have it in a root folder that we use for all this sort of stuff, flag files etc.).

I would suggest lose the "if not exist" totally and just do xcopy.... /d /y /q, which will copy it if it does not exist or if the modified date on the central copy is newer (ie you change it, like you implied you might from time to time)
_________________
"Due to global warming, eskimos now have 20 words for water" John O'Farrell
Meteor IT - Technical Consulting Services and Software Training Courses, Leeds, UK
Back to top
View user's profile Send private message Visit poster's website
canadaka
Lurker
Lurker


Joined: 30 Nov 2004
Posts: 18


Offline

PostPosted: Tue Dec 07, 2004 1:55 am    Post subject: Reply with quote

I did include both suggestions, but didn't have a double slash. Its all working now though! thanks a lot.

Code:

REGEDIT4

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"Pattern"="(None)"
"WallpaperStyle"="2"
"TileWallpaper"="0"
"Wallpaper"="c:\\startup.bmp"


[HKEY_CURRENT_USER\Control Panel\Desktop]
"Pattern"="(None)"
"WallpaperStyle"="2"
"TileWallpaper"="0"
"Wallpaper"="c:\\startup.bmp"
Back to top
View user's profile Send private message
AdamV
SF Mod
SF Mod


Joined: 06 Oct 2004
Posts: 4585
Location: Leeds, UK

Offline

PostPosted: Tue Dec 07, 2004 8:55 am    Post subject: Reply with quote

You are most welcome.
_________________
"Due to global warming, eskimos now have 20 words for water" John O'Farrell
Meteor IT - Technical Consulting Services and Software Training Courses, Leeds, UK
Back to top
View user's profile Send private message Visit poster's website
pemorej
Just Arrived
Just Arrived


Joined: 13 Dec 2004
Posts: 3


Offline

PostPosted: Mon Dec 13, 2004 7:31 am    Post subject: Reply with quote

is this right?

im going to save this code as wallpaper.reg:

REGEDIT4

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"Pattern"="(None)"
"WallpaperStyle"="2"
"TileWallpaper"="0"
"Wallpaper"="c:\\startup.bmp"


[HKEY_CURRENT_USER\Control Panel\Desktop]
"Pattern"="(None)"
"WallpaperStyle"="2"
"TileWallpaper"="0"
"Wallpaper"="c:\\startup.bmp"

then put it in the client machine( c:\windows\winnt\). correct?
_________________
// thanks for helping a noob like me.
Back to top
View user's profile Send private message
Crazy
Frequent Member
Frequent Member


Joined: 11 Nov 2003
Posts: 148


Offline

PostPosted: Mon Dec 13, 2004 12:35 pm    Post subject: Reply with quote

elshehri wrote:
Hi,
in the location C:\Documents and Settings\"username", change the extension of the file ntuser.dat to ntuser.man after u make ur desktop wallpaper
Thanx


That`s will effect All unsaved Data if you have important data user desktop will be removed and And keep desktop yes that will change from roaming user profile to mandtoray user profile not work on this case ,
using registery file work fine I test that
_________________
Share your knowledge, it's a
way to achieve iiImmortality.
Back to top
View user's profile Send private message Visit poster's website
canadaka
Lurker
Lurker


Joined: 30 Nov 2004
Posts: 18


Offline

PostPosted: Mon Dec 13, 2004 10:10 pm    Post subject: Reply with quote

if you set:
"Wallpaper"="c:\\startup.bmp"

then the bmp should be in c:\

I put the .reg file on the server in the NETLOGON folder.
you can other run the .reg file by running it in a batch file, and running that batch file in the users login script, or setting it in a group policy.

The line to run the reg file in batch is:
Code:

regedit /s \\Server\NETLOGON\wallpaper.reg
Back to top
View user's profile Send private message
pemorej
Just Arrived
Just Arrived


Joined: 13 Dec 2004
Posts: 3


Offline

PostPosted: Tue Dec 14, 2004 4:21 am    Post subject: this is what i did..... Reply with quote

this is what i did in here:

1. i created a new OU in the AD for this one, named it EXPERIMENTAL
2. i created a new user under this OU named NETUSER1
3. right click on the OU EXPERIMENTAL, properties and to the group policy tab
4. there is no GPO so i hit NEW, then EDIT.
5. the GPO is open, i went to USER CONFIGURATION > WINDOWS SETTINGS > SCRIPTS > LOGON
6. i hit the ADD, in the SCRIPT NAME i browsed through the NETLOGON FOLDER for the WALLPAPER.REG
7. then in the SCRIPT PARAMETERS i typed in this one:
regedit /s \\myserver\NETLOGON\wallpaper.reg
8. after this, i put a copy of the wallpaper file on the client c: drive (i used your wallpaper.reg sample)

am i missing something? because the wallpaper is just plain blue.
_________________
// thanks for helping a noob like me.
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Security Forums Index -> Exchange 2000 // 2003 // 2007 & Active Directory All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register