Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Help with roaming profile problem

Posted on 2008-10-15
9
415 Views
Last Modified: 2012-05-05
At my school, I have a student account that is used on 80+machines. I setup roaming profile, and change the profile to man to stop the students from changing things. The problem I am running into now is I cannot set a default printer, default homepage.

I have set a GPO to set the default homepage, and it works but the profile seems to be holding a different page when Internet explorer closes. It's the same scenario with the printers. i set a default printer, and it changes on reboot.

Now these computers are setup in different labs, with each lab having it's own printer for them to use. I think the problem is from the profile, but I do not know a way to configure it for each classroom. and because of the roaming profile anything I set gets deleted on reboot. I was thinking I would have to make some child ou's then script the printers.

Thanks
0
Comment
Question by:Con366
  • 5
  • 4
9 Comments
 
LVL 6

Accepted Solution

by:
JimsZ earned 500 total points
ID: 22721896
You can use a login script to set the default printer whenever someone logs in (just use A/D users and computers and under login script can point to yours).

Here is what you would want in your script.  


Set objFileSys    = CreateObject( "Scripting.FileSystemObject" )
Set objWshNetwork = CreateObject( "WScript.Network" )
Set objWshShell   = CreateObject( "WScript.Shell" )
Set objNetwork = CreateObject("WScript.Network")
Set objPrinter = CreateObject("WScript.Network")
Set WshNetwork = CreateObject("WScript.Network")
'-------------------------------------------------------
 WshNetwork.AddWindowsPrinterConnection "\\path\printer"
'objPrinter.SetDefaultPrinter "\\path\printer"


As far as changing the home page (if you renamed the NTUSER.DAT to NTUSER.MAN prior to changing the homepage) you can either rename the NTUSER.MAN file to NTUSER.DAT and change homepage, then rename back to .MAN or you can push the Home Page through Group Policy.  This is because when a profile is mandatory, there are no machine registry settings able to be changed which causes it to revert back to previous.

Reboot & rename to .dat & login, make the changes needed and reboot machine changes made on which will update the profile.   In meantime rename the roaming profile .dat file for roaming profile back to .man

0
 
LVL 6

Expert Comment

by:JimsZ
ID: 22721909
guess prior to objPrinter.SetDefaultPrinter it should not have a comment out '

0
 

Author Comment

by:Con366
ID: 22721987
I understand the .MAN to .DAT change then reverse it after changes.

But I have 8 different labs with 8 ip printers. I would like to make it dummy proof, by only having the one printer on the computers in the lab. All these computers use the same login. Is there a way to do this?

This could work if I made different user name for each lab room. But change doesn't really go good around here. If it has to be done then it will, but hopefully there's a way around this
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 6

Expert Comment

by:JimsZ
ID: 22722038
Just use a login script to map the printers.  You can put the users into "groups" and just force the script to run to the groups through group policy instead of a user login script.

0
 
LVL 6

Expert Comment

by:JimsZ
ID: 22722043
errr I should say force the "different scripts" to run through different group policies.
0
 

Author Comment

by:Con366
ID: 22722107
So I should then go with making a new user for each lab. I assume thats what you mean by "users"

right now it's just one user and 80 computers they use.
0
 
LVL 6

Expert Comment

by:JimsZ
ID: 22722136
You can either copy the current profile to different profiles (which would allow you to set everything in each profile) and have 8 different profiles, just changing the user profile locations.

Or you can just use scripting which can be changed at any time very easily!  Printer moves to new machine takes you 45 seconds to change in script!
0
 

Author Comment

by:Con366
ID: 22734530
Not good with scripts. Can you tell me a little of how this script works.

And I assume it's jsut made with notepad saved as all files with a .vbs extension?
0
 

Author Closing Comment

by:Con366
ID: 31506310
Never heard back from you. You were on the right track with this, just needed a little help with the follow through.

Thanks anyways
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Event ID: 5719 / Source: NETLOGON 9 146
extend monitor issues 6 44
server crashed 2 48
Windows XP and a 3TB drive that Windows cannot see 19 33
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question