Report on remote users mapped drives

After a very thorough search, I can't find anyone else who has had this question answered.
I have a need to on-the-fly report on the mapped drives and their letters of users on remote computers. Running "Get-WmiObject -Class Win32_MappedLogicalDisk | select Name, ProviderName" only returns my drives under my credentials, not the remote user. Looking
at HKU:\sid\network apparently only reports persisent mapped drives or drives mapped by the customer and not drives mapped by logon script that are not persistent.
There doesn't seem to be a way to do this on-the-fly which is dissapointing, so I'm hoping you'll have a trick up your sleeve!
The only way I can figure to get the information, but not on the fly, is to have a logon script run as the user and grab the info and save it somewhere. I'm really hoping not to resort to that. All of that becomes historical info and won't reflect changes
that happen after logon, so it's not going to always be a true reflection of reality.
The key seems to be running a wmi query as someone else that you don't have credentials for. Is that possible? Or do you have another suggestion?
Ian

I believe this post may already be closed.  I, however, would like to add my findings:  When I run this against different pc's with different users logged on:  Get-WmiObject
-Class Win32_MappedLogicalDisk -ComputerName <remote computer> | select Name, ProviderName
(Keep in mind that I'm a local admin on my pc as well as the destination pc's
as well.)
1. The logged on user is non-admin on their pc.
Mapped drives are not retrieved
2. The logged on user is admin on their pc.
Mapped drives are retrieved
3. I'm logged on to the remote pc (local admin)
Mapped drives are retrieved
Conclusion:  As long as the target pc logged on user is local admin on that pc then the
mapped network drives will be pulled by the previously mentioned command.  Otherwise, it will come back empty.
A question posted previously was:  "I'm
curious why you need to know mapped drives??" In my case, I am trying to back up mapped network drives for all domain users.  However, logon or logoff scripts are not
an option.
The real question should be: Why is the previously mentioned command not pulling the mapped network drives when the logged on user is not a local admin on the target pc?
I believe the answer is that the drives are not mapped to the remote computer per se, but to the user's process on the remote computer. And while an admin on that computer has significant power over the hardware and operating system, it cannot take control
of the process, which is locked by the user's credentials.
Consider remote control. My regular account is logged onto another computer. I run mstsc to establish a remote control session on that remote system under the same credentials. The effect is to disconnect the other remote session and lock the system on its
console, and for the new session to inherit the original process, seeing the same desktop with the same apps open.
I then run mstsc to establish another remote control session, this time using an account that is an administrator on that system. It tells me my regular account is already logged on, and gives me two options, abort my new session, or log the user out. using
my admin credentials, I cannot take over the user's session and see what applications he has open or what drives he may have mapped.
Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

Similar Messages

  • How do you enumerate domain users mapped drives????

    I'm migrating file shares from Windows 2003 file cluster to a Windows 2012 R2 DFS shares. Unfortunately, users that are mapped to those shares off the file cluster are not being mapped via GPO or logon script. I discovered that users have manual static mappings
    that reconnect at logon. This, of course, makes it difficult to notify users or update network mappings. The answer? To see who mapping to those shares. Yes, I've looked at Open Files from Computer Management but I also need to double check this against a
    script that can enumerate domain users mapped drives. 
    I've tried the following and it returns nothing:
    "GET-WMIOBJECT -CLASS WIN32_MAPPEDLOGICALDISK -COMPUTERNAME "NAME" | SELECT NAME, PROVIDERNAME"
    Any know of powershell script that would work??? Thanks!

    here are two similar questions, the responses to which might be of help:
    http://social.technet.microsoft.com/forums/windowsserver/en-US/46881e57-62a4-446e-af2d-cd2423e7837f/report-on-remote-users-mapped-drives
    http://social.technet.microsoft.com/Forums/en-US/56ba81a4-3836-48f9-ae7b-7e774c12655e/query-remote-xp-machine-for-list-of-mapped-network-drives-of-current-logged-on-user?forum=winserverpowershell
    The long and the short of it is that it is not that easy to accomplish remotely. The simplest solution appears to be to run a script in the context of the logon session whose drive mappings you want.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • SCCM 2012 usage report for remote users

    Hi,
    Can someone help to get the SCCM  usage report for all remote users who accessed particular application remotely on windows 7 workstation
    Regards,
    Madhan

    If the application is something and executable that the users have to start, you can use Software Metering.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • DPS 6 remote user mapping question

    I have a directory where each user is defined in 2 different subtrees, with a DIT like the one below.
    In each subtree, a user has the same RDN. I know it's a bad design but I've no choice ...
    The user entries in the 1st subtree have a certificate and people want to use it to authenticate to the upstream LDAPS proxy.
    The user entries in the 2nd subtree have no certificate but they've an attribute supposed to contain a "DN value" corresponding to their profile, an entry in a specific ou.
    I'd like to use the remote mapping feature of DPS 6 so that it authenticates users with their "org_unit1" DN, and then connect to the directory with the profile defined in each user entry of org_unit2.
    It would require to configure DPS6 to "know" that the request to get the user mapping attribute has to be done
    against the org_unit2 ou instead of the org_unit1. That is the proxy requests would itselves use a data view with an alternate seach base, while the client requests would use other data views..
    Possible ? Any other/better way to achieve this ?
    Otherwise, I also think about a data view that would aggregate both user entries in a single one. I don't know if it's possible but even if it is, would the proxy itself (and the clients) be able to use that view to do its search requests ?
    o=org
    |
    |
    _____ou=org_unit1,o=org
    |
    |__ou=people
    |
    |_cn=user1
    |_objectclass:inetOrgPerson
    |_usercertificate;binary:: ....
    |_cn=user2
    |_objectclass:inetOrgPerson
    |_usercertificate;binary:: ....
    _____ou=org_unit2,o=org
    |
    |__ou=people
    |
    |_cn=user1
    |_objectclass:userDefinedPerson
    |_userdefinedprofile:profil1
    |_cn=user2
    |_objectclass:userDefinedPerson
    |_userdefinedprofile:profil2
    _____ou=profiles,o=org
    |
    |__cn=profil1
    |__cn=profil2
    ... Anyway, I'd li

    Would need more info to give a firm answer but it looks doable.
    Could you elaborate on the authentication method you would like to use once the profile associated with the user has been retrieved ? Do you plan to reuse original user password with the profile dn or do you plan to use proxied authorization? In the latter case, you can perform the ldap operations as the profile identity w/o having to provide any password.
    -Sylvain

  • Reports server Cannot read files from mapped drive

    Hi,
    Am trying to run a report from a network mapped drive under WinNT 4.0 through report server.
    I get "REP-0110 Error opening or reading file" error message. After looking up the help on error, I find:
    1. The file being accessed does exist
    2. The login account has full privileges
    with the file/directory/drive in question.
    If the report to be run is on a local drive,
    everything is fine.
    Can anyone help me asap.
    Thank you
    Sundar
    null

    hello,
    there are multiple things to keep in mind :
    1) if you are using a mapped drive :
    mapped drives are on a per-user-basis. the reports-server-service is running as a system-service by default and will not have the same mapped drives as the logged on user. in fact it fill have NO drives mapped.
    what you could do is to use the UNC-path like \\servername\share\filename to adress the file
    2) problems with UNC
    there are some known problems using UNC to access files on remote machines in some versions of reports. pls check with oracle support services in case this causes problems.
    regards,
    the oracle reports team

  • Users are being logged into the desktop before the mapped drives GPO takes effect

    We are using a Group Policy object to map network drives to our users.  We are getting reports that the user are being logged into their desktop before the drives are mapped, causing a program that points to the mapped drive to not be able to access
    files on that drive.  Once the user goes into Computer and double clicks on the drive, they are then able to see the files on the drive and the program is able to access them as well.
    We have added another GPO to institute the "Always wait for the network at computer startup and logon" policy to try to fix the issue, but it has not solved our problem.
    Thanks in advance for any assistance.

    >   Once the user goes into Computer and double clicks on the drive, they
    > are then able to see the files on the drive
    Did you check the "reconnect" option?
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Group Policy Pref - Mapped Drives Not Applying to One User

    Hi All,
    I’m new to this list, so please excuse any etiquette slip ups.  
    I have three users at a site. All their machines are running Windows XP Service Pack 3 and have client side extensions installed. I created a group policy to map their default drives using GP User Preferences.
    Each of the drives is set to "update".
    As an example of the policy created XML is as follows:
    <Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="H:" status="H:"
    image="2" changed="2009-11-25 05:13:58"
    uid="{8A44D2F4-AAE5-4F43-AEEC-D36F08EA619C}" desc="Maps the users H drive to
    ServerName\users$\%username%" bypassErrors="1"><Properties action="U"
    thisDrive="NOCHANGE" allDrives="NOCHANGE" userName=""
    path="\\ServerName\users$\%username%" label="Home (ServerName)"
    persistent="1" useLetter="1" letter="H"/></Drive>
    and
    <Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" name="J:" status="J:"
    image="0" changed="2009-11-30 03:52:58"
    uid="{535CD462-A45D-4363-ADA1-2316D5ECC703}" desc="Maps J drive for users to
    \\ServerName\apps" bypassErrors="1"><Properties action="C"
    thisDrive="NOCHANGE" allDrives="NOCHANGE" userName=""
    path="\\ServerName\Apps" label="Apps (ServerName)" persistent="1"
    useLetter="1" letter="J"/></Drive>
    The group policy is applied to an OU for that site. 
    All three users are in the same OU.
    All three users are also in the same “xxsitecode Users” group.
    2 of the users log into their pc and get the mapped drives with no issue, but one user doesn’t.
    There are no other login scripts and the user has no manually mapped drives.
    He does have a H drive mapped using the profile field in his AD object as a temp measure. But every 90 mins any other manually mapped drives are removed by the policy.
    We don’t use roaming profiles
    To trouble shoot I have tried
    -    Reinstalling client side extensions
    -    Re-joining the pc to the domain
    -    Running gpupdate from the command prompt to see if any event logs are generated (none are)
    -    Manually mapping the drives to make sure there is network access etc – I can manually map them/he can access them.
    -    Creating the user a new account, when he logs in using that account he gets his mapped drives on all PC’s
    -    Getting the user to log into a different pc, when he does this he doesn’t get his drives – so it’s not his machine or profile
    -    Manually checking the security on the user object in AD against one of the users who gets their drives mapped
    I'm sure the GP is fine because it works for two other users and the testing isolates his user account as the issue.
    The Policy I’m having issues with is xxxx Mapped Drives/ Printers
    I have posted this issue on the tech net GP discussion groups page, but haven’t had any replies.
    Any suggestions would be appreciated.
    Simone

    What's interesting is that I applied a new GP to users - it has one policy setting and one preferences setting. He only gets the policy setting.. aka he gets the wallpaper but not the homepage.
    Also, Jorke asked me to post the gpresult /z .
    Microsoft (R) Windows (R) XP Operating System Group Policy Result tool v2.0
    Copyright (C) Microsoft Corp. 1981-2001
    Created On 10/02/2010 at 2:19:34 PM
    RSOP results for DOMAIN\USER on MACHINENAME : Logging Mode
    OS Type:                     Microsoft Windows XP Professional
    OS Configuration:            Member Workstation
    OS Version:                  5.1.2600
    Domain Name:                 DOMAIN
    Domain Type:                 Windows 2000
    Site Name:                   SITECODE
    Roaming Profile:            
    Local Profile:               C:\Documents and Settings\USER.DOMAIN
    Connected over a slow link?: No
    COMPUTER SETTINGS
        CN=MACHINENAME,OU=Laptops,OU=SITECODE,DC=DOMAIN,DC=com,DC=au
        Last time Group Policy was applied: 10/02/2010 at 1:06:38 PM
        Group Policy was applied from:      XXXXXADC.DOMAIN.com.au
        Group Policy slow link threshold:   500 kbps
        Applied Group Policy Objects
            Allow Remote Assistance
            au-mdwsus
            Default Domain Policy
            Legal Notice
            Proxy Settings
            Logon as service, operating system
            AU-WSUS
            Desktop Background & Home Page
            Reg Permissions for default desktop
            Local Admin & Local Power Users
        The following GPOs were not applied because they were filtered out
            SITECODE Mapped Drives/ Printers
                Filtering:  Not Applied (Empty)
            Local Group Policy
                Filtering:  Not Applied (Empty)
            AVD Rollout
                Filtering:  Disabled (GPO)
        The computer is a part of the following security groups:
            BUILTIN\Administrators
            Everyone
            Debugger Users
            BUILTIN\Users
            NT AUTHORITY\NETWORK
            NT AUTHORITY\Authenticated Users
            MACHINENAME$
            Domain Computers
            CERTSVC_DCOM_ACCESS
        Resultant Set Of Policies for Computer:
            Software Installations
                N/A
            Startup Scripts
                GPO: Desktop Background & Home Page
                    Name:         image.bat
                    Parameters:  
                    LastExecuted: 7:55:34 PM
                    Name:         swiftdesktop.vbs
                    Parameters:  
                    LastExecuted: 7:55:35 PM
            Shutdown Scripts
                N/A
            Account Policies
            Audit Policy
            User Rights
            Security Options
            Event Log Settings
            Restricted Groups
            System Services
            Registry Settings
            File System Settings
            Public Key Policies
                N/A
            Administrative Templates
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\GloballyOpenPorts
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\GloballyOpenPorts\List
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications\List
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications\List
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services
                    State:   Enabled
                GPO: au-mdwsus
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: au-mdwsus
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\CurrentVersion\Winlogon
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications\List
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: au-mdwsus
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services
                    State:   Enabled
                GPO: Desktop Background & Home Page
                    Setting: Software\Policies\Microsoft\Internet Explorer\Security
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\RemoteAdminSettings
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: au-mdwsus
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate
                    State:   Enabled
                GPO: AU-WSUS
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\RemoteAdminSettings
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit
                    State:   Enabled
                GPO: au-mdwsus
                    Setting: Software\Policies\Microsoft\Windows\WindowsUpdate
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications\List
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\WindowsFirewall\DomainProfile\AuthorizedApplications\List
                    State:   Enabled
                GPO: Allow Remote Assistance
                    Setting: Software\policies\Microsoft\Windows NT\Terminal Services
                    State:   Enabled
    USER SETTINGS
        CN=Matthew Luhrs,OU=Users,OU=SITECODE,DC=DOMAIN,DC=com,DC=au
        Last time Group Policy was applied: 10/02/2010 at 1:54:53 PM
        Group Policy was applied from:      XXXXXADC.DOMAIN.com.au
        Group Policy slow link threshold:   500 kbps
        Applied Group Policy Objects
            Allow Remote Assistance
           **** SITECODE Mapped Drives/ Printers - has Gp Pref's that should apply
            Default Domain Policy
            Proxy Settings
            **** Desktop Background & Home Page - has Gp Pref's that should apply
            Local Admin & Local Power Users
        The following GPOs were not applied because they were filtered out
            AU-WSUS
                Filtering:  Not Applied (Empty)
            Legal Notice
                Filtering:  Disabled (GPO)
            Reg Permissions for default desktop
                Filtering:  Not Applied (Empty)
            Logon as service, operating system
                Filtering:  Not Applied (Empty)
            Local Group Policy
                Filtering:  Not Applied (Empty)
            au-mdwsus
                Filtering:  Not Applied (Empty)
            AVD Rollout
                Filtering:  Disabled (GPO)
        The user is a part of the following security groups:
            Domain Users
            Everyone
            Offer Remote Assistance Helpers
            BUILTIN\Administrators
            BUILTIN\Users
            NT AUTHORITY\INTERACTIVE
            NT AUTHORITY\Authenticated Users
            LOCAL
            Computer Account Operators
            Internet Users
            SITECODE Users
            DOMAIN-Public Folders Administrators
            All Email Users
            DOMAINSWIFTEMAIL
            Domain Admins
            Offer Remote Assistance Helpers
            WSUS Administrators
            DHCP Administrators
            CERTSVC_DCOM_ACCESS
        Resultant Set Of Policies for User:
            Software Installations
                N/A
            Public Key Policies
                N/A
            Administrative Templates
                N/A
            Folder Redirection
                N/A
            Internet Explorer Browser User Interface
                GPO: Proxy Settings
                    Large Animated Bitmap Name:      N/A
                    Large Custom Logo Bitmap Name:   N/A
                    Title BarText:                   N/A
                    UserAgent Text:                  N/A
                    Delete existing toolbar buttons: No
            Internet Explorer Connection
                HTTP Proxy Server:   Proxy:port
                Secure Proxy Server: Proxy:port
                FTP Proxy Server:    Proxy:port
                Gopher Proxy Server: Proxy:port
                Socks Proxy Server:  Proxy:port
                Auto Config Enable:  Yes
                Enable Proxy:        Yes
                Use same Proxy:      Yes
            Internet Explorer URLs
                GPO: Proxy Settings
                    Home page URL:           N/A
                    Search page URL:         N/A
                    Online support page URL: N/A
            Internet Explorer Security
                Always Viewable Sites:     N/A
                Password Override Enabled: False
                GPO: Proxy Settings
                    Import the current Content Ratings Settings:      No
                    Import the current Security Zones Settings:       No
                    Import current Authenticode Security Information: No
                    Enable trusted publisher lockdown:                No
            Internet Explorer Programs
                GPO: Proxy Settings
                    Import the current Program Settings: No

  • Windows Server 2012 - Remote Apps - Mapped Network Drive Error

    Hi Technet
    I'm configuring Windows Server 2012 Standard with RDS Remote Apps. When I try to publish apps fra a shared network drive the I get this error i powershell:
    C:\Users\administrator.PRO> New-RDRemoteApp -Alias "Microsoft C5" -DisplayName "Microsoft C5" -FilePath "Z:\C5W32.exe"
    New-RDRemoteApp : Could not find the specified icon:
    Computer name: PROSRV2.PRO.LOCAL
    Icon path: Z:\C5W32.exe
    Icon index: 0
    At line:1 char:1
    + New-RDRemoteApp -Alias "Microsoft C5" -DisplayName "Microsoft C5" -FilePath "Z:\ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDRemoteApp
    When I try from manager:
    I get this error:
    Select RemoteApp programs
    You must specify a file from the RD Session Host server
    using the UNC path; for example PROSRV2.PRO.LOCAL
    if the problem persists, ensure that the following Windows
    Firewall exceptions are enabled:
    1. File and Printer Sharing (SMB-Out)
    2. File and Printer Sharing (SMB-In)
    I have been able to do this pn 2008 R2 like 100 times with no problems, hope someone can help plz
    Regards
    Thomas Pedersen

    Aurimas... try the method I tried and let me know if it works for you...
    To publish an Application that is available only on a Mapped Drive.
    E.g. Sage Pro Application needs to run as T:\Pro73\sbtw.exe
    We have to be aware that it may give an error sometimes because it tries accessing the IconPath variable and that needs to be on a local path "C:" or "D:"
    We were successful in publishing the application by runnig the command twice in Powershell.
    The first time it gave an error and the second time it published it successfully and also made it available on the RD Web Access:
    PS C:\Users\administrator.LAFE> New-RDRemoteApp -CollectionName QuickSessionCollection -
    DisplayName "SagePro200" -FilePath T:\PRO73\sbtw.exe -IconPath "C:\Windows\RemotePackages
    \CPubFarms\QuickSessionCollection\CPubRemoteApps\sbtw.ico"-UserGroups "lafe\citrix users"
    Please note that it will show TWO SagePro200 RemoteApp Program names and the Aliases will be sbtw and sbtw(1), but only the later one will be visible online and workable.
    You can always go back and 'unpublish' the extra RemoteAPP if you want to keep your interface clean.
    Hello,
    I was able to publish remote app using this method, but I had to specify icon path in UNC as I was performing the publishing operation from
    RDCB server and my guess is that it was looking for icon in "C:\windows\..\program.ico" on the
    RemoteApp server where the icon did not exist. After specifying -iconpath as UNC
    \\RDCB\C$\windows\...\program.ico command was successful.

  • List mapped drives for all users

    Is there a way to list all mapped drives for every user  in the domain? I'd like to export it out to csv.

    Hi Ctrl,
    We can use "net use" or Wmi query "Get-WmiObject Win32_MappedLogicalDisk " in powershell, however,  these methods has some limitations, whether the current user which is used to remote access has Administrative privileges
    to their computer can determine whether that returns anything or not.
    For example, we can use Powershell Remoting to query the mapped drive from remote computers, beacause the mapped drive is to a specified user, so we also need to provide the computername and the relevant credential.
    If you deployed the GPP Drive maps, you can refer to this script:
    Get all GPP Drive maps in a Domain
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • When logging on to Windows 7 user gets a second mapped drive to the users home folder

    Morning,
    I'm working through an issue we've discovered whilst trialing Windows 7.  Our environment is setup as follows.
    Domain Controllers are Windows Server 2003
    Clients are Windows XP and Windows 7
    Windows XP and Windows 7 Clients are in seperate OU's
    All Windows XP Group Policies apply to Windows XP And Windows 7 clients, Windows 7 policies are then applied to Windows 7 clients after
    Windows 7 policies are setup such that any setting defined in a Windows XP Group policy is left unconfigured in the Windows 7 Group policy and only new Windows 7 settings have been set in Windows 7 Group Policies.
    We have users home folders mapped in their Account Directory account setting and set to H:\   to connect to
    \\domainname\dfs\home\username
    In addition we also as a fail safe map the drive via a login script using net use
    This has worked fine for years in windows XP, if Active Directory failed to map the drive for any reason then the login script would then map the home drive.
    In Windows 7 we have noticed a curious error.  We found after a period of a couple of weeks we suddenly started getting a new drive mapped.  This was identical to the H:\ drive mapping but was instead under drive Z:\.  In other words, the
    users home folder is mapped twice on h:\ and z:\.  This is not affecting any of the Windows XP users.
    I have gone through several logic reasons to ascertain why this has happened with the following findings.
    1. Originally we thought the error appeared when we tried out mapping the home drive using the mapped drives functionality new in Windows 7 group policy under preferences > windows settings > drive maps.  However, after forcing it to delete the
    Z:\ drive using this functionality we only succeeded in removing it with a group policy present to do it.  As soon as we removed that group policy the Z:\ drive came back
    2. Secondly i thought the reason we would be getting a z:\ drive when we haven't specified it anywhere is because active directory is trying to map to the H:\ Drive but it is already present therefore in Windows 7 it tries to map to a different drive. 
    Using Windows logic it tries the highest letter first which is unlikely to be in use i.e. z:\.  This makes sense because our logon script uses a net use h:\ command to map the drive and i believe by default these are set to perisistent.  Therefore
    the next time the user logs on H:\ is already mapped so the logic in Active Directory accounts maps the drive to Z:\ instead hence we end up with two mapped home drives.  To test this i altered the login script to set the drive maps to
    non persistent using persistent:no.  The logic here was that when the user logged off the drive would become unmapped so that when Active Directory tried to map the drive it would be able to use H:\.  Unfortunately this was not the case and
    Z:\ remains.
    3. Here is where i resolve the issue but i don't know why and is the bit i need answering.  If i go into my account on Active Directory and go to Profile and set the home folder drive letter to another letter i.e. change from H:\ to U:\,
    i get prompted to set full control etc and apply.  I then set the drive back from U:\ to H:\, again i am prompted for setting full control which i accept.  
    NOW when i login i no longer receive a Z:\ drive and only get an H:\ drive.  YAY, thats what i want, however, i do not understand why this is the case.  At first i thought it might be something in the active directory logic when i login to an XP
    machine and then login to a windows 7 machine.  IF you bear in mind that although i get a new profile in Windows 7 i still retain the same home folder setting.  However, after logging on an XP machine logging off then logging
    on a Windows 7 machine i still didn't get the Z:\ drive back. 
    I have tried creating a new user that ONLY receives our Windows 7 Group Policies and still they receive both an H:\ and a Z:\ drive which rules out the Windows XP policies conflicting with the Windows 7 policies.
    Does anyone have any ideas why i would get a second drive mapped to Z:\ logging into Windows 7 on a Windows Server 2003 domain? 
    Can anyone explain in more detail exactly how the Active Directory functionality works when you specify a connect to Drive letter for a users home folder?
    My current workaround is simply to add a net use command to remove the Z:\ drive.  I do not want to use Mapped Network drives using the new policy settings in Windows 7 RSAT because we have already found issues with it. 
    <input id="3daf20bf-4f4d-4a05-86da-2c30c205d580_attachments" type="hidden" />

    We had the exact same issue happen to us. No issue on Windows XP but Windows 7 mapped two home drives (F and Z). F was mapped during the login script and Z was being mapped by some unknown reason.
    We use Netapp for our storage and home drives and use a feature called CIFS Home Drive Mapping. This essentially maps a user to a folder not available through normal CIFS methods causing AD to error when setting the home drive. To get around this we use
    dsquery and dsmod to modify this attribute in the user account. This is the command we used...
    dsquery user -name %UserNameX% | dsmod user -hmdrv F -hmdir \\filer\$username$
    Notice there is no ":" after the F
    We determined the root causewas the value for the
    homeDrive attributefor the user account was set to "F" instead of "F:"
    When we updated our users to reference "F:" instead of "F" in their user, this problem was resolved.
    Use LDP or some other method to verify that the homeDrive attribute is set to "F:" (or any other letter) or you will have this issue.

  • Exception in User Mapping (Remote iViews) in Federated Portal Network (FPN)

    Hi all,
    I am trying to implement Federated Portal Network. Content Usage mode as 'Remote Delta link' but getting runtime exception at Consumer Portal side while navigating through following path:
    Ideally it should display login page asking for user credentials to connect to remote producer portal
    Path at Consumer Portal side: Personalize -> User Mapping (Remote iViews) -> select remote producer portal alias from Remote Content Provider dropdown
    Consumer portal : EP1 SPS 12
    Producer portal: EP4 SPS 11
    Exception as below:
    The initial exception that caused the request to fail, was:
      com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/every_user/general/eu_role/com.sap.portal.portal_personalization/com.sap.portal.umeEnduserRemoteUserMappingWD/com.sap.portal.umeEnduserRemoteUserMappingWD)
    at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:422)
        at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1248)
        at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
        at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
        at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    Request you to kindly share your inputs.
    Thanks and Regards

    Hi all,
    I am trying to implement Federated Portal Network. Content Usage mode as 'Remote Delta link' but getting runtime exception at Consumer Portal side while navigating through following path:
    Ideally it should display login page asking for user credentials to connect to remote producer portal
    Path at Consumer Portal side: Personalize -> User Mapping (Remote iViews) -> select remote producer portal alias from Remote Content Provider dropdown
    Consumer portal : EP1 SPS 12
    Producer portal: EP4 SPS 11
    Exception as below:
    The initial exception that caused the request to fail, was:
      com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/every_user/general/eu_role/com.sap.portal.portal_personalization/com.sap.portal.umeEnduserRemoteUserMappingWD/com.sap.portal.umeEnduserRemoteUserMappingWD)
    at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:422)
        at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1248)
        at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
        at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
        at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1254)
    Request you to kindly share your inputs.
    Thanks and Regards

  • How to prevent a rdp user from mapping drives on the server ?

    Hi,
    User A from Domain A (using Win7 pro) is able to rdp to Server Z (Windows Server 2008) which is in Domain Z and is able to map drive.
    My question is : How do I prevent User A from mapping any drive in Server Z ?
    Please advise. TIA !

    Hi,
    if a user has access to the other share there is no way to prevent that user from mapping a drive.
    However, you can remove the "map Network drive" functionality via policy, please see
    http://msdn.microsoft.com/en-us/library/ms812045.aspx
    That does not prevent users from mapping  their drive manually using the "net use ..." command from a shell. While it is possible to restrict running of the net command, I do not recommend that (see
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b5012142-cfe9-4b24-99b9-d7ff3b84f0f4/what-security-policy-blocks-use-of-the-net-command-for-nonadmin-users?forum=winserverGP).
    ( What you may consider when having Shares cross-forest, you can remove that authorized users permission from the share replacing it by DOMAIN\Domain users groups, etc. So access to the share is limited instead of using a share that a user has access to.
    Please Keep in mind that even when you remove the Network drives a user can still Access the resource via UNC. )
    Regards,
    Martin

  • Open Files on Server 2012 - Why Do All Mapped Drives (and users) Show as Open

    Our office just installed Server 2012 (Standard).  We used to run Server 2003 Standard. 
    We have 3 shared/mapped folders on the server - and have 12 users mapped to those shared folders.
    When I go to Computer Management/Shared/Open files, it used to be empty if no users were currently using one of the shared folders (in Server 2003).   Now even if no users are currently using one of the mapped folders - most of the users
    are listed with the mapped drive reference. 
    Is this something new in Server 2012?
    I used to use this to determine exactly who was in a share if we had problems and needed to close that particular workstation.  Now with them all listed, I am wondering if things are not closing properly??
    Thank you for any insight you can provide!

    Thank you for your reply.  Now I notice that even though a workstation (Windows 7.0 Pro) has closed our Prosystem FX tax program, there will still be at least one file showing as "open"  for that program on Server 2012 even though the user has
    exited the program and we have rebooted the workstation.
    The tax program itself doesn't seem to "think" the files are open as it lets me do tasks that require all users to be out of the program.
    Just wondering why files that aren't open seem to show as open on Server 2012.  They did not do this with Server 2003 and XP workstations.  Or even with Server 2003 and Windows 7 Pro workstations.  Just when we changed to Server 2012 and have
    our Windows 7.0 workstations.
    Thank you again,
    Brenda

  • Windows Server 2008 Standard: Multiple Concerns: Inconsistent group policy update on client PC's, frequent disconnections of map drives and remote connection

    Hi this is my first time to ask a question here in this community.
    I am a system administrator here at my work and we are having some issues on some servers that we handle. Network in our office is stable and we have determined it is not a problem on the connection.
    First issue - One of our domain controller consistently drops out on our Directory Server and saying it's unavailable.
    Second issue - Unable to ping hostname but IP address works fine. (Sometimes hostname is ok but very intermittent)
    Third issue - Since connection is unstable map drives causes to disconnect
    If someone can provide any assistance on this matter it would be a great help. If screenshots needed for proper assistance would be appreciative.
    Just to add that this only happen after a power failure last April of this month and a few weeks bluescreen started to show. It is a hazy version wasn't able to get any code that may lead to a hardware failure. 
    Now our main RDC.local is also affected so we are trying to isolate this issue and exhauted my brain since we cannot determine what causes it. Need external assistance just to give us a lead on where we can get this resolved.

    Hi Ryan,
    Before going further, would you please let me confirm something more? Thanks for your understanding.
    1. For first issue, would you please let me know OS edition information of the problematic DC? Was it Windows Server 2008 R2 or Windows Server 2012 or any other?
    à
    One of our domain controller consistently drops out on our Directory Server and saying it's unavailable.
    Would you please let me know the complete error message or provide a screenshot of it?
    (Please hide all protected or private information.) Meanwhile, please log on the problematic DC and check if find relevant events or errors in Event Viewer.
    2. For the second issue, it seems to be a DNS issue. Did you run
    ipconfig /flushdns and ipconfig /registerdns command? Any find? Meanwhile, please use
    ipconfig /all to display full TCP/IP configuration and check. Or you can post the
    ipconfig result here. It may help us to go further analyze. By the way, would you please let me know error message that you can get when be unable to ping via hostname?
    3.
    àSince connection is unstable map drives causes to disconnect
    May be a cause.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Error while saving a .PDF File to a mapped drive

    The issue I am having is similar to the one found on this older post. http://forums.adobe.com/message/3066663#3066663
    The issue is as follows. I have a small company about 15 users divided into a couple of departments with different networking access needs. They each have Adobe Acrobat version XI installed on a Windows 7 Platform. Each user has a set of mapped drives that correspond to their department. The Disk mappings are all directed to the main shared Network Attached Storage (NAS) device. At any time there can be a number of PDF files open and being worked in. The same PDF is usually not opened at the same time from two different locations.
    The issue is that two users who do a large amount of the work, IE. Scanning documents and adding them to documents that have been previously created, are reporting the same issue. The issue is when they have the PDF document opened and they are adding new content. Once the new content is added they go to save the document and then receive the following error:
    “The document could not be saved. Cannot save to this filename. Please save the document with a different name or in a different folder.”
    In order to save the file the user has to use the save as function and then browse to the original file location to save the document with the changes that have been made.
    Along with the above error we have noticed that Adobe Acrobat is renaming the file that has been changed to aae##### or aak##### or aan#####. The file name is changed causing the normal save function to not work correctly.
    Is there a reason Acrobat would be doing this?
    I am not using Microsoft SharePoint.

    My users started to experience this issue for files on network shares as well once Adobe Reader was updated to 11.0.10
    It has to do with Protected Mode being turned on.  I don't know if it was off by default & now it is on with the update but turning it off changes Adobe Reader's behavior back to what the users expect - a prompt warning you if you want to overwrite the existing file & then selecting Yes to overwrite.
    To disable Protected Mode:
    Start Adobe Reader
    Edit - Preferences - Security (Enhanced)
    Uncheck Enable Protected Mode at Startup
    Close Preferences & Close Reader
    Now open a file from a network share & you Adobe saves as it used to.

Maybe you are looking for

  • Oracle API for Extended Analytics Flat File extract issue

    I have modified the Extended Analytics SDK application as such: HFMCONSTANTSLib.EA_EXTRACT_TYPE_FLAGS.EA_EXTRACT_TYPE_FLATFILE instead of HFMCONSTANTSLib.EA_EXTRACT_TYPE_FLAGS.EA_EXTRACT_TYPE_STANDARD I am trying to figure out where the Flat file ext

  • Call an Non-SharePoint Secured RESTful API from a Workflow in a SharePoint Online Tenant

    I have a scenario where I need to be able to make calls to a secured web service from a SharePoint 2013 workflow that will be deployed in a SharePoint Online (Office 365) environment. It is a REST web service that is secured in a 2-legged OAuth-like

  • Extracting pdf that's embedded in xml

    I'm needing to extract/parse a pdf file that is embedded in an xml file. I'm able to do it with Microsoft XML Parser, but want to do it on unix using java. I've tried FOP - only good for creating pdf's out of text, but not able to handle embedded bin

  • Don't want display the archive partners in Interaction Center Winclient

    Hi All, While searching for the business partners in the Interaction Center Winclient ( Transaction Code : CIC0),  we don't want to display the archived business partners . Please provide your valuable suggestions. Thanks in advance.

  • Java Socket - port knocking

    Hi I'm new here sorry if this subject was already discusssed. I was trying to find answer without result. I have to write simle client for port knocking technique in java, and i have little problem Port knocking daemon works fine (easy just read fire