@ECHO OFF REM Get username and password from user's input set var1=%1 set var2=%2 REM Don't allow user to change password NET USER %var1% %var2% /add /expires:never /passwordchg:no REM User's password never expire wmic useraccount where "Name='%var1%'" set Passwordexpires=false REM Add user to remote desktop group NET localgroup "Remote Desktop Users" %var1% /add REM Create … Continue reading Create_User.bat
How to backup SQL logs and truncate them in BE 2012
This article is quoted from http://www.symantec.com/connect/articles/how-backup-sql-logs-and-truncate-them-be-2012If your SQL database is set to Full Recovery Mode, it maintains transaction logs. If these logs are not truncated from time to time, they will grow and eventually fill up your disk. BE will warn you that you need to truncate your log.V-79-40960-37914 - Database database_name is configured to … Continue reading How to backup SQL logs and truncate them in BE 2012
Lync-Skype Integration
Microsoft has announced that Lync and Skype users now are able connect to each other from across the different platform. By taking a quick look, a few things that I think need to be noticed. The Lync-Skype Connectivity needs to be installed. You need to use the Microsoft live ID to login Skype. The Lync … Continue reading Lync-Skype Integration
IIS Error: A specified logon session does not exist
After updated the certificate on the IIS web server today, we found that the web farm replication stopped working. And gave us an error message: I googled and tried the following two solutions, but neither of them worked for me. http://phaq.phunsites.net/2010/12/09/binding-ssl-in-iss-causes-a-specified-logon-session-does-not-exist-it-may-already-have-been-terminated-error/ http://social.technet.microsoft.com/Forums/en-US/winserversecurity/thread/4a2bcc5b-8845-4bda-a6ae-70a0503e9a6f Then I poked around and to my surprise I found the ‘SSL certificate’ … Continue reading IIS Error: A specified logon session does not exist
HP Thin Client Working Notes
1) In the new HP thin client (e.g T610), to allow the normal user to see the USB storage, you have to do: Local Computer Policy -> User Configuration -> Administrative Templates -> Windows Components -> Windows Explorer –> Disable 'Hide these specified drives in My Computer' 2) Windows Embedded 7 32bits does not support … Continue reading HP Thin Client Working Notes