What you would typically do is put c:\windows\system32\runas.exe /user:domain\user /savecreds before the link to the exe. Since the SCCM admin console is an mmc snap-in it looks a little different.
This is what I ended up with - C:\Windows\System32\runas.exe /user:domain\user /savecreds "mmc \"C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\bin\adminconsole.msc""
Yes that extra floating \ is necessary.
Hello,
ReplyDeleteThis also applies to SCCM 2012 Console too ?
Thank you.
Good question Bogdan and the answer is yes and now depending on how you read my post and your understanding of the config manager console changes.
ReplyDeleteThe new console no longer uses MMC (hooray!!!) but is simply just an exe. So you can use the first part of this post to save your user credentials.
Create a shortcut on your desktop to the 2012 console.
The "Target:" line should read like this -
c:\Windows\System32\runas.exe /user:domain\user /savecreds "c:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\Microsoft.ConfigurationManagement.exe"
The first time you open this shortcut it will prompt your for the password of the username you put in above. After that it will just open without any interaction.
merci
ReplyDelete