How can I set the default printer on Amazon Windows WorkSpaces and prevent the settings from reverting?

3 minuto de leitura
0

I use Amazon Windows WorkSpaces, and I want to set a default printer for a WorkSpace. How can I do that? -or- I set a default printer for my Windows WorkSpace, but the settings don’t persist after I log off and back in to the WorkSpace. How can I fix this?

Resolution

Set a default printer

  1. Download and install the driver for your local printer on the WorkSpace.
  2. From the WorkSpace, set the desired printer as the default printer, and then set any needed printer preferences.
  3. Install the Group Policy administrative template for PCoIP.
  4. Configure the local printer redirection.

Troubleshooting

If the default printer settings aren’t preserved after logging off and back in to the WorkSpace, set the default printer on the WorkSpace. Then, follow these steps:

Export a registry key containing the default printer setting

  1. From the Windows Start menu, choose Run.
  2. Enter Regedit, and then choose Ok.
  3. From the left navigation pane, expand HKEY_Current_User, Software, Microsoft, Windows NT, and CurrentVersion.
  4. Under CurrentVersion, open the context (right-click) menu for Windows, and then choose Export.
  5. Save the file to your desktop and name the file. Note the file name for a later step.

Create a scheduled task

The following process triggers a registry import when a user logs on.

Note: The trigger might not work if users disconnect without logging off. If this happens, the user must log off, and then log back in.

  1. Open a command prompt, and then run taskschd.msc to open Task Scheduler.
  2. From the Actions panel, choose Create Basic Task.
  3. For Name, enter a task name, and then choose Next.
  4. For Trigger, select When I log on, and then choose Next.
  5. For Action, select Start a program, and then choose Next.
  6. For Program/script, enter the following, replacing username and filename.reg with your own values:
    regedit.exe /s D:\Users\username\Desktop\filename.reg
    Note: Use the file name that you created when exporting the registry key.
  7. Choose Next, and then choose Yes.
  8. Select Open the Properties dialog for this task when I click Finish, and then choose Finish.
  9. On the General tab, for Security options, select Run with highest privileges.
  10. On the Triggers tab, select the At log on trigger, and then choose Edit.
  11. For Advanced settings, select Delay task for, change the value to 1 minute, and then choose Ok.
  12. On the Actions tab, select the Start a program action, and then choose Edit.
  13. For Start in (optional), enter c:\windows, and then choose Ok.
  14. Choose Ok to close the properties window.

To confirm that the default printer settings persist, log off, and then log on again. It can take about a minute after logging on for the default printer to display correctly.


Related information

Print from a WorkSpace

AWS OFICIAL
AWS OFICIALAtualizada há 2 anos