Monday, September 4, 2017

In full lề trong excel

Trong excel, mặc dù chỉnh đủ kiểu nhưng khi in ra vẫn không full lề được. Bạn chỉ cần vào mục sau:
(Áp dụng Excel 2010)
File=> Option=> General=> check bỏ scale content for A4 or ...

Friday, June 23, 2017

Windows Deploy error The task sequence has been suspended

"The task sequence has been suspended. LiteTouch is trying to install applications. This cannot be performed in Windows PE."

Resolve:
On the computer you are deploying to "the client", boot into WindowsPE just like you are going to image and before you authenticate or get any dialogue boxes, press F8 in WindowsPE to get command prompt and type the following:


1.diskpart


2.list disk


3.select disk 0


4.list part


5.select part 1


6.clean


7.create part primary


8.assign


9.active


10.exit

Monday, March 20, 2017

Command for domain user

 

Disable/Lock a domain user account:

 

Net user loginid  /ACTIVE:NO /domain

 

------

To enable/unlock a domain user account:

 

Net user loginid /ACTIVE:YES  /domain

 

 

------

Prevent users from changing their account password:

 

Net user loginid /Passwordchg:No

 

-------

To allow users to change their password:

 

Net user loginid /Passwordchg:Yes

 

 

 

-----

reset their password you can use this command:

 

net user loginname newpassword /DOMAIN /Active:Yes

 

---

Get serial no: wmic bios get serialnumber

 

 


This message and any attachment are for the intended recipient's use only. It may contain confidential, proprietary or legally privileged information or otherwise be protected from disclosure by other legal rules. If you are not the intended recipient, you may not use, disclose or reproduce this message, its attachment or any part thereof, or take any action in reliance thereon. Please notify the sender immediately and delete this message and any attachment from your system. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by email is deemed to have accepted these risks. Anheuser-Busch InBev NV/SA and its subsidiaries deny any responsibility for any damage arising from the use of email. Any opinion and other statement contained in this message and any attachment are solely those of their author and do not necessarily represent those of the company.