Accessing c:\users\all users

I need to write a script that copys files to our Windows 7 clients, to the c:\users\all users directory.  I cant map to that directory using  \\computer\c$\users\all users directory.  This is a hidden directory, and I can get to it locally, but not accross the network.  I recieve a, "Not Accessbile," error.  "You might not have permission to use this network resource.  Contact the administrator of this server to find out if you have access permissions.  The symbolic link cannot be followed because its type is disabled."
bluespringsitAsked:
Who is Participating?
 
TheTechManCommented:
The All Users folder doesn't actually exist anymore.  Good ol' Microsoft...  here's some location that may interest you:

All users desktop:
\\computer\c$\Users\Public\Public Desktop\

All users start menu:
\\computer\c$\ProgramData\Microsoft\Windows\Start Menu\

If it were me, I'd drop it in the Startup subfolder of the All users start menu listed above, then add a 2nd script that deletes the orginal file after it's run.  There are alternatives like modifying the registry directly, if you're interested, let me know.

0
 
schapsCommented:
Interesting issue, have not encountered it myself - could you copy the files to a temp directory somewhere you can access along with another script which could then copy the files where you need them to go?
0
 
SeaSenorCommented:
can you use  \\computer\c$\users\Public  ??
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
Adam LeinssServer SpecialistCommented:
Take a look here: http://campus.mst.edu/cis/desktop/documentation/pc/win7_x64/common_file_locations/

Looks like All Users in 7 is really just a junction point to C:\ProgramData.

If you are trying to copy an icon to all users\desktop, use C:\users\public\desktop
0
 
bluespringsitAuthor Commented:
I think I figured it out.  Windows 7 does have a c:\users\all users directory, but it's actually a shortcut that points to c:\programdata

This is the path I need to reference.  Thank you everyone for your help.
0
 
TheTechManCommented:
Sorry, why did you award points in this manner?  I gave you the ProgramData folder info, so just wanted to see if maybe a split would be more appropriate.  Thanks
0
 
SeaSenorCommented:
same here..  not really complaining ... we all provided some info.
0
 
bluespringsitAuthor Commented:
My apologies.  I will split the points.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.