Networking – Accessing files across a network using the SYSTEM account

filesystemsnetworkingpowershellsccmuser-accounts

I'm not sure if I am asking this in the right spot or not, sorry if I am wrong.

I would like to know please, SCCM is currently operational in our school, and we use it to install software across our network.

I have a piece of software that requires a different channel for each room or staff laptop that it is installed in.

I have managed to set up a powershell script that polls a csv for the channel that should be assigned to each room, and when the script it run, it pulls that channel and installs the software with that channel assigned.

What I am having trouble with now, is that SCCM installs the software using the local system account, and the csv is located on a network share. When the System account goes to poll the csv file it gets an access denied error, even though System has full control of the csv and directory that the csv is located in.

Is it just me not understanding the permissions that System has, or can System not interact with other devices over the network, I assumed that being system on both devices, it would be able to cross to another device and impersonate system on that device.

Is there a way around this?

Thanks for any feedback.

Best Answer

LocalSystem account

  • Name: .\LocalSystem (can also use LocalSystem or ComputerName\LocalSystem)
  • the account has no password (any password information you provide is ignored)
  • HKCU represents the default user (LocalSystem has no profile of its own)
  • has extensive privileges on the local computer
  • presents the computer's credentials to remote servers

Completely trusted account, moreso than the administrator account. There is nothing on a single box that this account can not do and it has the right to access the network as the machine (this requires Active Directory and granting the machine account permissions to something).

Source/More info at this StackOverflow answer: https://stackoverflow.com/a/510225/225906

Related Question