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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.