Runas i uruchamianie programów na innym koncie w Wierszu Poleceń
Runas i uruchamianie programów na innym koncie w Wierszu Poleceń
Systemy Windows posiadają wbudowane polecenie „runas” służące do uruchamiania poleceń jako inny użytkownik. Oto przykłady:
runas /user:Domena\konto program.exe
Przykład uruchomienie konsoli jako administrator
runas /user:Administartor cmd.exe
Po wciśnięciu ENTER, konsola zapyta nas o hasło dla użytkownika administrator. Nie można podać hasła jako parametru.
Jeśli mamy potrzebę wykonania kilku poleceń, nie trzeba każdego z nich uruchamiać przez runas. Można jednorazowo uruchomić sobie konsolę CMD, a każde polecenie w niej wpisane będzie miało odpowiednie uprawnienia.
Approximate IOPS and throughput values for different disk drive types
Approximate IOPS and throughput values for different disk drive types
| Drive (Type / RPM) |
IOPS (4KB block, random) |
IOPS (64KB block, random) |
MB/s (64KB block, random) |
IOPS (512KB block, random) |
MB/s (512KB block, random) |
MB/s (large block, sequential) |
| FC / 15K | 163 - 178 | 151 - 169 | 9.7 – 10.8 | 97 – 123 | 49.7 – 63.1 | 73.5 – 127.5 |
| SAS / 15K | 188 - 203 | 175 - 192 | 11.2 – 12.3 | 115 – 135 | 58.9 – 68.9 | 91.5 – 126.3 |
| FC / 10K | 142 - 151 | 130 – 143 | 8.3 – 9.2 | 80 – 104 | 40.9 – 53.1 | 58.1 – 107.2 |
| SAS / 10K | 142 - 151 | 130 – 143 | 8.3 – 9.2 | 80 – 104 | 40.9 – 53.1 | 58.1 – 107.2 |
| SAS/SATA / 7200 | 73 - 79 | 69 - 76 | 4.4 – 4.9 | 47 – 63 | 24.3 – 32.1 | 43.4 – 97.8 |
| SATA / 5400 | 57 | 55 | 3.5 | 44 | 22.6 |
DISK RAID AND IOPS CALCULATOR
DISK RAID AND IOPS CALCULATOR
https://www.expedient.com/disk-raid-and-iops-calculator/
Do you know how many Input/Output Operations Per Second (IOPS) your RAID configuration is going to produce? Are you trying to calculate how much usable storage you are going to net from different RAID configurations? Use this calcualtor to help properly size your environment.
How to change Windows user name in CMD
How to change Windows user name in CMD
First check existing users in the system
open command prompt as administrator and enter
net users
Next
You can use wmic for this. The command is:
wmic useraccount where name='currentname' rename newname
Example, if your username is "user" and you want to rename to "user1" the following command would be used.
wmic useraccount where name='user' rename user1
Please note, you need administrative privileges to use this command, so make sure you start your command prompt using run as administrator.
EDIT: suddenly you mention in the comments that you do NOT want to change the Username, but the Full Name instead.
The command for that is here:
wmic useraccount where fullname='currentname' rename newname
You can substitute fullname or name for any of the following:
AccountType Description Disabled Domain FullName InstallDate LocalAccount Lockout Name PasswordChangeable PasswordExpires PasswordRequired SID SIDType Status
You can use the following command to see a list of all users with all their settings:
wmic useraccount list
ways to change user account name in Windows 10:
Change account name in Control Panel.
1: Access Control Panel/User Accounts and Family Safety/User Accounts.
2: Choose Change your account name.
Change account name in Control Panel.
1: Access Control Panel/User Accounts and Family Safety/User Accounts.
2: Choose Change your account name.
3: Type a new name in the box and tap Change Name.
Change account name in Local Users and Groups.
1: Open Run by Windows+R, enter lusrmgr.msc and hit OK to open Local Users and Groups.
2: Open the Users folder, right-click a user and select Rename in the menu.
3: Type a new name in the name box.
Change administrator or guest name in Local Group Policy Editor.
1: Access Local Group Policy Editor.
2: Open Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options/Accounts: Rename administrator account (or Accounts: Rename guest account).
3: Type new name and hit OK.





