Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 Windows 7 Desktop
 Can't keep printers from mapping? WTF?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/04/2012 :  7:26:10 PM  Show Profile  Reply with Quote
So in our VDI Environment we have a strange issue...

We have Win7 machines that inexplicably connect network shared printers about 30 seconds after logon.

The only GP running is the Default Domain Policy, which is pretty much empty short of Password policies.

I even have a logon script that REMOVES that mapped printers, but when my desktop presents itself, I go to printers, and I see the printers that are SUPPOSED to be there.... If I sit and watch, all the printers from the old server appear, 7 of them one after the other.

Any ideas? I have gone all the way down to removing all printers from the base image (there were none there anyway). Also deleted the roaming and cached local profiles of the user.

Not to mention that these machines are destroyed at logoff, so...?


anthony

There should be only one World's Greatest Dad shirt. And you should have to kill the previous owner to wear it.

Edited by - anthony on 06/04/2012 8:16:38 PM

Playwell
Honorable But Hopeless Addict

Netherlands
4822 Posts
Status: offline

Posted - 06/05/2012 :  06:43:32 AM  Show Profile  Visit Playwell's Homepage  Click to see Playwell's MSN Messenger address  Reply with Quote
maybe the default user?

'People who think they know everything are a great annoyance to those of us who do. '
Quote by Isaac Asimov


Go to Top of Page

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/05/2012 :  07:19:31 AM  Show Profile  Reply with Quote
I was thinking that too, but I didn't think you could logon as the default user. How would printers be mapped to the default user?
Go to Top of Page

Playwell
Honorable But Hopeless Addict

Netherlands
4822 Posts
Status: offline

Posted - 06/05/2012 :  08:15:51 AM  Show Profile  Visit Playwell's Homepage  Click to see Playwell's MSN Messenger address  Reply with Quote
The default user is the template for every one who logs on the first time.


'People who think they know everything are a great annoyance to those of us who do. '
Quote by Isaac Asimov


Go to Top of Page

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/05/2012 :  09:06:50 AM  Show Profile  Reply with Quote
It is my understanding that in order to edit the default user template, you have to use MDT. We don't use that here (not yet anyway)... so it would not have been edited. We also did not attempt to copy any profiles over the default user profile.
Go to Top of Page

jaxdave
Honorable But Hopeless Addict

USA
2426 Posts
Status: offline

Posted - 06/05/2012 :  10:08:02 AM  Show Profile  Reply with Quote
interesting. could network discovery be causing it? "advanced sharing settings" in network and sharing. just a shot in the dark here man
Go to Top of Page

NSFEddie
Old Timer

USA
557 Posts
Status: offline

Posted - 06/06/2012 :  3:41:00 PM  Show Profile  Reply with Quote
Is the "old" server still running?

NSFEddie
CO front range
Go to Top of Page

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/06/2012 :  4:30:18 PM  Show Profile  Reply with Quote
Yes...

The old server... It's a Windows 2003 Server, and it hosts printers for Windows XP machines. We are now moving to Win7 x64 and to keep things clean and simple (or so I thought) I wanted to host the Win7 drivers on a x64 2008r2 server (even though it's old tech - there ARE Win7 x64 RPCS drivers). We use script logic for logon scripts, and for a while it was pushing those (XP/2003) printers to the Win7 machines. As you can imagine, it did not work so well.

Now in Script logic, I have entries to DELETE the printers on the old server - AND IT DOES (I see it in the ScriptLogic trace logs). But as I said in the beginning, after you get a desktop and go to printers things look great for about 15-20 seconds. Then... one by one... the old printers... map... like 7 of them...

Indecently, I called ScriptLogic, and they confirmed that their software does not reveal the desktop until the script is finished running, so it's not like we get s desktop and things are still running behind the scenes.

Is it possibly caching the old mappings somehow?

Since it's VDI, I know it connects printers from the local machine, but these printers don't say "PrinterName (from COMPUTERNAME)" these are mapped directly.
Go to Top of Page

jaxdave
Honorable But Hopeless Addict

USA
2426 Posts
Status: offline

Posted - 06/06/2012 :  5:18:51 PM  Show Profile  Reply with Quote
Do you have a script that maps printers by computer group or domain group perhaps? do you have the delete script run post logon?
Go to Top of Page

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/07/2012 :  08:15:36 AM  Show Profile  Reply with Quote
ScriptLogic allows a myriad of ways to apply settings/scripts. Group Membership, OS, CPU type?, Subnet, IP address, Etc. - which is one of the great things about this software. In this particular case, the only printer mapping settings being pushed are to this test user. His username is the criteria for the script.

We do not map printers yet at the VM level because most users are connecting VIA an XP machine that already has a working driver. This working printer gets passed through to the Win7 VM.
Go to Top of Page

lady_mcse
Old Timer

636 Posts
Status: offline

Posted - 06/07/2012 :  2:09:44 PM  Show Profile  Reply with Quote
quote:
Originally posted by anthony
Since it's VDI, I know it connects printers from the local machine, but these printers don't say "PrinterName (from COMPUTERNAME)" these are mapped directly.



Based on this sentence, I don't think this will be of any help. But just out of sheer curiosity, if you have a test user to do this with, try going into their account in AD. Go to the Environment tab, and deseelct the Map Printers (clear all three checks actually). Would be interesting to see if there was any effect at all, but suspecting not.

Anne O'Day
MCITP: SharePoint 2010
Go to Top of Page

Playwell
Honorable But Hopeless Addict

Netherlands
4822 Posts
Status: offline

Posted - 06/08/2012 :  06:08:08 AM  Show Profile  Visit Playwell's Homepage  Click to see Playwell's MSN Messenger address  Reply with Quote
Wait.. you are using VDI out of the box right?

You'd have to disable client printer mapping.

'People who think they know everything are a great annoyance to those of us who do. '
Quote by Isaac Asimov


Go to Top of Page

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/08/2012 :  08:05:59 AM  Show Profile  Reply with Quote
I'm not talking about client printer mapping (I don't think). When a client printer maps, it says "PrinterName (from COMPUTERNAME)"...

These printers are mapped straight from the Server to the VM as if a NET USE command was done...

Edited by - anthony on 06/08/2012 08:07:05 AM
Go to Top of Page

Playwell
Honorable But Hopeless Addict

Netherlands
4822 Posts
Status: offline

Posted - 06/08/2012 :  5:27:33 PM  Show Profile  Visit Playwell's Homepage  Click to see Playwell's MSN Messenger address  Reply with Quote
It's not exactly client drive mapping

These days ICA got a feature, when there's a client that has connections to a print server makes a connection to a server with a direct connection to the same print server it will not go via the client, but creates printer mappings on it's own with the same printers. Quite handy actually.

'People who think they know everything are a great annoyance to those of us who do. '
Quote by Isaac Asimov


Go to Top of Page

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/09/2012 :  09:52:31 AM  Show Profile  Reply with Quote
Is that set on the client? Or from the server? Where?
Go to Top of Page

JeffWouters
Here To Stay

Netherlands
147 Posts
Status: offline

Posted - 06/10/2012 :  12:08:07 PM  Show Profile  Visit JeffWouters's Homepage  Click to see JeffWouters's MSN Messenger address  Look at the Skype address for JeffWouters  Reply with Quote
Maybe the printers that are being mapped are the client printers that are being redirected into the VDI session?
That, combined with some driver issues or by using some universal printing drivers, may explain the 30 seconds delay you see...
The name of the client printer can be configured not to include the client name, so it would seem as a 'normal' printer offered by the session instead of the client... that's a tricky on I've encountered ;-)
Simple test: Delete all your client printers, logon to the VDI session and see if the 'wrong' printers are there...

Furthermore, are you using some sort of workspace management solution such as RES Workspace Manager, AppSense, Flex Profiles, etc.?

Greetsz,
Jeff.
Go to Top of Page

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/11/2012 :  08:49:09 AM  Show Profile  Reply with Quote
We are using nothing more than Roaming Profiles and ScriptLogic. Seems to work pretty well so far - except for the printer thing, but I don't think it's related.
Go to Top of Page

mm_0_mm
Old Timer

USA
562 Posts
Status: offline

Posted - 06/11/2012 :  10:12:03 AM  Show Profile  Reply with Quote
sounds like it's time for process monitor to see exactly what is occuring when the printers start mapping....
Go to Top of Page

anthony
Moderator

USA
2373 Posts
Status: offline

Posted - 06/11/2012 :  11:14:02 AM  Show Profile  Reply with Quote
Ton & Jeff,

I think you are on to it. If I delete the printers from my machine before I connect to the VDI - the printers never show up. I even added a couple, then logged back on and sure enough the 2 I added were on the VDI desktop. So now that I know what it's doing, I can figure out a solution I guess.

Thanks you guys for the help.
Go to Top of Page

JeffWouters
Here To Stay

Netherlands
147 Posts
Status: offline

Posted - 06/11/2012 :  1:01:52 PM  Show Profile  Visit JeffWouters's Homepage  Click to see JeffWouters's MSN Messenger address  Look at the Skype address for JeffWouters  Reply with Quote
:-) Glad we could help... let us know when you find the cause? ;-)

Greetsz,
Jeff.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.2 seconds. Snitz Forums 2000