• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

powershell logon scripts

Hi Experts,
I have to map the cloud server using WebDAV so that users can use the mapped drive.
My problem is that when I use a regular logon scripts, the user name and password screen pops up.
If I use /user:domain\%username% parameter the end, then only password is required
Can I automate this process using a PowerShell so that nobody has to put the username and password?
If you have sample of this, that would be nice.
Thanks in advance
0
Ksean
Asked:
Ksean
  • 4
  • 2
1 Solution
 
JohnBusiness Consultant (Owner)Commented:
You can put the password after the user name and that will work. I use this on my own very secure machine.
0
 
KseanAuthor Commented:
This runs from AD servers so I cannot put a specific password. and I also don't want to hardcode the password anywhere.
0
 
JohnBusiness Consultant (Owner)Commented:
I don't think powershell can help then. You would need to create some sort of program.
0
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
JohnBusiness Consultant (Owner)Commented:
Can I automate this process using a PowerShell so that nobody has to put the username and password?

Yes, with a regular script as noted.

I also don't want to hardcode the password anywhere.

180 degrees contradicts the first objective. Complete oxymoron.

If you do not wish to hard code the password (good idea), then it must prompt.
0
 
KseanAuthor Commented:
I've requested that this question be deleted for the following reason:

I cannot get the answer
0
 
JohnBusiness Consultant (Owner)Commented:
The workaround suggested above WILL work. If you do not want to hard code things then you must live with a prompt. So I do not think you can say "No Answer"
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now