本项目可以用来破解企业对加域电脑的权限管理,及对USB端口禁用的设定。 域用户在本地计算机上默认的权限不是很高,很多时候操作起来很不方便。拥有本地管理员权限的话,可以赋予域用户本地管理员的权限,方法有几种,但是命令行的方式最为简洁方便。
- USB flash disk ( Size >= 1GB )
- rufus ( Create bootable device utility )
- Active@ Password Changer ( MS-DOS tool for crack Windows password )
- WEPE ( WinPE toolkit for crack Windows password )
- Boot from the floppy, USB drive or CD/DVD-ROM
- Active@ Password Changer program starts automatically
- If not run Active@ Password Changer by typing this command, along with [Enter]:
C:\> PWD_CHNG.EXE
- Press [1], [2] or [3] key for the action you want to perform.
- Press [Esc] to exit the program.
If you chose the first option on the Options screen you may select a particular volume to scan for a SAM database
- Press the [0].[9] key to select a particular volume to be scanned, or the [A] key to scan all volumes
- Press [Enter] to perform the default action (scan all volumes).
If only one SAM database is detected, press [ENTER] to get users information:
If several SAM databases are detected you will be asked to choose the one you want to view or edit:
- Press [0] . [9] key for a particular SAM database based on the appropriate database location and volume information.
After the SAM database is scanned, a list of defined local users will be displayed:
- Press the [0] . [9] key to display information for a specific user
- Press [PgUp] or [PgDown] to scroll the list of users
The primary (built-in) Administrator is displayed in Cyan,
Other users who have Administrator privileges are displayed in Green; or, Dark Green if their account has been disabled,
Users who don't have Administrator privileges are displayed in White; or, Grey if their account has been disabled.
After you select a specific user account you can see the account information:
To view and change permitted logon days and hours press the [PgDn] key:
To select and choose days and hours use arrow keys and the [Space] bar. Please note that hours are displayed in GMT (Greenwich Mean Time). You should take that into account for your local time zone.
Default Windows system accounts do not have the option for "permitted logon hours".
Press [Y] if you want to save your changes or press [Esc] to leave the previous account information unchanged and return to previous window (List of accounts)
After you reset the user's password:
- User's password becomes empty
- "Account is Disabled" flag (if any) gets cleared
- "Password never expires" flag is set.
net localgroup Administrators /add quantacn.com\A0070575
4. Open Control Panel - User Accounts - Manage User Accounts,Change the user name(A0070575) which domain is QUANTACN'S group properties to administrators group.
5. 在组策略中配置开机和关机脚本,开始 - 运行 - GPEDIT.MSC,计算机配置 - Windows设置 - 脚本 - 开机/关机,浏览分别选择 EnNetwork.BAT 和 DisNetwork.BAT 脚本文件.
Windows 7 系统下插入 U 盘或可移动存储设备在资源管理器中可以显示相关存储设备的卷标信息,但是双击该设备卷标却提示“位置不可用,无法访问,拒绝访问”,而在别的电脑上就可以访问。碰到这样的情况一般如果是在企业可能是公司域管理员限制了 USB 端口。
- 在运行窗口中输入 gpedit.msc 回车,打开计算机配置 - 管理模版 - 系统 - 可移动存储访问,在所有可移动存储类:拒绝所有权限,里面显示的是未配置,按说是没有阻止访问的(也可能是显示的和注册表不一致呢)。点“已禁用” -> 应用,再点“未配置” -> 应用。重启计算机。
- Select Computer Configuration or User Configuration based on t·he criteria noted above, then expand Administrative Templates → System → Removable Storage Access.Double-click the policy setting for WPD, (Windows Portable Devices) that corresponds to the kind of restriction you want enforced (for example, double-click WPD Devices: Deny read access if you want to deny read access to your Apple iPhone). Select the corresponding radio button to Enable or Disable a policy setting.
这样 U 盘或其他移动存储设备可以访问了,插入 U 盘后双击就不会显示“位置不可用,无法访问,拒绝访问”,这也是在 Win7 系统下的解决方法,碰到其他系统则有可能是别的原因,分享的这个方法也希望能帮助遇到此问题的朋友。