Moodle can be run using a Windows PC and shared over a local network (without internet access).

A) Uniform Server Portable Example
Below, is a downloadable example (compressed as a zip file) which should be portable.
1-To reduce stress and confusion, unzip in the top level of a flash/hard drive
2-You can create a clean small (1GB) partition for testing using MiniToolPartition Wizard (or empty flash drive)
3-Sometimes Moodle \www\config.php hard codes the drive letter (which requires change to your installed drive)
4-Start UniServer manually by clicking on UniController.exe (click Start MySQL and Apache)
5-Start UniServer with auto-batch file by clicking Start.bat
6-User/Password = admin/admin , student/student

B) More simple approach (but not mobile) directly from

These official download packages contain Moodle plus all the other software needed to make it run on Windows: Apache, MySQL and PHP. They are built using XAMPP. See the documentation Complete install packages for Windows for details.