logo elektroda
logo elektroda
X
logo elektroda

[Solved] Mapping Disks on Domain Accounts: Drive Mappings Script for Desktop Display

lukaes 5586 15
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17097897
    lukaes
    Level 4  
    Hi,
    I have a question about drive mappings on domain accounts. I normally map the drive with a script, but it displays on my computer. I would like it to be mapped on the desktop. Anyone know how to do it?
  • ADVERTISEMENT
  • #2 17097957
    lesławek
    Level 32  
    make a shortcut ...
  • #3 17097965
    lukaes
    Level 4  
    lesławek wrote:
    make a shortcut ...

    Ehh. If I wanted to make a shortcut, I would probably not include this topic here.
  • #4 17097968
    lesławek
    Level 32  
    What exactly do you want to do? Because it's not fully understood ... the contents of the root directory should be displayed as desktop icons?
  • #5 17097980
    lukaes
    Level 4  
    lesławek wrote:
    What exactly do you want to do? Because it's not fully understood ... the contents of the root directory should be displayed as desktop icons?


    I want the drive in my mobile profile to map to the desktop, not my computer's drives
  • ADVERTISEMENT
  • #6 17098003
    sylweksylwina
    Moderator of Computers service
    And what's the difference with the abbreviation?
  • #7 17098007
    lukaes
    Level 4  
    sylweksylwina wrote:
    And what's the difference with the abbreviation?

    This needs to be done on multiple computers with multiple drives. It is much easier for me to make a script that will map them to my desktop than to map them manually on 20 computers
  • ADVERTISEMENT
  • #10 17098078
    jprzedworski
    Network and Internet specialist
    It is even more this direction.
  • #11 17098085
    lukaes
    Level 4  
    jprzedworski wrote:
    It is even more this direction.


    The disks map to me only in "my computer", not as I would like - on the desktop
  • #12 17098341
    salmon
    Moderator of Networks, Internet
    lukaes wrote:
    and not as I would like - on the desktop

    Then create yourself - via GPO - a shortcut on the desktop, what's the problem
  • Helpful post
    #13 17098358
    jprzedworski
    Network and Internet specialist
    I have just checked for a test. In "Default Domain Policy" -> User configuration -> Preferences -> Shortcuts I added a shortcut as in the picture (example) and there is a shortcut to this network drive on the desktop.

    Mapping Disks on Domain Accounts: Drive Mappings Script for Desktop Display

    Anyway, the first link from my previous post is just about taking a shortcut. For example, you can give him his own icon for distinction.
  • #14 17099601
    lukaes
    Level 4  
    jprzedworski wrote:
    I have just checked for a test. In "Default Domain Policy" -> User configuration -> Preferences -> Shortcuts I added a shortcut as in the picture (example) and there is a shortcut to this network drive on the desktop.

    Mapping Disks on Domain Accounts: Drive Mappings Script for Desktop Display

    Anyway, the first link from my previous post is just about taking a shortcut. For example, you can give him his own icon for distinction.


    Well, it's funny that I've been doing this for a long time and it doesn't work for me.
  • ADVERTISEMENT
  • #15 17099740
    jprzedworski
    Network and Internet specialist
    Malice of inanimate objects ;) or some minor mistake. I have Windows Server 2016 + Windows 10 and it worked. I don't have it on a daily basis, because I don't want such shortcuts, but you can. I put it in the Default Domain Policy so as not to play around with little things. Since other rules work there, this one should too. I have no idea what else you need. I understand that what you want to connect to the desktop has been previously defined as a shared resource. Anyway, it wouldn't be possible to map it otherwise. And try to make such a shortcut manually on the desktop with the same path to the resource ("Target path" in GPO configuration).
  • #16 17099867
    lukaes
    Level 4  
    Everything is already working. There were minor permission issues.

    Added after 1 [minutes]:

    The @jprzedworski method works without any problems. I had a problem with file permissions.

Topic summary

The discussion revolves around mapping network drives to the desktop for domain accounts using a script, specifically in a Windows Server 2016 environment. The user seeks a solution to have mapped drives appear on the desktop rather than in "My Computer." Responses suggest using Group Policy Objects (GPO) to create desktop shortcuts for network drives. A user confirmed success with this method after resolving minor permission issues. The conversation highlights the need for automation in mapping drives across multiple computers to streamline the process.
Summary generated by the language model.
ADVERTISEMENT