Showing posts with label Windows 7. Show all posts
Showing posts with label Windows 7. Show all posts

January 10, 2014

Admin Right to Administrator User in Windows

Problem:
- How fix administrator user has admin right
- How to add admin privilege to administrator user in windows 8
- I have not administrator privilege on my user
- My user is a part of administrator group but has not administrator privilege
- Windows 7, 8 and Windows 8.1 Administrator users doesn't have Admin rights

Solution:
Go to regedit and set this key to zero and enjoy
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

January 08, 2014

How to Create Windows WiFi Hotspot

Questions
- How to turn my Windows PC into a Wireless Hotspot
- How to create WiFi Hotspot or tethering in Windows 7 or Windows 8 or Windows 8.1
- How to connect my android phone to my Laptop
- How to Share Laptop's Internet Connection with Phone


Solution A
- Go to Control Panel > Network / Network and Sharing Center
- Go to Set up a new connection or network
- Go to Set up a wireless ad hoc (computer-to-computer) network
- Add a Name and Password (and set the security type on WEP) and Checked Save this network and press Next
- [Windows 8.1] Confirm Turn On Internet Connect Sharing
- [Windows 8, 7 or Older] Right Click on available network and select Properties and go to Sharing Tab and checked Allow other network users to connect through this computer's Internet connection


Solution B
- Go to Control Panel > Network / Network and Sharing Center
- Go to left sidebar and select Manage Wireless Networks
- Go to top left and select Add
- Go to Set up a wireless ad hoc (computer-to-computer) network
- Select Next
- Add a Name and Password (leave security type on WEP) and Checked Save this network option


Solution C
- Press Windows Key + R and type ncpa.cpl
- Select current WiFi Adapter and Right Click on it and select Properties
- Go to Sharing Tab and checked Allow other network users to connect through this computer's Internet connection
- [WINDOWS 8.1]: go to left bottom screen and select Command Prompt (Admin)
- [WINDOWS 8, 7 or Older]: Press Windows Key + R
- Change PASSWORD 12345678 and SSID AMASTANEH in below text and type it on black terminal screen
netsh wlan set hostednetwork mode=allow ssid="AMASTANEH" key="12345678"
- you can start and see the ready network with this command
netsh wlan start hostednetwork


Solution D
- Download Virtual Router (Wifi Hot Spot for Windows 8, Windows 7 and 2008 R2) from http://virtualrouter.codeplex.com/
- Install and Run and Enjoy ;-)


Solution E
- Download Connectify from www.connectify.me
- Install and Run and Enjoy ;-)


August 10, 2012

Lunch Condition


Problems: 
- Install .Net Framework in Setup Project ...
- Adding Dot Net Framework to the Setup Project in ...
- Install .NET Framework with Visual Studio .NET ...
- Create setup project that includes .Net Framework 3.5 ...
- How to attach .Net framework 4.0 client profile to my setup project?
- Setup project wants to install .NET 4
- How to include .NET framework redistributable in Visual Studio setup ....
- Setup project: where .net framework 4.0 is
- Add Prerequisites of .NET Framework in Visual Studio Setup Project ...
- .Net 2.0 or 3.5 Setup Project Requires .Net Framework version 4.0

Solutions:
Windows Installer 3.1 (With Local Prerequisite)
Name: Windows Installer 3.1
Condition: VersionMsi >= "3.1"
InstallUrl: WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe
Message: Windows Installer 3.1 is required to run this setup

Windows Installer 3.1
Name: Windows Installer 3.1
Condition: VersionMsi >= "3.1"
InstallUrl: go.microsoft.com/fwlink/?LinkId=42467
Message: Windows Installer 3.1 is required to run this setup

Windows Installer 4.5 (With Local Prerequisite)
Name: Windows Installer 4.5
Condition: VersionMsi >= "4.05"
InstallUrl: WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe
Message: Windows Installer 4.5 is required to run this setup

Windows Installer 4.5
Name: Windows Installer 4.5
Condition: VersionMsi >= "4.05"
InstallUrl: http://go.microsoft.com/fwlink/?LinkId=120486
Message: Windows Installer 4.5 is required to run this setup

.NET Framework (With Local Prerequisite)
Name: .NET Framework
InstallUrl: DotNetFX40Client\dotNetFx40_Client_x86_x64.exe
Version: .NET Framework 4 Client Profile
Message: [VSDNETMSG]

PS: '.NET Framework' condition is a automatic added condition after add a .Net Project to Setup Project

August 07, 2012

Install Window Without DVD or USB


Problem:
How to install Window 7 without DVD
How to install Window from network

Solution:
1- Download and Run TFTPBoot.exe
link: http://blog.ryantadams.com/wp-content/uploads/tftpboot.exe
link: http://www.megaupload.com/?d=V04T7KQ8
2- Change all settings (follow these screen shots)


3- Turn-on destination computer and press F12
4- after Windows Started ... type this command (on destination computer)
net use Y: \\10.0.0.102\E [PRESS ENTER]
PS: IP and Path are related your source computer
PS: After this prompt you need to enter username and password like COMPUERNAME\Administrator and password
5- Go to share folder and start windows setup ... (with these commands)
Y: [PRESS ENTER]
SETUP [PRESS ENTER]

References:
link: http://blog.ryantadams.com/2008/02/01/how-to-boot-from-the-network-pxe-boot-with-tftp-and-windows-pe
link: http://blog.dustinriley.net/2009/03/17/installing-windows-7-on-hp-mini-1000-through-network
link: http://www.expertcore.org/viewtopic.php?f=15&t=2560

March 17, 2012

KMPlayer Audio Problem

Problem
- Solve kmplayer mkv audio problem
- How to fix KMPlayer Audio noise
- How to find out the problem of MKV video format audio noise
- When i play the mkv video file, strange noise is mixed with voice ...
- .mkv plays with noise in KMPlayer but in other player it's fine!

Solution
You must to find out the Audio Decoder and change it. Follow me
1- Play the video
2- Press Ctrl + Tab (Advance Playback Info)

3- Read the Audio Decoder Name (in this case it's ACC)
4- Press F2 (Preferences)
5- Goto Filter Control > Decoder Usage > Internal Audio Decoder > Unchecked the Audio Decoder (in this case it's ACC)

6- Close and Close and Open the video again ;-)


February 29, 2012

Speed Up File Copy in Windows 7

1- Disable Auto-tuning
Command: netsh interface tcp set global autotuninglevel=disabled

2- Remove RDC
Control Panels > Programs and Features > Turn Windows features on or off > Unchecked Remote Differential Compression

3- Remove IPv6
Control Panel > Network and Sharing Center > Change adaptor settings > Right click on your enabled network >  Properties > Uncheked Internet Protocol Version 6 (TCP/IPv6)

4- Clear DNS Cache
Command: ipconfig /flushdns

December 05, 2011

4.00 GB (2.99 GB usable)


Problem
- I am using Windows 7 with 4GB of RAM but system properties says 4GB RAM(2.99GB Usable) ...
- Installed 4GB RAM but the windows 7 says Usable 2.99GB RAM
- Windows 7 shows 4.096 GB(2.96 GB Usable) memory
- Why the Windows 7 memory (RAM) 4 GB (3.25 GB usable) ...


Clean Solution
You need to install Windows 7 - 64 bit

Technical Answer
A 32bit desktop windows 7 can just address 4GB of memory addresses.
This memory is include RAM + other hardware memory like Graphic Card,
Then if you have
4GB RAM + 1GB Graphic Card Memory = ~3.0 GB RAM available
4GB RAM + 512MB Graphic Card Memory = ~3.5 GB RAM available
and etc...

Physical Memory Limits: Windows 7
The following table specifies the limits on physical memory for Windows 7 [link]
VersionLimit on X86Limit on X64
Windows 7 Ultimate
4 GB
192 GB
Windows 7 Enterprise
4 GB
192 GB
Windows 7 Professional
4 GB
192 GB
Windows 7 Home Premium
4 GB
16 GB
Windows 7 Home Basic
4 GB
8 GB
Windows 7 Starter
2 GB


September 13, 2011

This system does not support fullscreen mode

Errors:
- Full screen mode for DOS programs in Windows 7
- No full screen mode for DOS programs?
- This system does not support fullscreen mode. Error in windows 7.
- I am supposed to run an old DOS program on my Windows 7 OS But ...
- There is no FullScreen DOS in Windows 7
- Full-screen problem in CMD.EXE and COMMAND.EXE




Solution 1:
You can use of DOSBOX which is an open source DOS emulator.

Solution 2:
You can disable your Display Adapter from Device Manager.

Solution 3:
You can disable your Display Adapter with DEVCON command-line utility in batch file or likes.
DEVCON help: link
DEVCON download: link
DEVCON sample: link

August 25, 2011

Windows Explorer has stopped working


Problems:
- Windows Explorer has stopped working in windows 7
- Windows Explorer has stopped working in windows 7 starter
- Windows Explorer has stopped working in windows 7 64 bit
- Windows Explorer has stopped working fix
- When I try to open my personal folders and other WINDOWS related folders ...
- When copying files in Explorer, I started getting a "Windows Explorer has ...

Solution:
This ERROR comes from a specific problem. Your problem could be from your computer hardware, software or etc... BTW, simplest and original solution is
- Press CTRL+SHIFT+ESC keys for open Windows Task Manager
- Go to File > New Task (Run...) and Type "C:\" and press OK and then wait a little for open a windows explorer
- Go to Control Panel (from little arrow in left of title bar and select Control Panel or like)
- Go to Administrative Tools > View event logs (or Event Viewer)
- Go to Administrative Events and find the last and top error.
- Read the last error message. Your problem is there. If your problem is not solved you can copy & paste the last message in Google and find a solution.

Example:
- I had a problem with divxmfsource.dll and i fix it after install K-Lite Codec
- I had a problem with SnagIt Printer and i remove it and problem goes to hell ;-))

August 14, 2011

CSR Bluetooth Problem

Error:
- How to fix BlueSoleil USB Bluetooth® Dongle on Windows 7 ...
- I have a bluetooth device and it's not activated ...
- I can't turn on my CSR Bluetooth Device
- I am using Window 7 with CSR Bluetooth Device Dongle, guide me on how to connect

Solution:
- Check the USER and you must be a administrator. (this command helps you on this >whoami)
- Disable Anti-Virus software
- Disable Anti-Spyware software
- Disable Firewall software
- Uninstall Any Soleil software
- Uninstall Sony Bluespace software
- Uninstall XTNDConnect Blue Manager software
- Uninstall Microsoft Patch Q323183 (on WINDOWS XP)
- Uninstall Any drivers that were supplied with your existing Bluetooth device.
- Uninstall Microsoft IntelliType and IntelliPoint software for Bluetooth Mouse and Keyboards
- Plug-Out the bluetooth device now.
- Check the Control Panel\System and Security\Administrative Tools\Services\Bluetooth Support Service and start it
- Check the nxj.cache file and delete it (this command helps you on this >dir /a/s nxj.cache)
- Restart Windows
- Install Latest WIDCOMM Bluetooth Drivers or (http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/7zbv19ww.exe)
- Goto Safe Mode
- Install Widcomm_patcher_v2 for overwrite on these files (wbtapi.dll, BTNeighborhood.dll, BTStackServer.exe, BTTray.exe)
- Restart Windows
- Plug the bluetooth device now and enjoy

Instructions for using the patch:
1) Uninstall ALL your previous Widcomm Bluetooth drivers
2) Switch off your PC
3) Remove your Bluetooth dongle from PC
4) Start your PC
5) Install the new drivers
6) Restart your PC in safe mode
7) Run the patch
8) Restart your PC
9) Plug in your Bluetooth dongle
10) Now everything should work properly

May 26, 2011

History of Adobe Media Player

Problem:
- How do i delete all my personal videos in Adobe Media player?
- Where is file history in Adobe Media Player?
- How to clear history of Adobe Flash Player?

Solution:
It's so simple. Go to below folder and delete or rename it ... ;-)
C:\Users\{YOUR USER}\AppData\Roaming\Adobe\Adobe Media Player
like
C:\Users\Administrator\AppData\Roaming\Adobe\Adobe Media Player

April 25, 2011

Hang and Freeze on Open/Save dialog in Windows 7

Problem:
- When i clicked the button which will execute the Open Dialog or Save Dialog then hangs ...
- Whenever I request a "File|Open" or "File|Save" from any application, the Open or Save dialog box that opens freezes and hangs the ...
- IE8 will also hang on open and ...
- Whenever I try to use "Save as" dialog box and select an option, the window simply stops responding and ...
- "Save As" or "Open" dialog box hangs on windows 7
- "File Open" or "Save As" windows dialog boxes take too long to open

Solution:
At this moment I do NOT think that comes from Antivirus or software development companies bug. It's a Aero Problem i think so, but how cares ..., Please follow of following instruction for pass this problem till the Microsoft wake-up for this ;-)

0) Delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32
- Open REGEDIT (WinKey + R and type regedit and then press enter)
- Go to Path and delete folder ComDlg32

1) You can change the compatibility of each application that you need to solve.
- Right-Click on Application Icon (or EXE file which related to that)
- Select Properties
- Select Compatibility Tab and Change the Compatibility Mode to Widows XP or another one

2) or Disable Aero Theme
- Open Appearance Setting and select a classic or standard theme.

3) or Scan
- Go to RUN (WinKey + R) and type run the sfc /scannow

April 24, 2011

ActionScript3.0 problem with TLF text

Error:
- All method which are related to string not at working after first object convert from Classic Text to TLF Text
- dispatchEvent not working with TLF text
- all movies not load after convert Text to TLF

Solution:
The solution is really simple and worked
- Sleect FLA file from Project (or load it)
- Select File > Publish Settings... from top menu of press Ctrl + Shift + F12
- Select Flash Tab


- Press on Settings... botton in front of Script section
- Select Library path Tab from new opened dialoge
- Find Default Linkage combo box
- Change the value to Merge into code


- Press OK
- Press Publish and OK
- Enjoy :D

April 08, 2011

Authorization: Cannot verify access to path

Error:
Authorization Cannot verify access to path

Error Description:
The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that \$ has Read access to the physical path. Then test these settings again.

Solution:
1- Open IIS 7.0
2- Select Default Web Site and Right-Click on it
3- Select Add Application... or Add Virtual Directory...
4- Select Contact as..
5- Change Path credentials: from Application user (pass-through authentication) to Specific user:
6- Add a Admin User with password like COMPUETRNAME\Administrator User

March 16, 2011

Add OCX to C#

Questions
- Adding an OCX to a .Net Project
- How to add a OCX in C# Project?
- How to add a OCX in Windows Form Application?
- Adding a VB6 OCX in C# projects

Solution
1- Create a new Windows Form Application
2- goto Menu > Tools > Choose Toolbox Items
3- goto to COM Components tab and find Browse button
4- Add the OCX (you could install the OCX with regsvr32 command)
5- Drag it from toolbox and drop on form and enjoy

March 11, 2011

Status: 0xc0000001

Error:
Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
1. Insert your Windows installation disc and restart your computer.
2. Choose your language settings, and then click "next."
3. Click "Repair your computer."
If you do not have this disk, contact your system administrator or computer manufacture for assistance.
File: \Windows\system32\config\system
Status: 0xc0000001
Info: Windows failed to load because the system registry file is missing, or corrupt.


Solution:
If you got this error in installation processes of Windows Vista or Windows 7 then you must check your memory. I changed the RAM modules and the problems went :-D

March 01, 2011

Performance Options after every startup

Errors
- My Performance Options box opens up after every startup system.
- I have tried numerous ways to set the page file size and after reboot everything went.
- I can't set to System managed size because it back to No paging file

Solution
This is a simple, just run this line in RUN or in START MENU search box, just do it and enjoy.
sc config afs start= disabled

Reference
[1] Link

February 08, 2011

C# Index Search

Csharp Index Search
C# index searching instead of SQL SELECT

Summery
Sometimes, i heard something about slowest searching on some databases.
For example last night, i heard about a famous company have an oracle database with one billion records in one table and their software have a HUGE LATENCY for a simple compare search (WHERE Cluse) and they wait more than 15 minutes for results.
Everybody's know that's ridiculous for a DBMS like Microsoft SQL or Oracle about 15 minutes on a simple query on tiny database and it's absolutely comes from bad configuration and they need to have a DBA (Database Administrator) instead of another DBMS or Software ...

Solution
Anyway, i developed a simple and simple indexing for demonstrate power of indexing in search processes. I was shocked after coming results

Test Machine:
CPU: Intel Core i5 750 @ 2.67GHz 2.73Ghz
RAM: 4.00GB (3GB useable)
OS: Windows 7 32-bit
Database: Microsoft SQL Server Compact 3.5
Application: developed from 11PM till 6AM just for fun :-)

Search Times:
on 100,000 records = 0.24s (SQL) vs <0.01s (Index)
on 200,000 records = 0.49s (SQL) vs <0.01s (Index)
on 500,000 records = 1.92s (SQL) vs <0.01s (Index)
on 1,000,000 records = 2.46s (SQL) vs 0.02s (Index)
on 1,500,000 records = 5.91s (SQL) vs 0.04s (Index)


Conclusion
From results was shown, search on index files, with the simplest algorithm, are more than 100 times faster than simple SQL QUERY, in normal situation, with any normalization and indexing, on Microsoft SQL CE database.

Appendix I: Screen Shots



Appendix II: Source Codes
You can see the process of make a hundered index file base on two charater of start 10 digits phone numbers. for example if the phone number is 3473380789 then it's store in array[34] and then store in index34.inx file as one of index files.
/// loop all data
ArrayList[] Array = new ArrayList[100];
SqlCeConnection cn = new SqlCeConnection(_ConnectionString);
if (cn.State == ConnectionState.Closed) cn.Open();
string query = "SELECT Phone FROM People";
SqlCeCommand command = new SqlCeCommand(query, cn);
command.CommandType = CommandType.Text;
SqlCeResultSet record = command.ExecuteResultSet(ResultSetOptions.Scrollable);
int RowCount = 0;
if (record.HasRows)
{
    record.ReadFirst();
    do{
        string Data = record.GetString(0);
        int Index = Convert.ToInt32(Data.Substring(0, 2));
        if (Array[Index] == null) Array[Index] = new ArrayList();
        Array[Index].Add(Data);
        RowCount++;
    } while (record.Read());
}

/// Create all index files from arrays
XmlSerializer Serializer = new XmlSerializer(typeof(ArrayList));
for (int i = 0; i <= 9; i++)
{
    for (int j = 0; j <= 9; j++)
    {
        int Index = i * 10 + j;
        Serializer.Serialize(new StreamWriter(_IndexFileName + Index + ".inx"), Array[Index]);
    }
}
and the find result is so simple than making index files
/// Read all index files
XmlSerializer Serializer = new XmlSerializer(typeof(ArrayList));
int Index = Convert.ToInt32(SearchItem.Substring(0, 2));
ArrayList array = Serializer.Deserialize(new StreamReader(_IndexFileName + Index + ".inx")) as ArrayList;
String Message = "NOT FOUND !!!";
if (array.BinarySearch(SearchItem) == 0) Message = "*** FOUND ON INDEX ***";
I think that it's clear about SQL WHERE CLUSE search but i put coeds here for compare
/// Read all index files
SqlCeConnection cn = new SqlCeConnection(_ConnectionString);
if (cn.State == ConnectionState.Closed) cn.Open();
string query = String.Format("SELECT * FROM People WHERE Phone = '{0}'", editPhone.Text);
SqlCeCommand command = new SqlCeCommand(query, cn);
command.CommandType = CommandType.Text;
SqlCeResultSet record = command.ExecuteResultSet(ResultSetOptions.Scrollable);
if (record.HasRows) Message = "*** FIND ***";
else Message = "No record found!";


Appendix III: Downloads
SourceCode: Here
Binary: Here

January 24, 2011

All fax accounts are inaccessible

- All fax accounts are inaccessible
- Windows Fax and Scan: The message could not be sent. The RPC server is unavailable.
- When I try to send a new fax, it immediately pops up a message that says: "New Fax: Unable to retrieve cover pages associated with the selected account."


Solution:
You can solve it, fast and easy with this solution just flow these steps.
1- Open Windows Fax and Scan
2- Goto Tools > Fax Accounts...
3- Select and Remove the error signed account(s)

4- Press on Add... button
5- Choose a right options from Fax Setup wizard.

6- Fine and for more details, please let me and other readers ;-)

December 26, 2010

The operation failed to complete because the Disk Management console view is not up-to-date.

Error:
The operation failed to complete because the Disk Management console view is not up-to-date. Refresh the view by using the refresh task. If the problem persists close the Disk Management console, then restart Disk Management or restart the computer.

Story:
After install Norton Partition Magic 8 on my Windows 7, my last partition flies to die. I could not see that or change drive letter in Disk Management.

Solution:
- Install Acronis Disk Director Suite.
- Find Your partition and Right Click on it and Select Advanced > Convert to same last time (for example i select NTFS-Logical) and after commit the changes you can set a drive letter for your partition and make a celebrity for this :-D [specially thanks to Ahmad Ibrahim]