Scripting adding of credentials
Long story short, we have Windows 7 laptops that connect wirelessly on one domain/subnet which we want to connect to the servers on another domain/subnet. The laptops are locked down, however we have access to HKCU\Software\Microsoft\Windows\Current Version\Run and Control userpasswords2
We can get by using net use commands to map the drives we need (by mapping directly to server IP addresses) however in order for the credentials to work we either need the individual staff member's username and password in the net use command, or their credentials for 2 servers in the control userpasswords2.
Is there any way to script adding our domain credentials to the control userpasswords2 so that each staff member can add their username and password once, and then the net use commands can work from then on?