fpthree
(Lurker)
2007-05-15 06:28 PM
net use \\hostname\c$\Folder

I would think this is basic scripting.
I'm running a job from an altiris console.
I'm running a basic script from the job (essentially batch commands)
To create a folder, cacls the permissions and map a drive to that folder for end user. No different then a common use with Citrix servers.

Client = XP Pro SP2
Problem: Attempting to perform a net use z: "\\hostname\c$\Folder"

Please help if you have any ideas.

Thanks,

Fpthree


AllenAdministrator
(KiX Supporter)
2007-05-15 11:11 PM
Re: net use \\hostname\c$\Folder

Is this a batch script or kix script? If kix please paste what you have. Or if it is a batch script, someone might be willing to help you convert it.

NTDOCAdministrator
(KiX Master)
2007-05-16 12:22 AM
Re: net use \\hostname\c$\Folder

Please provide the actual error you get.

The C$ is a hidden Administrator share so you must have admin rights on the system you're attempting to do this with. Make sure that the Firewall is not the one blocking what you're trying to do.

Please show the full or at least much bigger code you're attempting to use.

Thanks