Windows 10: Is there a work around to set my Windows 11 PC default printer based on the network I am using?

Discus and support Is there a work around to set my Windows 11 PC default printer based on the network I am using? in Windows 10 Gaming to solve the problem; Does anyone know a work around to set my Windows 11 PC default printer based on the network I am using? I switch between 2 different offices and home... Discussion in 'Windows 10 Gaming' started by Sandy_9, Apr 24, 2025.

  1. Sandy_9 Win User

    Is there a work around to set my Windows 11 PC default printer based on the network I am using?


    Does anyone know a work around to set my Windows 11 PC default printer based on the network I am using? I switch between 2 different offices and home for work a few times per week. At both work locations, the SSID is the same. This answer is for Win 10, but I'm not sure if it would work since the SSID name is the same at both sites: https://superuser.com/questions/1276513/how-do-i-set-my-default-printer-by-network-location-in-windows-10-pro

    :)
     
    Sandy_9, Apr 24, 2025
    #1
  2. RCoon Win User

    Setting Default Printer via Startup Script

    I do it with VB logon scripts


    "Dim ps0 [<------ our printer server the printers are added/managed on]
    Dim printer

    ps0 = "\\ps0\"
    printer = "S14 - Oki ES4140" [<------- the name of the printer as it is shown on the server]

    Set wshNetwork = CreateObject("WScript.Network")
    on Error Resume Next

    'Deletes all network printers
    Set clPrinters = wshNetwork.EnumPrinterConnections
    On Error Resume Next
    For i = 0 to clPrinters.Count - 1 Step 2
    wshNetwork.RemovePrinterConnection clPrinters.Item(i+1), true
    Next

    'Add Network printer
    wshNetwork.AddWindowsPrinterConnection ps0 & printer

    'Set Default Printer
    wshNetwork.SetDefaultPrinter ps0 & printer" [<------ this bit sets it as default (note: this must be applied as the first policy before any other printers policies, otherwise it deletes them)]


    Is there a work around to set my Windows 11 PC default printer based on the network I am using? [​IMG]
     
    RCoon, Apr 24, 2025
    #2
  3. Setting Default Printer via Startup Script

    This looks like a good solution, and similar to some of the VB scripts I tried.. but it is a logon script. I would need something that works as a startup script. We are not mapping printers to users as they move around too much, but rather mapping to each computer.

    The Link that W1ZZARD posted is good information. Sadly however, I have tried utilizing most of the commands that are available. The /c command is indeed interesting, but we are trying to map them when a computer starts up (prior to logon screen) versus just mapping them remotely. The purpose would be if we had a lab that needed the default printer changed, sure we could just send the remote command to each machine, or even remote into them ourselves and manually do it, but I was looking for a smoother alternative.

    It seems like its just something that will have to be done manually and with user education.

    Thanks for all the suggestions though.
     
    Wastedslayer, Apr 24, 2025
    #3
  4. davidhk Win User

    Is there a work around to set my Windows 11 PC default printer based on the network I am using?

    Default network printer randomly defaults to the adobe PDF printer


    Start button > Settings > Devices > Printers and scanners >click at your printer > click Set as Default > click at Microsoft Print to PDF > click Remove device > click Yes to confirm >
    I would suggest that you enable Let Windows manage my default printer option. That way, your default printer will be the last printer used.
     
    davidhk, Apr 24, 2025
    #4
Thema:

Is there a work around to set my Windows 11 PC default printer based on the network I am using?

Loading...
  1. Is there a work around to set my Windows 11 PC default printer based on the network I am using? - Similar Threads - around set default

  2. Is there a work around to set my Windows 11 PC default printer based on the network I am using?

    in Windows 10 Software and Apps
    Is there a work around to set my Windows 11 PC default printer based on the network I am using?: Does anyone know a work around to set my Windows 11 PC default printer based on the network I am using? I switch between 2 different offices and home for work a few times per week. At both work locations, the SSID is the same. This answer is for Win 10, but I'm not sure if it...
  3. I m using windows 11, I am unable to add a printer or print on a shared / network printer

    in Windows 10 Gaming
    I m using windows 11, I am unable to add a printer or print on a shared / network printer: I m using windows 11, I am unable to add a network printer or print on a shared / network printer . please assist in setting up by adding the network printer....
  4. I m using windows 11, I am unable to add a printer or print on a shared / network printer

    in Windows 10 Software and Apps
    I m using windows 11, I am unable to add a printer or print on a shared / network printer: I m using windows 11, I am unable to add a network printer or print on a shared / network printer . please assist in setting up by adding the network printer....
  5. Set default printer Windows 11

    in Windows 10 Gaming
    Set default printer Windows 11: After major troubles installing an HP LaserJet Pro MFP M130fw, something like 10 years old, the install was successful. Now to make it the default printer. Found a web page with steps:Settings -> Printers & scanners -> select a printer -> ManageBut option “Manage” does not...
  6. Set default printer Windows 11

    in Windows 10 Software and Apps
    Set default printer Windows 11: After major troubles installing an HP LaserJet Pro MFP M130fw, something like 10 years old, the install was successful. Now to make it the default printer. Found a web page with steps:Settings -> Printers & scanners -> select a printer -> ManageBut option “Manage” does not...
  7. Set default printer by network location

    in Windows 10 Customization
    Set default printer by network location: Some version of Windows, I believe it was 7, was able to set the default printer based on the network location. Lenovo tools also offered such a feat including setting the Home page based on network. Somehow this feature is no longer active. Let windows manage the default...
  8. Set default printer based on network IP

    in Windows 10 Network and Sharing
    Set default printer based on network IP: Thank you for taking the time to read my question. I recall in window 7 there was an option to set default print device based on Network. Has this option been removed or is it just hidden. Please suggest a method that I can set do you default print device based on IP address....
  9. Set default printer based on network IP

    in Windows 10 Support
    Set default printer based on network IP: Thank you for taking the time to read my question. I recall in window 7 there was an option to set default print device based on Network. Has this option been removed or is it just hidden. Please suggest a method that I can set do you default print device based on IP address....
  10. Default Printer setting does not work

    in Windows 10 Drivers and Hardware
    Default Printer setting does not work: I am using a Windows 10 pc in a networked environment. I have several printers network installed to my PC. I have to print endlessly. Every printer has different function. I print product labels for our factory to do this I will open a word file that I print to a specific...