+ Post New Thread
Results 1 to 5 of 5
Windows Thread, Modifying a mandatory profile - printers in Technical; A question on another site ... ------------- Good morning everybody. I set up a mandatory profile a while ago for ...
  1. #1

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    10,074
    Thank Post
    1,384
    Thanked 1,889 Times in 1,170 Posts
    Blog Entries
    19
    Rep Power
    614

    Modifying a mandatory profile - printers

    A question on another site ...

    -------------
    Good morning everybody.
    I set up a mandatory profile a while ago for our students to use on the network, the problem is, I think there is a printer connection hiding in there as students always seem to have an 'extra' printer when they go to print out their work.
    I tried to modify the mandatory profile (un successfully) by doing the following...

    - copied all the profile files and folders into a new folder called temp.
    - renamed the ntuser.man to ntuser.dat
    - set a test users profile to the temp folder
    - made the test user an administrator on the machine i used to log in.

    I logged in with no problems, no error messages as expected, however I was not able to perform the remove printer operation (this is normally done by a user with admin rights).

    Is there any way that I can remove the printer conections from the mandatory profile without having to load it up, i.e. by just making changes to files within the profile?

    Thanks in advance for any help!

    Chris Jenkins
    ------------

    Any ideas?

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,601
    Thank Post
    110
    Thanked 771 Times in 599 Posts
    Rep Power
    183

    Re: Modifying a mandatory profile - printers

    It's not the Document image writer is it? This appears randomly and cannot be deleted easily.
    Attached Files Attached Files

  3. #3

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    10,074
    Thank Post
    1,384
    Thanked 1,889 Times in 1,170 Posts
    Blog Entries
    19
    Rep Power
    614

    Re: Modifying a mandatory profile - printers

    I don't think so, but I have posted the script and see where it goes from there.

    Thanks.

  4. #4
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    35

    Re: Modifying a mandatory profile - printers

    Quote Originally Posted by GrumbleDook
    - copied all the profile files and folders into a new folder called temp.
    - renamed the ntuser.man to ntuser.dat
    - set a test users profile to the temp folder
    - made the test user an administrator on the machine i used to log in.
    Hmmm... At not point were the permissions in the registry changed during this procedure.

    Registry permissions are usually sorted out when using the Windows GUI to copy profiles from palce to place. This cannot be done in this instance however, as the profile is already disconnected from it's original source PC. NB - The file permissions on the NTUSER.DAT are nothing to do with the permissions built into the registry file itself, although it goes without saying that to edit the file you should have at least Change access to it.

    It is possible to load NTUSER.DAT into REGEDIT and make the changes. The user hive will appear unter HKEY_USERS with the name chosen when the file is loaded. Changes to permissions can then be made. BE SURE TO UNLOAD the hive before exiting Regedit if you decide to do this.

  5. #5

    Join Date
    Nov 2005
    Location
    North Tyneside LEA
    Posts
    34
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Modifying a mandatory profile - printers

    We tend to use Con2prt as part of the logon script i.e.

    Code:
    REM Delete All Printers
    \\SERVER\NETLOGON\Cont2prt.exe /F
    
    REM Connect Printers (/C = Connect   /D = Default Printer)
    IF %Location% == "ITSuite" \\SERVER\NETLOGON\Cont2prt.exe /CD \\SERVER\Share
    IF %Location% == "ITSuite" \\SERVER\NETLOGON\Cont2prt.exe /C \\SERVER\Share
    
    IF %Location% == "Room1" \\SERVER\NETLOGON\Cont2prt.exe /CD \\SERVER\Share
    IF %Location% == "Room1" \\SERVER\NETLOGON\Cont2prt.exe /C \\SERVER\Share



SHARE:
+ Post New Thread

Similar Threads

  1. GPOs combined with mandatory profile
    By edsa in forum Network and Classroom Management
    Replies: 7
    Last Post: 31st October 2007, 11:40 PM
  2. Vista/XP Mandatory Profile Hell
    By RockIt in forum How do you do....it?
    Replies: 7
    Last Post: 31st August 2007, 11:43 PM
  3. Replies: 4
    Last Post: 15th August 2007, 06:36 PM
  4. mandatory profile in vista
    By FN-GM in forum Windows Vista
    Replies: 11
    Last Post: 7th August 2007, 01:00 AM
  5. Mandatory profile and GPO settings
    By windy in forum Wireless Networks
    Replies: 14
    Last Post: 7th April 2006, 12:17 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •