Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all 21489 articles
Browse latest View live

Remote printing to someone else's RDP session

$
0
0

Recently moved users from 2003 terminal server to 2012 R2 RDS.

Users can print to their local printers fine.  The issue is in 2003 user A connects via RDP with a printer.  User B connects via RDP without a printer.  User B used to be able to see User A's printer and print to it.  In 2012 RDS they cannot see each others terminal services mapped printers.

Is there a group policy preventing users from seeing printers in other sessions?

 Illustration:

Print Device --> User A PC --> User A RDS session --->  User A printer

User B PC -->  User B RDS session ---> Wants to print to user A's printer, but cannot see it.


Svchost.exe Crash Caused By Smart Card Authentication? Could it be Certificate Propagation Service (certprop.dll) related?

$
0
0

We have a couple Windows 2008 R2 SP1 servers running RDS/Citrix XenApp 6.5 HRP6.  We have noticed random svchost.exe crashes that we think may be related to smart card authentication.  When svchost.exe crashes, it takes these services with it:

Application Experience

Application Information

Background Intelligent Transfer

Certificate Propagation

PKE and AuthIP IPSec Keying Modules

IP Helper

Server

Multimedia Class Scheduler

User Profile

Task Scheduler

Smart Card Removal Policy

System Event Notification

Remote Desktop Configuration

Shell Hardware Detection

Themes

Windows Management Instrumentation

Windows Update

When I examine the event logs, I see the following:

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: svchost.exe
P2: 6.1.7601.22137
P3: 5080442a
P4: scardhook64.dll
P5: 6.2.9000.57
P6: 558dcfc0
P7: c0000005
P8: 0000000000002766
P9:
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_svchost.exe_77faeda01084323787edcd113da230363be66d51_19f12c3f

Analysis symbol:
Rechecking for solution: 0
Report Id: 40e71b75-bfb1-11e5-8194-2c44fd7b238f
Report Status: 0

Scardhook64.dll is actually a Citrix library but when I spoke with Citrix support regarding this issue, they advised that the presence of one of their dlls in the memory space is not indicative of the root cause because they always have to keep their "hooking" libraries loaded as they do not know when a specific library will be used.  After investigating the issue further, I found this article https://support.microsoft.com/en-us/kb/2799035 regarding the Certificate Propagation Service (certprop.dll) which seemed very similar to our issue.  Unfortunately installing the new certprop.dll hotfix referenced in the article did not resolve our problem.  I then configured WER to generate a complete dump during the svchost crash and used WinDbg's !analyze -v option which produced the trace below.  Notice that certprop.dll is mentioned in the stack text which makes me wonder if it's the underlying cause?  Any feedback on isolating and resolving this issue would be greatly appreciated.

Loading Dump File [\\admin\it\Citrix\svchost.exe.18988.dmp]
User Mini Dump File with Full Memory: Only application data is available

Symbol search path is: .sympath cache*c:\symbols;srv*https://msdl.microsoft.com/download/symbols;SRV*http://ctxsym.citrix.com/symbols
Executable search path is:
Windows 7 Version 7601 (Service Pack 1) MP (16 procs) Free x64
Product: Server, suite: TerminalServer
Machine Name:
Debug session time: Tue Jan 26 14:18:05.000 2016 (UTC - 5:00)
System Uptime: 10 days 4:13:07.629
Process Uptime: 0 days 23:24:24.000
................................................................
................................................................
................................................................
.....................................
Loading unloaded module list
................................................................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(4a2c.6aa8): Access violation - code c0000005 (first/second chance not available)
ntdll!NtWaitForMultipleObjects+0xa:
00000000`7746c3ea c3              ret
0:046> !analyze-v
No export analyze-v found
0:046> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ac.smmw.common.srvprov.dll -
GetPageUrlData failed, server returned HTTP status 404
URL requested: http://watson.microsoft.com/StageOne/svchost_exe/6_1_7601_22137/5080442a/scardhook64_dll/6_2_9000_57/558dcfc0/c0000005/00002766.htm?Retriage=1

FAULTING_IP:
KERNELBASE!RaiseException+39
000007fe`fd50adcd 4881c4c8000000  add     rsp,0C8h

EXCEPTION_RECORD:  0000000025e3f180 -- (.exr 0x25e3f180)
ExceptionAddress: 000007fefd50adcd (KERNELBASE!RaiseException+0x0000000000000039)
   ExceptionCode: e06d7363 (C++ EH exception)
  ExceptionFlags: 00000001
NumberParameters: 4
   Parameter[0]: 0000000019930520
   Parameter[1]: 0000000025e3f410
   Parameter[2]: 000007fefced7910
   Parameter[3]: 000007fefcd70000
  pExceptionObject: 0000000025e3f410
  _s_ThrowInfo    : 000007fefced7910

DEFAULT_BUCKET_ID:  INVALID_POINTER_READ

PROCESS_NAME:  svchost.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  ffffffffffffffff

READ_ADDRESS:  ffffffffffffffff

FOLLOWUP_IP:
KERNELBASE!RaiseException+0
000007fe`fd50ad90 4881ecc8000000  sub     rsp,0C8h

MOD_LIST: <ANALYSIS/>

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  0000000025e3eb50 -- (.cxr 0x25e3eb50)
rax=000000007dd7101d rbx=000007fefced7910 rcx=0000000025e3eb50
rdx=00000000000000d0 rsi=0000000001275820 rdi=000007fefce8ff48
rip=000007fefd50adcd rsp=0000000025e3f160 rbp=0000000000000001
 r8=0000000000000000  r9=0000000000000000 r10=000007fefcd70000
r11=0000000025e3f1a0 r12=ffffffffffffffff r13=00000000000000c8
r14=0000000000000023 r15=0000000025e3f548
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
KERNELBASE!RaiseException+0x39:
000007fe`fd50adcd 4881c4c8000000  add     rsp,0C8h
Resetting default scope

ADDITIONAL_DEBUG_TEXT:  Followup set based on attribute [Is_ChosenCrashFollowupThread] from Frame:[0] on thread:[PSEUDO_THREAD]

LAST_CONTROL_TRANSFER:  from 000007fefcdd8fd4 to 000007fefd50adcd

FAULTING_THREAD:  ffffffffffffffff

PRIMARY_PROBLEM_CLASS:  INVALID_POINTER_READ

BUGCHECK_STR:  APPLICATION_FAULT_INVALID_POINTER_READ

STACK_TEXT:  
00000000`25e3f160 000007fe`fd50adcd kernelbase!RaiseException+0x39
00000000`25e3f230 000007fe`fcdd8fd4 scardhook64!CxxThrowException+0xc4
00000000`25e3f2a0 000007fe`fcd86fb3 scardhook64!SvcSession::SendRecvSCardMsg+0x2f3
00000000`25e3f4e0 000007fe`fcdb7dca scardhook64!SCardHook_SCardGetStatusChange+0x92a
00000000`25e3f710 000007fe`fcdb88eb scardhook64!SCardHook_SCardGetStatusChangeW+0x17b
00000000`25e3f780 000007fe`fa9c4c58 certprop!ScPolicyThreadProc+0xf0
00000000`25e3f840 00000000`77431c44 ntdll!TppWorkpExecuteCallback+0xa4
00000000`25e3f8a0 00000000`7743fc52 ntdll!TppWorkerThread+0x6f7
00000000`25e3fb30 00000000`773159bd kernel32!BaseThreadInitThunk+0xd
00000000`25e3fb60 00000000`7744a631 ntdll!RtlUserThreadStart+0x1d

STACK_COMMAND:  .cxr 0000000025E3EB50 ; kb ; dds 25e3f160 ; kb

SYMBOL_NAME:  kernelbase!RaiseException+0

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: KERNELBASE

IMAGE_NAME:  KERNELBASE.dll

DEBUG_FLR_IMAGE_TIMESTAMP:  56842ca5

FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005_KERNELBASE.dll!RaiseException

BUCKET_ID:  X64_APPLICATION_FAULT_INVALID_POINTER_READ_kernelbase!RaiseException+0

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/svchost_exe/6_1_7601_22137/5080442a/scardhook64_dll/6_2_9000_57/558dcfc0/c0000005/00002766.htm?Retriage=1

Followup: MachineOwner


DR setup for RDS 2012 R2 connection Broker(Pooled VM collection)

$
0
0

Hi

I am planing to setup a RDS 2012 R2 solution for one of my customer(5300 users).

The customer requirement is "to build for 2 Site"(Primary and DR site)

Do you have any DR solutions recommendation or guilde ?

Please share your view and thoughts.its highly valuable  for my design.

Thanks

Thirumal.K



Specific client gets logged off (2003 TS)

$
0
0

Hi TS experts,

We have an ancient 2003 TS (For specific apps that cant run on newer OS) and a specific user gets logged off when the session is inactive.

It only happens to this specific user and the user doesn't have any special group policy applied to him.

* If the user disconnect the session itself (by closing it from the top bar) the session remain on the server and doesn't gets logged off.

Can it be from the client machine it self? (Win8.1)

Did anyone encountered such issue?

Thanks in advance to any helpfull reply!

How can I create a CSR for a RDS Deployment on 2012 R2 ?

$
0
0
Hello experts,

I have just performed a RDS Standard Deployment installed on 2012 R2. I have 1x Connection Broker and 2x Session Host servers on the internal network and 1x RD Gateway on the perimeter network.

I need to request and install a trusted certificate from trusted third-party certification authority.I need to create a CSR but can't figure out where to do this. Can I use the create the Certificate Signing Request using the Certificates snap-in in the Connection Broker or IIS installed on the RD Gateway ?

Thanks in advance.

Massimiliano

RDS 2012 R2

$
0
0

Can anyone tell me what the VM's RDS 2012R2 requirements for each role are:

Connection Broker

Session Host

License Server

Gateway

Web Access

Also, how many users can RDS support simultaneously?

Basically what Im asking is what are the:

HD requirements? Memory? and How many processors?

A Microsoft TechNet link supporting documentation would be terrific!

Thin client has used multiple RD Licenses

$
0
0
I have a thin client that has requested a new RD License over 20 times. It is the only one that has done this according to the RD License manager. Has anyone experienced this problem before and know how to correct it? It is an HP Thin Client connecting to server 2008 over a MPLS. Thank you for any help you can give.

Multiple Connections via Remote.-Desktop

$
0
0

Hi, having a Windows Server 2012 R2 and I've followed the steps...

1. Open command propmt
2.write gpedit.msc and open it
3.Go to computer configuration -> Administrative Tempalates -> Wondows Components 
->Remote Desktop services -> Remote Desktop Session Host -> Connections.
4. Here Disble the below mentioned.

Restrict Remote Desktop Services user to a single remote.....

NOw goto command propmt and update the group ploicy using below mentioned command.

Goto command propmt and type -> gpupdate and enter it. it should be successfully applied.

Yes, I can connect multiple times now, BUT

Now I got the Problem, when connecting to it every of these Connection sees something different, But I want them to be ONE SCREEN for all Connections, otherwise it's useless if each of us sees different things on the server.

Whats wrong?

Chris


webaccess windows login

$
0
0
good night,
I have a Microsoft RDS scenario with a RDWeb ,RDGw, RDLic, RDConnectionBroker ... RDsession with two servers one for desktops and one for APP's.
when I go to webaccess page and put the credentials of windows, I can access the app's and desktops and the system does not ask for more authentication.
the only thing I wanted to know if it's possible to access the page "webaccess" and automatically be authenticated by the logged in user?
best regards

I have changed the "ShowDesktops" in REDWEB pages to "false" but still the icon is appearing

$
0
0
Hi in windows server 2k8 r2 I have changed the "ShowDesktops" in REDWEB pages to "false" but still the icon is appearing on the portal page? is there another way to remove this?   

Windows Search

$
0
0

Hi,

We have 6 Remote Desktop Servers (2008R2) and 2 file servers running 2012R2. The users should be able to search into files. So is just installed Windows Search on the file servers and add the file location to the indexing service. I also installed Windows Search on each of the Remote Desktop Servers. It seems that searching directly on the file server is working, but searching on the Remote Desktop servers not. 

I thougth and  was hoping that it’s only necessary to build a index on the file servers, and that the RDS server offloads the searches to the fileservers. Is this correct? So i possibly made a mistake with configuring?

Thanks, 

Angelo

Publishing RemoteApps

$
0
0

Hi there,

I'm currently running a RDS environment with 1 fileserver, and 1 terminal server.

On the terminal, which is the Session Host, i'm running "Publish RemoteApp Programs" but it's been running for 24 hours now.
Any idea if this takes as long as 24hours or more?

Or am i missing someting?

Roaming Profile and Outlook Credentials

$
0
0

I am running Windows 2008R2 and Outlook 2010 with Roaming Profiles.

When Outlook users first open outlook on a server they are prompted for Credentials. If they save the password while opening outlook and they happen to logon to the same server they are not prompted for creds. If they happen to login to a different server they are prompted for creds. On the servers where creds are saved I can see them in credential Manager.

I am under the impression that Outlook Credentials should roam with the user and they should sit in C:\Users\user\AppData\Roaming\Microsoft\Credentials

Is this not the case or do I possibly have a configuration problem? Any thoughts?

Remote Desktop Services Licensing Manager

$
0
0

Hi Everyone,

I have a Windows Server 2012 R2 server with the Remote desktop Licensing Role installed.  I have installed my licenses, but in RD Licensing Manager there is a yellow exclamation point next to the server.  The server is published to AD and is a member of the "Terminal Server Licensing Servers" group.  This server does not have any other RD roles installed. There is no button under "Review Configuration" to publish to AD, as it is already published.

If I go to ADSIEdit, the server is NOT listed under Enterprise-License-Server Properties in Configuration.  Below is an image of "Review Configuration".

The session host server (Also 2012 R2) has the license server entered manually, but will not pull licenses from it.

Anyone have any ideas?

Thanks in Advance

- Doug


WS2012R2 RDS Web Gateway & Multiple monitors

$
0
0

I have set up two RDS collections so far, complete with a RDS Connection Broker, two session hosts each, and a web gateway. Everything is working quite well, including multiple monitors. However, the problem is there does not seem to be a way to choose to use or not use multiple monitors when connecting to a published collection. I found a 'hack' that WAS able to enable the ability to select if the session was going to use multiple monitors or not (It adds a check box at the bottom of the resource pane), BUT, that only works with IE. The option doesn't appear on Firefox.

I'm not finding anything anywhere else to change the option when launching the connection, and since most people use browsers other than IE, the hack/fix I found is of limited use. Is there some other way to add in the option, such as in the Remote Desktop Connection dialogue that allows you to select/deselect local resources? If this is not possible, I would settle for changing the default from all monitors to full screen, while leaving the 'hack' in place to allow users to choose if they are using IE.


Random Event ID 7011 & 7046 TSGateway Service

$
0
0

Hello 

I have a virtualised Server 2012 R2 RDS Farm that consists of 1 gateway and 4 hosts access to the farm randomly stops with the TSGateway service at fault. I receive event ID 7011 a few times then the 7046 if I go onto the server and restart the TSGateway service then connectivity is restored. there is hardly any 3rd party software on there and I am struggling to see what can be causing the issue.

Any help to resolve this issue is much appreciated.


MCP, MCTS, MCITP, MCITPVA, MCSA 2012, MCSE Private Cloud, MCSE Server Infrastructure

Increase Number of RDP Sessions

$
0
0

hi guys, 

i have a windows 2012 server.

current RDP sessions to the server are max 2

i want to increase this to 5.

How do i accomplish this?

-thads


tfernandes

Print PDF file from winform client installed on RDC or VDI using local printer (TS Easy Print)

$
0
0

Dears,

I'm working on a legacy application using winform (.net 4.0 & c#).

The client application is installed on a machine accessible only via RDC or VDI. The OS is Windows 7 or higher.

The client application must be able to print PDF files from that machine to the local printer (local or network) installed on the client machine. This means that the printer selected via RDC is a redirected printer using the TS easy print drivers. Those drivers don't allow the usage of RAW printing.

The printing method used before were:

- Copy of the files directly on the UNC of the printer (\\printername\dc)

- Usage of ImportDll and calls to OpenPrinter, StartDocPrinter, WritePrinter, ....

Both of those solutions don't work anymore because:

- The network printers are not on the same domain anymore and therefore not accessible directly from the RDC.

- The WritePrinter method don't work anymore since the easy print drivers don't understand RAW printing.

So, here comes my question. How can I print on those printer? Do I have to create an EMF file for the printing? If yes, how can I use my PDF file and create an EMF file containing the information? Is there other solutions (modifying the group policy is not an option since we don't want to install the drivers of the different clients that will connect)?

In last resort, the usage of a library could be foreseen but a long discussion with the management will be necessary (so I hope other solutions exists). Is there some third party library that you could advice?

Also, I tried printing in that environment using PrintDocument.Print(). That is working as expected but with that solution the problem is to convert the pdf to a drawable format (one image per page or other ...).

Thanks in advance,

Benoit Delfosse
Senior .Net Developer/Architect


Session ID 114 problem on RD Session Host at RDS Farm 2012 R2

$
0
0

Hello, we have deployed HA RDS Farm 2012 R2 with several Brokers, Session Hosts etc. The problem is - when a user gets allocated session ID 114 (ONLY THIS), he get a black screen and can't login in any scenario (admin or regular user). I see it on any of our session hosts, later this session can come to "DOWN" state, some how, and workin fine, till servers reboot.

Problem is googling by "session 114", still no solution... any ideas?

Can no longer RDP to Windows Server 2012 R2 Azure VM

$
0
0

After some potential bug on the Azure fabric, I have lost the ability to connect to two separate Azure VM's.

At first, they wouldn't even boot. I had to move the OS VHD to a recovery VM, run a fix on the boot files and then move the VHD back.

Now they boot, but when trying to RDP, it just sits at a black screen.

I am able to UNC path to the filesystem, so I copied the *.evt (Event Viewer) log files off one of the VM's.

I am seeing something concerning right away, in the Application Event Viewer section :::

Faulting application name: LogonUI.exe, version: 6.3.9600.17415, time stamp: 0x5450541b
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737

There is more to this but these are the key lines. I have a feeling this might be what is causing this black screen issue. I do not have any backups of these VM's.

Is this an issue that can only be corrected by an Azure Engineer with access to the host? Does anyone have any comments on this issue? I am pretty much out of options.

Thank you

Viewing all 21489 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>